Skip to content

Commit d089e0d

Browse files
committed
css thingies
1 parent 0c5924b commit d089e0d

5 files changed

Lines changed: 51 additions & 19 deletions

File tree

assets/css/modern-dark-theme.css

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -289,11 +289,19 @@
289289
}
290290

291291
[data-theme="dark"] body.home-page .home-hero__dot::after {
292-
background-color: rgb(100 116 139) !important;
292+
background-color: rgb(100 116 139 / 0.55) !important;
293+
}
294+
295+
[data-theme="dark"] body.home-page .home-hero__dot:hover::after {
296+
background-color: rgb(148 163 184 / 0.75) !important;
293297
}
294298

295299
[data-theme="dark"] body.home-page .home-hero__dot--active::after {
296-
background-color: rgb(226 232 240) !important;
300+
background-color: rgb(248 250 252) !important;
301+
}
302+
303+
[data-theme="dark"] body.home-page .home-hero__dot--active:hover::after {
304+
background-color: rgb(248 250 252) !important;
297305
}
298306

299307
/* —— Marquee fades —— */
@@ -881,7 +889,7 @@
881889
}
882890

883891
[data-theme="dark"] body.home-page .site-footer__stat {
884-
color: rgb(148 163 184);
892+
color: rgb(203 213 225);
885893
}
886894

887895
[data-theme="dark"] body.home-page .site-footer__cta {
@@ -918,8 +926,9 @@
918926
}
919927

920928
@media (min-width: 768px) {
921-
[data-theme="dark"] body.home-page .site-footer__summary {
922-
color: rgb(100 116 139);
929+
[data-theme="dark"] body.home-page .site-footer__summary,
930+
[data-theme="dark"] body.home-page .site-footer__summary > span {
931+
color: rgb(148 163 184) !important;
923932
}
924933
}
925934

assets/css/modern-glass-theme.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,10 @@
323323
color: #0f172a !important;
324324
}
325325

326+
[data-theme="glass"] body .home-hero__dot--active::after {
327+
background-color: #0b162c !important;
328+
}
329+
326330
/* ── Search palette (above cookie banner at z-index 10000) ── */
327331
[data-theme="glass"] body .search-palette.is-visible,
328332
[data-theme="light"] body .search-palette.is-visible,
@@ -712,7 +716,7 @@
712716
[data-theme="glass"] body .site-footer__tagline,
713717
[data-theme="glass"] body .site-footer__copy,
714718
[data-theme="glass"] body .site-footer__stat {
715-
color: #475569 !important;
719+
color: #334155 !important;
716720
}
717721

718722
[data-theme="glass"] body .site-footer__links a,

assets/css/modern-light-theme.css

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@
205205
}
206206

207207
[data-theme="light"] body .home-hero__dot--active::after {
208-
background-color: #0f172a !important;
208+
background-color: #0b162c !important;
209209
}
210210

211211
/* ── FAQ: separate cards (not glass grouped panel) ── */
@@ -406,8 +406,9 @@
406406
color: #0f172a !important;
407407
}
408408

409-
[data-theme="light"] body .site-footer__tagline {
410-
color: #64748b !important;
409+
[data-theme="light"] body .site-footer__tagline,
410+
[data-theme="light"] body .site-footer__stat {
411+
color: #334155 !important;
411412
}
412413

413414
[data-theme="light"] body .site-footer__cta {

assets/css/tailwind-input.css

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,9 @@
9797
}
9898

9999
.home-hero__indicators {
100-
@apply absolute bottom-8 left-1/2 z-10 flex -translate-x-1/2 items-center gap-2;
100+
@apply absolute inset-x-0 bottom-0 z-10 flex items-end gap-1.5 px-6 pb-4 pt-10 pointer-events-none;
101+
max-width: 12rem;
102+
margin-inline: auto;
101103
}
102104

103105
.home-hero__nav-btn--side {
@@ -113,24 +115,25 @@
113115
}
114116

115117
.home-hero__dot {
116-
@apply relative inline-flex h-11 w-11 shrink-0 items-center justify-center rounded-full border-0 bg-transparent p-0 cursor-pointer transition-colors;
118+
@apply relative flex flex-1 min-h-[44px] items-end border-0 bg-transparent p-0 cursor-pointer pointer-events-auto;
119+
@apply focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand/30 focus-visible:ring-offset-2 focus-visible:ring-offset-transparent;
117120
}
118121

119122
.home-hero__dot::after {
120123
content: '';
121-
@apply block h-2 w-2 rounded-full bg-slate-400 transition-all duration-300;
124+
@apply block h-0.5 w-full rounded-full bg-slate-400/45 transition-all duration-300 ease-out;
122125
}
123126

124127
.home-hero__dot:hover::after {
125-
@apply bg-slate-500;
128+
@apply bg-slate-500/70;
126129
}
127130

128131
.home-hero__dot--active::after {
129-
@apply h-2 w-6 bg-slate-800;
132+
@apply h-1 bg-brand;
130133
}
131134

132135
.home-hero__dot--active:hover::after {
133-
@apply bg-slate-800;
136+
@apply bg-brand;
134137
}
135138

136139
.home-hero__nav-btn {
@@ -1257,7 +1260,7 @@
12571260
}
12581261

12591262
.site-footer__stat {
1260-
@apply text-xs text-slate-600;
1263+
@apply text-xs text-slate-700;
12611264
}
12621265

12631266
.site-footer__nav {
@@ -1302,7 +1305,7 @@
13021305
}
13031306

13041307
.site-footer__summary {
1305-
@apply pointer-events-none cursor-default py-0 mb-4 text-xs font-semibold uppercase tracking-wider text-slate-500;
1308+
@apply pointer-events-none cursor-default py-0 mb-4 text-xs font-semibold uppercase tracking-wider text-slate-700;
13061309
}
13071310

13081311
.site-footer__summary .site-footer__chevron {
@@ -1354,6 +1357,6 @@
13541357
}
13551358

13561359
.site-footer__legal a {
1357-
@apply px-1 py-1 text-slate-500 no-underline transition-colors hover:text-slate-800;
1360+
@apply px-1 py-1 text-slate-600 no-underline transition-colors hover:text-slate-900;
13581361
}
13591362
}

static/css/accessibility.css

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,21 @@ summary:focus:not(:focus-visible) {
131131
list-style: none;
132132
}
133133

134+
.site-footer__summary > span {
135+
color: inherit;
136+
}
137+
138+
/* Section labels (Product / Company / Help) — must win over Tailwind md utilities */
139+
@media (min-width: 768px) {
140+
.site-footer__summary > span {
141+
color: #334155;
142+
}
143+
144+
[data-theme="dark"] body .site-footer__summary > span {
145+
color: #94a3b8 !important;
146+
}
147+
}
148+
134149
.site-footer__summary::-webkit-details-marker {
135150
display: none;
136151
}
@@ -168,7 +183,7 @@ body.home-page .text-slate-500 {
168183

169184
/* WCAG 2.5.5: minimum 44×44px touch targets with spacing */
170185
.home-hero__indicators {
171-
gap: 0.25rem;
186+
gap: 0.375rem;
172187
}
173188

174189
.nav-shell .site-footer__back-top,

0 commit comments

Comments
 (0)