mirror of
https://github.com/standardebooks/web.git
synced 2025-07-21 23:04:57 -04:00
Remove less-frequently used monospace font from core.css
This commit is contained in:
parent
24b8c6ca54
commit
c9c621b9c8
3 changed files with 27 additions and 29 deletions
|
@ -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;
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?
|
||||
require_once('Core.php');
|
||||
?><?= Template::Header(['title' => 'How to Use Our Ebooks', 'highlight' => 'contribute', 'description' => 'Help, tips, and tricks for using the ebook files you download from Standard Ebooks.']) ?>
|
||||
?><?= Template::Header(['title' => 'How to Use Our Ebooks', 'highlight' => 'contribute', 'manual' => true, 'description' => 'Help, tips, and tricks for using the ebook files you download from Standard Ebooks.']) ?>
|
||||
<main>
|
||||
<article>
|
||||
<h1>How to Use Our Ebooks</h1>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue