From c6c9eeb4bc77770fc5a98b1e21d406e589f3ce72 Mon Sep 17 00:00:00 2001 From: m Date: Sat, 14 Mar 2026 20:25:07 +0100 Subject: [PATCH] no idea now --- static/css/components/timeline.css | 59 +++++++++++++++++------------- templates/components/timeline.html | 2 +- 2 files changed, 35 insertions(+), 26 deletions(-) diff --git a/static/css/components/timeline.css b/static/css/components/timeline.css index d72b3f5..32a1404 100644 --- a/static/css/components/timeline.css +++ b/static/css/components/timeline.css @@ -55,32 +55,41 @@ ol.tw-border-l-2 { color: #6b7280; } -/* 4. The Sizing & Expansion Fix */ -li.tw-relative { - width: 100% !important; /* Forces the item to take up available space */ - display: block !important; - box-sizing: border-box; +/* 1. Scale up the Typography */ +#Tailscaleipdoesntwork h3, +.tw-text-lg { + font-size: 1.5rem !important; /* Larger Heading */ + line-height: 1.2 !important; } -/* Ensure the text content doesn't wrap too early */ -#Tailscaleipdoesntwork p { - width: 100%; - max-width: 100%; - line-height: 1.6 !important; /* Makes the 'small' text feel more readable */ -} - -/* Increase the 'hitbox' of the button if it feels too small to click */ -.timeline-button { - transform: scale( - 1.2 - ); /* Physically makes the dot 20% larger without breaking alignment */ - box-shadow: 0 0 0 4px white; /* Cleaner 'gap' than a border */ -} - -/* 5. Handle Bootstrap's 'Small' Text */ -.tw-text-sm { - font-size: 0.875rem !important; -} +#Tailscaleipdoesntwork p, .tw-text-base { - font-size: 1rem !important; + font-size: 1.15rem !important; /* Larger Body Text */ + line-height: 1.6 !important; + color: #374151 !important; /* Slightly darker for better readability */ +} + +time, +.tw-text-sm { + font-size: 1rem !important; /* Larger Date */ + margin-bottom: 0.5rem !important; +} + +/* 2. Scale the Dot and Line */ +.timeline-button { + width: 1rem !important; /* Bigger dot */ + height: 1rem !important; + left: -2.05rem !important; /* Re-center the bigger dot on the line */ + top: 0.4rem; +} + +ol.tw-border-l-2 { + border-left-width: 3px !important; /* Thicker vertical line */ + margin-left: 2rem !important; /* Push away from the edge */ +} + +/* 3. Ensure it expands to the full container width */ +li.tw-mb-10 { + margin-bottom: 3rem !important; /* More breathing room between items */ + width: 100% !important; } diff --git a/templates/components/timeline.html b/templates/components/timeline.html index b3d8860..e0fdac9 100644 --- a/templates/components/timeline.html +++ b/templates/components/timeline.html @@ -1,4 +1,4 @@ -
+