mirror of
https://github.com/kogakure/website-11ty-kogakure.de.git
synced 2026-02-03 12:15:28 +00:00
36 lines
620 B
CSS
36 lines
620 B
CSS
/** Theme Toggle */
|
|
.no-js .theme-toggle {
|
|
display: none;
|
|
}
|
|
|
|
.theme-toggle {
|
|
align-items: center;
|
|
align-self: center;
|
|
background: transparent;
|
|
border: 0;
|
|
cursor: pointer;
|
|
display: flex;
|
|
font-size: 0;
|
|
grid-column: -2;
|
|
height: 40px;
|
|
justify-content: center;
|
|
justify-self: center;
|
|
outline: 0;
|
|
width: 40px;
|
|
}
|
|
|
|
.theme-toggle-icon {
|
|
fill: var(--color-fg);
|
|
font-size: 12px;
|
|
height: 12px;
|
|
transition-duration: var(--transition-duration-5);
|
|
transition-property: transform;
|
|
transition-timing-function: ease-in-out;
|
|
width: 12px;
|
|
|
|
.theme-toggle:hover &,
|
|
.theme-toggle:focus & {
|
|
transform: scale(1.25);
|
|
}
|
|
}
|