Merge pull request #1056 from phil-opp/iosevka

Use Iosevka font for code blocks and inline code
This commit is contained in:
Philipp Oppermann
2021-10-16 15:54:47 +02:00
committed by GitHub
4 changed files with 11 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
h1 code, h2 code, h3 code, h4 code, h5 code, h6 code {
padding: 0;
color: #a0565c;
font-size: 95%;
font-size: 90%;
background-color: inherit;
}

View File

@@ -28,6 +28,13 @@
* Themes
*/
@font-face {
font-family: "Iosevka";
src: url("/fonts/iosevka-regular.woff2") format("woff2"), url("/fonts/iosevka-regular.woff") format("woff");
font-weight: normal;
font-style: normal;
font-display: swap;
}
/*
* Body resets
@@ -137,7 +144,7 @@ hr {
}
abbr {
font-size: 85%;
font-size: 90%;
font-weight: bold;
color: #555;
text-transform: uppercase;
@@ -150,7 +157,7 @@ abbr[title] {
/* Code */
code,
pre {
font-family: Menlo, Monaco, Consolas, monospace;
font-family: "Iosevka", monospace;
}
code {
padding: .25em .5em;
@@ -164,7 +171,7 @@ pre {
margin-top: 0;
margin-bottom: 1rem;
padding: .5rem;
font-size: .85rem;
font-size: .95rem;
line-height: 1.4;
white-space: pre;
overflow: auto;

Binary file not shown.

Binary file not shown.