]> Lady’s Gitweb - GitWikiWeb/commitdiff
Improve timeline styling 0.4.1
authorLady <redacted>
Sun, 24 Sep 2023 22:19:58 +0000 (18:19 -0400)
committerLady <redacted>
Sun, 24 Sep 2023 22:19:58 +0000 (18:19 -0400)
style.css

index d53f8892dff4fd758f35cf5c1d93e21fb5f283f0..47eabe8c00f0702029711687497353f0051c4c3b 100644 (file)
--- a/style.css
+++ b/style.css
@@ -30,6 +30,15 @@ ol,ul{ Margin-Block: .75EM; Padding-Inline: 2EM 0 }
 .thread>:is(ol,ul)>li:First-Child{ Margin-Block-Start: -.5EM; Border-Block-Start: None }
 .thread li::before{ Position: Absolute; Inset-Block-Start: .5EM; Inset-Inline-Start: 0; Content: "💭" }
 .thread li li li li li :is(ol,ul){ Padding-Inline: 0; List-Style-Position: Inside }
 .thread>:is(ol,ul)>li:First-Child{ Margin-Block-Start: -.5EM; Border-Block-Start: None }
 .thread li::before{ Position: Absolute; Inset-Block-Start: .5EM; Inset-Inline-Start: 0; Content: "💭" }
 .thread li li li li li :is(ol,ul){ Padding-Inline: 0; List-Style-Position: Inside }
+.timeline>details>summary{ Box-Sizing: Border-Box; Margin-Block: 0 .75EM; Margin-Inline: 1PX; Border-Bottom: Thin Solid; Padding-Inline: 1CH; Min-Inline-Size: Calc(8EM / 1.5); Inline-Size: Max-Content; Max-Inline-Size: Calc(100% - 2PX); Font-Size: 1.5EM; Font-Weight: 550 }
+.timeline>details>dl{ Margin-Block: 0 }
+.timeline>details>dl>div { Position: Relative; Margin-Block: .75EM; Border: Thin Solid; Border-Radius: .5EM; Padding-Inline-Start: 8EM }
+.timeline>details>dl>div>dt { Position: Absolute; Box-Sizing: Border-Box; Inset-Block: 0; Inset-Inline: 0 Auto; Margin: Auto; Padding-Inline: 1CH; Block-Size: 1EM; Inline-Size: 8EM; Text-Align: End; Line-Height: 1 }
+.timeline>details>dl>div>dd { Display: Flow-Root; Margin: 0; Border-Inline-Start: Thin Solid; Padding-Block: .5EM }
+.timeline>details>dl>div>dd>ul { Margin: 0; Padding: 0 }
+.timeline>details>dl>div>dd>ul>li { Display: Block; Padding-Inline: 2CH }
+.timeline>details>dl>div>dd>ul>li+li { Margin-Block-Start: .5EM; Border-Block-Start: Thin Dashed }
+.timeline>details>dl>div>dd>ul>li>small:First-Child { Opacity: .6 }
 dl{ Margin-Block: 1EM }
 dt{ Margin-Block: 1EM .5EM; Font-Weight: 650 }
 hr{ Margin-Block: .5EM; Border-Block-Start: Thin Dashed; Border-Block-End: None; Border-Inline: None }
 dl{ Margin-Block: 1EM }
 dt{ Margin-Block: 1EM .5EM; Font-Weight: 650 }
 hr{ Margin-Block: .5EM; Border-Block-Start: Thin Dashed; Border-Block-End: None; Border-Inline: None }
This page took 0.024536 seconds and 4 git commands to generate.