diff --git a/www/css/core.css b/www/css/core.css index 113a0123..6be62c46 100644 --- a/www/css/core.css +++ b/www/css/core.css @@ -51,22 +51,6 @@ font-display: swap; } -@font-face{ - font-family: "Fira Mono"; - src: local("Fira Mono"), url("/fonts/fira-mono.woff2") format("woff2"); - font-weight: normal; - font-style: normal; - font-display: swap; -} - -@font-face{ - font-family: "Fira Mono"; - src: local("Fira Mono"), url("/fonts/fira-mono-bold.woff2") format("woff2"); - font-weight: bold; - font-style: normal; - font-display: swap; -} - :root{ --light-body-bg: #e9e7e0; --light-body-text: #222; @@ -724,18 +708,6 @@ form button:hover{ background: #bbb url("/images/stripes-dark.svg"); } -code{ - font-family: "Fira Mono", monospace; - font-size: .8rem; - border: 1px solid rgba(255,255,255,.25); - background: #333; - border-radius: .25rem; - white-space: nowrap; - padding: 0 .25rem; - color: #fff; - margin: 0 .2rem; -} - main.front-page > a.button{ align-self: center; margin-top: 4rem; diff --git a/www/css/manual.css b/www/css/manual.css index 490af3c5..7ea92144 100644 --- a/www/css/manual.css +++ b/www/css/manual.css @@ -28,6 +28,22 @@ font-style: italic; } +@font-face{ + font-family: "Fira Mono"; + src: local("Fira Mono"), url("/fonts/fira-mono.woff2") format("woff2"); + font-weight: normal; + font-style: normal; + font-display: swap; +} + +@font-face{ + font-family: "Fira Mono"; + src: local("Fira Mono"), url("/fonts/fira-mono-bold.woff2") format("woff2"); + font-weight: bold; + font-style: normal; + font-display: swap; +} + .manual h1, .manual h2, .manual h3, @@ -54,6 +70,16 @@ main code:first-child{ code{ hyphens: none; font-variant-numeric: normal; + font-family: "Fira Mono", monospace; + font-size: .8rem; + border: 1px solid rgba(255,255,255,.25); + background: #333; + border-radius: .25rem; + white-space: nowrap; + padding: 0 .25rem; + color: #fff; + margin: 0 .2rem; + font-style: normal; /* override italics in parent */ } blockquote, diff --git a/www/help/how-to-use-our-ebooks.php b/www/help/how-to-use-our-ebooks.php index af03a073..dc20cb58 100644 --- a/www/help/how-to-use-our-ebooks.php +++ b/www/help/how-to-use-our-ebooks.php @@ -1,6 +1,6 @@ 'How to Use Our Ebooks', 'highlight' => 'contribute', 'description' => 'Help, tips, and tricks for using the ebook files you download from Standard Ebooks.']) ?> +?> 'How to Use Our Ebooks', 'highlight' => 'contribute', 'manual' => true, 'description' => 'Help, tips, and tricks for using the ebook files you download from Standard Ebooks.']) ?>

How to Use Our Ebooks