67 lines
1.6 KiB
CSS
67 lines
1.6 KiB
CSS
/* retoor <retoor@molodetz.nl> */
|
|||
|
|
*, *::before, *::after { box-sizing: border-box; }
|
||
|
|
|
||
|
|
html { background: var(--bg); color: var(--ink); -webkit-text-size-adjust: 100%; }
|
||
|
|
|
||
|
|
body {
|
||
|
|
margin: 0;
|
||
|
|
font-family: var(--font-serif);
|
||
|
|
font-size: var(--text-base);
|
||
|
|
line-height: var(--leading-body);
|
||
|
|
background: var(--bg);
|
||
|
|
color: var(--ink);
|
||
|
|
min-height: 100vh;
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
}
|
||
|
|
|
||
|
|
a { color: var(--ink); text-decoration-color: rgba(var(--accent-rgb), 0.6); text-underline-offset: 0.2em; }
|
||
|
|
a:hover { color: var(--accent); }
|
||
|
|
|
||
|
|
img, video { max-width: 100%; height: auto; display: block; }
|
||
|
|
|
||
|
|
::selection { background: rgba(var(--accent-rgb), 0.35); color: var(--ink); }
|
||
|
|
|
||
|
|
.hidden, [hidden] { display: none !important; }
|
||
|
|
|
||
|
|
.sr-only {
|
||
|
|
position: absolute;
|
||
|
|
width: 1px;
|
||
|
|
height: 1px;
|
||
|
|
overflow: hidden;
|
||
|
|
clip: rect(0 0 0 0);
|
||
|
|
white-space: nowrap;
|
||
|
|
}
|
||
|
|
|
||
|
|
.label {
|
||
|
|
font-family: var(--font-sans);
|
||
|
|
font-size: var(--text-xs);
|
||
|
|
letter-spacing: var(--tracking-label);
|
||
|
|
text-transform: uppercase;
|
||
|
|
color: var(--accent);
|
||
|
|
}
|
||
|
|
|
||
|
|
.muted { color: var(--muted); }
|
||
|
|
|
||
|
|
time { font-family: var(--font-sans); font-size: var(--text-xs); letter-spacing: 0.06em; color: var(--muted); }
|
||
|
|
|
||
|
|
.response-time {
|
||
|
|
position: fixed;
|
||
|
|
right: var(--space-sm);
|
||
|
|
bottom: var(--space-sm);
|
||
|
|
font-family: var(--font-mono);
|
||
|
|
font-size: var(--text-xs);
|
||
|
|
color: var(--faint);
|
||
|
|
z-index: var(--z-floating-button);
|
||
|
|
will-change: transform;
|
||
|
|
}
|
||
|
|
|
||
|
|
@media (prefers-reduced-motion: reduce) {
|
||
|
|
*, *::before, *::after {
|
||
|
|
animation-duration: 0.01ms !important;
|
||
|
|
animation-iteration-count: 1 !important;
|
||
|
|
transition-duration: 0.01ms !important;
|
||
|
|
scroll-behavior: auto !important;
|
||
|
|
}
|
||
|
|
}
|