2025-06-30 18:58:24 +02:00
|
|
|
/*
|
|
|
|
SPDX-FileCopyrightText: © 2025 Hornwitser <code@hornwitser.no>
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
*/
|
2025-02-26 11:53:10 +01:00
|
|
|
:root {
|
2025-06-18 00:24:51 +02:00
|
|
|
scrollbar-gutter: stable both-edges;
|
2025-02-26 12:05:12 +01:00
|
|
|
--background: #ffffff;
|
|
|
|
--foreground: #171717;
|
2025-02-26 11:53:10 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (prefers-color-scheme: dark) {
|
2025-02-26 12:05:12 +01:00
|
|
|
:root {
|
|
|
|
--background: #0a0a0a;
|
|
|
|
--foreground: #ededed;
|
|
|
|
}
|
2025-02-26 11:53:10 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
2025-06-18 00:24:51 +02:00
|
|
|
padding-inline: 0.3rem;
|
2025-02-26 12:05:12 +01:00
|
|
|
color: var(--foreground);
|
|
|
|
background: var(--background);
|
|
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
2025-02-26 11:53:10 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
* {
|
2025-02-26 12:05:12 +01:00
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
2025-02-26 11:53:10 +01:00
|
|
|
}
|
|
|
|
|
2025-02-26 22:53:56 +01:00
|
|
|
ul, ol {
|
|
|
|
padding-inline-start: 1.5rem;
|
|
|
|
}
|
|
|
|
|
2025-02-26 23:43:12 +01:00
|
|
|
h1, h2, h3, h4 {
|
|
|
|
margin-block: 0.75em 0.25em;
|
2025-02-26 11:53:10 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (prefers-color-scheme: dark) {
|
2025-02-26 12:05:12 +01:00
|
|
|
html {
|
|
|
|
color-scheme: dark;
|
|
|
|
}
|
2025-02-26 11:53:10 +01:00
|
|
|
}
|
2025-02-26 23:43:12 +01:00
|
|
|
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Enable hover only on non-touch devices */
|
|
|
|
@media (hover: hover) and (pointer: fine) {
|
|
|
|
a:hover {
|
|
|
|
color: color-mix(in oklab, var(--foreground), blue 50%);
|
|
|
|
text-decoration: underline;
|
|
|
|
text-underline-offset: 2px;
|
|
|
|
border-color: transparent;
|
|
|
|
}
|
|
|
|
}
|
2025-02-27 18:39:04 +01:00
|
|
|
|
2025-03-14 18:19:58 +01:00
|
|
|
button, input, textarea, select {
|
2025-03-07 21:46:44 +01:00
|
|
|
font-family: inherit;
|
|
|
|
font-size: inherit;
|
|
|
|
}
|
|
|
|
|
2025-03-07 22:28:55 +01:00
|
|
|
fieldset {
|
|
|
|
padding-inline: 0.5rem;
|
2025-03-07 23:53:57 +01:00
|
|
|
width: fit-content;
|
2025-03-07 22:28:55 +01:00
|
|
|
}
|
|
|
|
|
2025-02-27 18:39:04 +01:00
|
|
|
label {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
label>* {
|
|
|
|
margin-inline-start: 0.5rem;
|
|
|
|
}
|
|
|
|
|
2025-03-14 18:19:58 +01:00
|
|
|
:is(p, form, fieldset, pre, ul) + :is(p, form, fieldset, pre, ul) {
|
2025-02-28 15:32:03 +01:00
|
|
|
margin-block-start: 0.5rem;
|
|
|
|
}
|
|
|
|
|
2025-02-27 18:39:04 +01:00
|
|
|
label + label {
|
|
|
|
margin-block-start: 0.5rem;
|
|
|
|
}
|