]> Lady’s Gitweb - Blog/commitdiff
Add Elstob fonts to stylesheet
authorLady <redacted>
Wed, 22 Nov 2023 04:16:23 +0000 (23:16 -0500)
committerLady <redacted>
Wed, 22 Nov 2023 04:16:23 +0000 (23:16 -0500)
These aren’t included in the repo, but are available on the webserver.
Webfonts are necessary because some modern browsers don’t allow
user‐installed fonts (to prevent fingerprinting).

style.css

index 99469626feefd981d99f8614f3b022b715ab2993..78ccf1e7a456843db5eb7b10ed4fa661a1e2ff4c 100644 (file)
--- a/style.css
+++ b/style.css
@@ -1,5 +1,7 @@
+@font-face{ Font-Family: "Elstob"; Src: Url("/fonts/Elstob.woff2"); Font-Style: Normal; Font-Weight: 200 800 }
+@font-face{ Font-Family: "Elstob"; Src: Url("/fonts/Elstob-Italic.woff2"); Font-Style: Italic; Font-Weight: 200 800; Font-Variation-Settings: "slnt" 2 }
 @counter-style Dotnum{ Symbols: "⒈" "⒉" "⒊" "⒋" "⒌" "⒍" "⒎" "⒏" "⒐" "⒑" "⒒" "⒓" "⒔" "⒕" "⒖" "⒗" "⒘" "⒙" "⒚" "⒛"; Suffix: " "; Fallback: Decimal; Range: 1 20 }
-html{ Color: #E3E3E3; Background: #1A1A1A; Font-Family: 'Charis SIL', Charter, 'Bitstream Charter', 'Palatino Linotype', 'URW Palladio L', P052, Georgia, 'STIX Two Math', Serif; Line-Height: 1.5 }
+html{ Color: #E3E3E3; Background: #1A1A1A; Font-Family: Elstob, 'Charis SIL', Charter, 'Bitstream Charter', 'Palatino Linotype', 'URW Palladio L', P052, Georgia, 'STIX Two Math', Serif; Line-Height: 1.5; Font-Variant-Numeric: Oldstyle-Nums Proportional-Nums; Font-Variant-Emoji: Text }
 body{ Display: Flow-Root; Box-Sizing: Border-Box; Margin: 0; Border: 1PX #000000 Solid; Min-Block-Size: 100SVB; Color: #E3E3E3; Background: No-Repeat Radial-Gradient(Ellipse 64REM 96REM At Center, Transparent 32REM, #1A1A1A) Center / Cover, Repeating-Linear-Gradient(-45DEG, #3E3E3E00 0, #3E3E3E00 2PX, #3E3E3E7F 2.12PX, #3E3E3E7F 4.12PX, #3E3E3E00 4.24PX), #1A1A1A }
 body>header{ Padding-Block: 16PX; Border-Block-End: 3PX #2CB38D Double }
 body>header img{ Display: Block; Margin: Auto; Block-Size: Auto; Max-Inline-Size: 100%; Image-Rendering: Pixelated }
This page took 0.021643 seconds and 4 git commands to generate.