diff options
Diffstat (limited to 'themes/ymherklotz/static/css/default.css')
-rw-r--r-- | themes/ymherklotz/static/css/default.css | 96 |
1 files changed, 34 insertions, 62 deletions
diff --git a/themes/ymherklotz/static/css/default.css b/themes/ymherklotz/static/css/default.css index 0aa1b1f..86f8d62 100644 --- a/themes/ymherklotz/static/css/default.css +++ b/themes/ymherklotz/static/css/default.css @@ -1,49 +1,37 @@ @font-face { - font-family: 'Iosevka Web'; - font-weight: 400; - font-style: normal; - font-display: swap; - src: url('/fonts/woff2/iosevka-regular.woff2') format('woff2'), url('/fonts/woff/iosevka-regular.woff') format('woff'); -} - -@font-face { - font-family: 'Iosevka Web'; - font-weight: 400; - font-style: italic; - font-display: swap; - src: url('/fonts/woff2/iosevka-italic.woff2') format('woff2'), url('/fonts/woff/iosevka-italic.woff') format('woff'); + font-family: 'Iosevka YMHG Web'; + font-display: swap; + font-weight: 500; + font-stretch: normal; + font-style: normal; + src: url('/fonts/ttf/iosevka-ymhg-medium.ttf') format('truetype'), url('/fonts/woff2/iosevka-ymhg-medium.woff2') format('woff2'); } @font-face { - font-family: 'Iosevka Web'; - font-weight: 400; - font-style: oblique; - font-display: swap; - src: url('/fonts/woff2/iosevka-oblique.woff2') format('woff2'), url('/fonts/woff/iosevka-oblique.woff') format('woff'); + font-family: 'Iosevka YMHG Web'; + font-display: swap; + font-weight: 500; + font-stretch: normal; + font-style: italic; + src: url('/fonts/ttf/iosevka-ymhg-mediumitalic.ttf') format('truetype'), url('/fonts/woff2/iosevka-ymhg-mediumitalic.woff2') format('woff2'); } @font-face { - font-family: 'Iosevka Web'; - font-weight: 700; - font-style: normal; - font-display: swap; - src: url('/fonts/woff2/iosevka-bold.woff2') format('woff2'), url('/fonts/woff/iosevka-bold.woff') format('woff'); + font-family: 'Iosevka YMHG Web'; + font-display: swap; + font-weight: 700; + font-stretch: normal; + font-style: normal; + src: url('/fonts/ttf/iosevka-ymhg-bold.ttf') format('truetype'), url('/fonts/woff2/iosevka-ymhg-bold.woff2') format('woff2'); } @font-face { - font-family: 'Iosevka Web'; - font-weight: 700; - font-style: italic; - font-display: swap; - src: url('/fonts/woff2/iosevka-bolditalic.woff2') format('woff2'), url('/fonts/woff/iosevka-bolditalic.woff') format('woff'); -} - -@font-face { - font-family: 'Iosevka Web'; - font-weight: 700; - font-style: oblique; - font-display: swap; - src: url('/fonts/woff2/iosevka-boldoblique.woff2') format('woff2'), url('/fonts/woff/iosevka-boldoblique.woff') format('woff'); + font-family: 'Iosevka YMHG Web'; + font-display: swap; + font-weight: 700; + font-stretch: normal; + font-style: italic; + src: url('/fonts/ttf/iosevka-ymhg-bolditalic.ttf') format('truetype'), url('/fonts/woff2/iosevka-ymhg-bolditalic.woff2') format('woff2'); } @font-face { @@ -51,7 +39,7 @@ font-weight: 400; font-style: normal; font-display: swap; - src: url('/fonts/woff/EBGaramond12-Regular.woff') format('woff'); + src: url('/fonts/ttf/EBGaramond12-Regular.ttf') format('truetype'), url('/fonts/woff/EBGaramond12-Regular.woff') format('woff'); } @font-face { @@ -59,23 +47,7 @@ font-weight: 400; font-style: italic; font-display: swap; - src: url('/fonts/woff/EBGaramond12-Italic.woff') format('woff'); -} - -@font-face { - font-family: 'EBGaramond-Init'; - font-weight: 400; - font-style: normal; - font-display: swap; - src: url('/fonts/woff/EBGaramond-Initials.woff') format('woff'); -} - -@font-face { - font-family: 'EBGaramond-SC'; - font-weight: 400; - font-style: normal; - font-display: swap; - src: url('/fonts/woff/EBGaramond12-AllSC.woff') format('woff'); + src: url('/fonts/ttf/EBGaramond12-Italic.ttf') format('truetype'), url('/fonts/woff/EBGaramond12-Italic.woff') format('woff'); } body { @@ -194,7 +166,7 @@ footer { } dt, .news-date { - font-family: 'Iosevka Web', sans-serif; + font-family: 'Iosevka YMHG Web', monospace; font-size: 1rem; font-weight: bold; } @@ -206,7 +178,7 @@ a { text-decoration: none; } .generated-by a { font-size: 0.8rem; } h1, h2, h3, h4, h5, h6 { - font-family: 'Iosevka Web', sans-serif; + font-family: 'Iosevka YMHG Web', monospace; margin: 0px; } @@ -229,7 +201,7 @@ h3 { } code { - font-family: 'Iosevka Web', monospace; + font-family: 'Iosevka YMHG Web', monospace; font-size: 16px; } @@ -271,7 +243,7 @@ dl { } #navbar a, .logo a { - font-family: 'Iosevka Web', monospace; + font-family: 'Iosevka YMHG Web', monospace; font-size: 1.3rem; font-weight: 800; text-decoration: none; @@ -282,7 +254,7 @@ dl { } .generated-by p { - font-family: "Iosevka Web", monospace; + font-family: "Iosevka YMHG Web", monospace; font-size: 0.8rem; line-height: 0.8em; text-align: right; @@ -386,7 +358,7 @@ dl { #TableOfContents { line-height: 1.3; margin-left: 1em; - font-family: 'Iosevka Web', monospace; + font-family: 'Iosevka YMHG Web', monospace; font-size: 0.7em } @@ -413,7 +385,7 @@ dl { #TableOfContentsTitle { margin-left: 1em; - font-family: 'Iosevka Web', sans-serif; + font-family: 'Iosevka YMHG Web', sans-serif; } .tagcloud { @@ -455,7 +427,7 @@ dl { .post-title > a { font-weight: bold; - font-family: 'Iosevka Web', monospace; + font-family: 'Iosevka YMHG Web', monospace; font-size: 1.3rem; text-decoration: none; } |