palmoe.dk/assets/main.css

68 lines
No EOL
1.2 KiB
CSS

@media (prefers-color-scheme: light) {
:root {
--primary: white;
--font-color: black;
--font-inverted: white;
--link-color: blue;
}
}
@media (prefers-color-scheme: dark) {
:root {
--primary: black;
--font-color: white;
--font-inverted: black;
--link-color: lime;
}
}
*, *::before, *::after {
box-sizing: border-box;
color: var(--font-color);
margin: 0;
padding: 0;
}
html, body {
font-family: Bahnschrift, sans-serif-condensed, sans-serif;
background-color: var(--primary);
width: 100%;
height: 100%;
}
h1, h2, h3, h4, h5, h6 {
word-wrap: break-word;
width: fit-content;
}
a {
display: inline-block;
text-decoration: underline solid var(--link-color) 10%;
text-underline-offset: 4px;
}
a:hover {
background-color: var(--link-color);
color: var(--font-inverted);
}
.column {
display: flex;
flex-direction: column;
}
.row {
display: flex;
flex-direction: row;
}
.center {
justify-content: center;
gap: 5px;
}
.separate {
justify-content: space-between;
align-content: space-between;
gap: 5px;
}
.wrap {
flex-wrap: wrap;
}
.nowrap {
flex-wrap: nowrap;
}