web/public/obj/css/main.css

62 lines
804 B
CSS
Raw Normal View History

2023-10-16 01:35:05 +02:00
* {
font-family: Arial, Helvetica, sans-serif;
}
html {
height: 100%;
}
body {
margin: 0;
padding: 0;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
background-color: #f0f0f0;
}
main {
padding: 1rem 2rem;
border: 1px solid #ddd;
border-radius: 4px;
background-color: #fff;
}
a {
color: #000;
transition: 0.5s all;
}
a:hover {
color: #333;
}
@media (prefers-color-scheme: dark) {
body {
background-color: #222;
}
main {
border-color: #333;
background-color: #333;
color: #fff;
}
a {
color: #0ff;
}
a:hover {
color: #0aa;
}
}
#links {
display: flex;
flex-direction: column;
}
#links a {
margin-bottom: 0.5rem;
}