From: Lady Date: Sun, 14 May 2023 21:08:25 +0000 (-0700) Subject: Typographical improvements X-Git-Url: https://git.ladys.computer/Blog/commitdiff_plain/b7d0d1cbbdbbb8a1a1d244a02ea6ea6e52448c01?ds=inline Typographical improvements --- diff --git a/style.css b/style.css index 94ad8a1..48dab4d 100644 --- a/style.css +++ b/style.css @@ -1,4 +1,5 @@ -html{ Color: #E3E3E3; Background: #1A1A1A; Font-Family: Serif; Line-Height: 1.5 } +@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 } 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 } @@ -36,6 +37,7 @@ blockquote{ Border-Block-Color: #8396A9 #373F47; Border-Inline-Color: #8396A9 #3 figure{ Margin-Block: .5EM; Margin-Inline: Auto; Max-Inline-Size: Max-Content } figure>:First-Child:Nth-Last-Child(2){ Margin-Block-Start: 0; Margin-Block-End: 0 } figcaption{ Margin-Block: .5EM 0; Margin-Inline: Auto; Border-Block-Start: Thin Solid; Padding-Block-Start: .25EM; Padding-Inline: 2CH; Inline-Size: Max-Content; Color: #97596B; Font-Size: Smaller; Font-Style: Italic; Text-Align: Center } +ol{ List-Style-Type: Decimal; List-Style-Type: Dotnum } pre{ Margin-Block: .5EM; Overflow-X: Auto; Font: Inherit } code{ Display: Inline-Block; Border: Thin Solid; Border-Radius: .25CH; Padding-Inline: .5CH; Color: /* to match the Shades of Purple theme */ #2D2B57; Background: /* to match the Shades of Purple theme */ #E3DFFF; Font-Size: .75REM; Font-Family: /* to match the Shades of Purple theme */ 'Operator Mono', 'Fira Code', 'Menlo', 'Monaco', 'Courier New', 'monospace'; Line-Height: /* to match the Shades of Purple theme */ 1.45 } pre>code,pre>code.hljs{ Display: Block; Border: /* to match the Shades of Purple theme */ #2D2B57 Outset; Padding-Block: 1EM; Padding-Inline: 2CH; Color: /* to match the Shades of Purple theme */ #E3DFFF; Background: /* to match the Shades of Purple theme */ #2D2B57; Font-Size: .75REM }