nyxsite/site/templates/assets/index.css
2025-02-24 19:11:57 -06:00

37 lines
573 B
CSS

@media (prefers-color-scheme: dark) {
* {
background-color: black;
color: white;
}
}
@media (prefers-color-scheme: light) {
* {
background-color: white;
color: black;
}
}
h1, h2, h3 {
font-family: monospace;
}
body {
font-family: system-ui;
padding: 1%;
font-size: 18px;
max-width: 40em;
margin: auto;
width: 50%;
border: 10px solid lightgrey;
border-radius: 5px;
}
#particle-canvas {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
}