servnest/less/main.less

43 lines
575 B
Plaintext
Raw Normal View History

2021-01-22 21:58:46 +01:00
@fontSize: 26px;
html {
font-family: system-ui;
margin-left: 35%;
margin-right: 35%;
font-size: @fontSize;
@media (max-width: 500px) {
margin-left: 20px;
margin-right: 20px;
}
}
header {
text-align: center;
}
a {
color: @mainColor;
}
.button {
border: 2px red solid;
text-decoration: none;
border-radius: 10px;
padding: 8px;
}
@media (prefers-color-scheme: light) {
html {
background-color: @color1;
color: @color2;
}
}
@media (prefers-color-scheme: dark) {
html {
background-color: @color2;
color: @color1;
}
}