fix: polish dark mode contrast and toggle placement

This commit is contained in:
2026-05-01 15:24:21 -04:00
parent ac350238cd
commit 7555303036
3 changed files with 11 additions and 5 deletions
+7 -1
View File
@@ -100,11 +100,17 @@ if ($themeSection === 'head'):
#themeToggle {
position: fixed;
top: 1rem;
top: calc(1rem + env(safe-area-inset-top));
right: 1rem;
z-index: 50;
}
@media (max-width: 640px) {
#themeToggle {
top: calc(4.75rem + env(safe-area-inset-top));
}
}
#themeToggle:focus-visible {
outline: 3px solid #2563eb;
outline-offset: 2px;