mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-11-01 08:45:55 +00:00
♿️ Fix AA contrast and move mobile language selector to header row
Darken burufugu primary-600 to pass 4.5:1 on white, bump the search shortcut hint to neutral-500, and surface the language switcher in the visible mobile header row instead of the menu dialog. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6f493fdbb9
commit
96f11ba0e7
8 files changed
+88
-39
No files matched your search
@@ -3629,18 +3629,6 @@
|
||||
.\[\&_\.p-4\]\:p-3 .p-4 {
|
||||
padding: calc(var(--spacing) * 3);
|
||||
}
|
||||
.\[\&_\.translation_\.menuhide_span\]\:text-sm\! .translation .menuhide span {
|
||||
font-size: var(--text-sm) !important;
|
||||
line-height: var(--tw-leading, var(--text-sm--line-height)) !important;
|
||||
}
|
||||
.\[\&_\.translation_button_\.icon\]\:text-4xl\! .translation button .icon {
|
||||
font-size: var(--text-4xl) !important;
|
||||
line-height: var(--tw-leading, var(--text-4xl--line-height)) !important;
|
||||
}
|
||||
.\[\&_\.translation_button_span\]\:text-base\! .translation button span {
|
||||
font-size: var(--text-base) !important;
|
||||
line-height: var(--tw-leading, var(--text-base--line-height)) !important;
|
||||
}
|
||||
.\[\&_h2\]\:text-base h2 {
|
||||
font-size: var(--text-base);
|
||||
line-height: var(--tw-leading, var(--text-base--line-height));
|
||||
@@ -4912,7 +4900,7 @@ body:has(#mobile-menu-toggle:checked) {
|
||||
visibility: hidden;
|
||||
transition: visibility 0.3s, opacity 0.3s ease-in-out;
|
||||
}
|
||||
.nested-menu:nth-last-child(-n + 3) .menuhide {
|
||||
.nested-menu:nth-last-child(-n + 3) .menuhide, .mobile-header-row .menuhide {
|
||||
inset-inline-end: 0;
|
||||
}
|
||||
.nested-menu:hover .menuhide, .nested-menu:focus-within .menuhide {
|
||||
|
||||
+2
-1
@@ -486,7 +486,8 @@ body:has(#mobile-menu-toggle:checked) {
|
||||
}
|
||||
|
||||
/* Dropdowns near the end of the bar open leftward so they stay on screen */
|
||||
.nested-menu:nth-last-child(-n + 3) .menuhide {
|
||||
.nested-menu:nth-last-child(-n + 3) .menuhide,
|
||||
.mobile-header-row .menuhide {
|
||||
inset-inline-end: 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
--color-primary-300: 138, 197, 250;
|
||||
--color-primary-400: 96, 172, 246;
|
||||
--color-primary-500: 74, 158, 240;
|
||||
--color-primary-600: 52, 126, 219;
|
||||
--color-primary-600: 47, 115, 205;
|
||||
--color-primary-700: 42, 98, 189;
|
||||
--color-primary-800: 38, 76, 152;
|
||||
--color-primary-900: 30, 58, 110;
|
||||
|
||||
Reference in new issue
Block a user