Skip to content

Commit

Permalink
fix: r0-theme used correctly
Browse files Browse the repository at this point in the history
Signed-off-by Nuke <nuke-web3@proton.me>
  • Loading branch information
nuke-web3 committed Jun 11, 2024
1 parent 4976fee commit c5c1619
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion content/risc-zero/zypher-buildathon/slides.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ revealOptions:
progress: true
---

<link rel="stylesheet" href="../../../tools/styles/r0-theme.css">
<link rel="stylesheet" href="/tools/styles/r0-theme.css">

<section data-background-opacity=0.3>

Expand Down
2 changes: 1 addition & 1 deletion reveal-md.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "Nuke 🌄 's Book",
"theme": "tools/styles/base-theme.css",
"css": [
"tools/styles/custom-classes.css"
"tools/styles/r0-theme.css"
],
"assetsDir": ".",
"separator": "\r?\n---\r?\n",
Expand Down
7 changes: 6 additions & 1 deletion tools/styles/r0-theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@
/*********************************************
* OVERRIDES FOR `base-theme.css`
* Use with line in `slides.md`:
* <link rel="stylesheet" href="../../../tools/styles/r0-theme.css">
* <link rel="stylesheet" href="/tools/styles/r0-theme.css">
* MUST be added to custom css for `/reveal-md.json`:
* "theme": "tools/styles/base-theme.css",
* "css": [
* "tools/styles/r0-theme.css"
* ],
*********************************************/

:root {
Expand Down

0 comments on commit c5c1619

Please sign in to comment.