fix: polish dark mode contrast and toggle placement
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user