refactor: add esbuild and modulerize css into seperate files

This commit is contained in:
rramiachraf
2024-03-06 17:32:10 +01:00
parent edc2b04198
commit c8747c0182
13 changed files with 548 additions and 463 deletions

31
style/error.css Normal file
View File

@ -0,0 +1,31 @@
#error {
display: flex;
flex-direction: column;
gap: 1rem;
align-items: center;
justify-content: center;
padding: 2rem;
flex-grow: 1;
}
#error h1 {
font-size: 5rem;
color: #111;
}
#error p {
text-transform: uppercase;
font-size: 1.6rem;
color: #222;
text-align: center;
}
@media (prefers-color-scheme: dark) {
#error h1 {
color: #eee;
}
#error p {
color: #ddd;
}
}