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

48
style/footer.css Normal file
View File

@ -0,0 +1,48 @@
footer {
background-color: #ffcd38;
padding: 1rem 0;
}
footer a {
font-weight: 500;
color: #1b1a17;
transition: 0.3s ease text-decoration;
font-size: 1.4rem;
text-transform: uppercase;
}
footer a:hover {
text-decoration: underline;
}
#footer-container {
width: 1024px;
display: flex;
justify-content: space-between;
align-items: center;
margin: 0 auto;
}
#footer-links {
display: flex;
gap: 1rem;
}
#version {
font-size: 1.3rem;
color: #1b1b1b;
}
@media screen and (max-width: 1080px) {
#footer_container {
width: 100%;
padding: 0 2rem;
box-sizing: border-box;
}
}
@media (prefers-color-scheme: dark) {
footer {
background-color: #fec260;
}
}