servnest/less/main.less
2021-01-23 17:26:46 +01:00

52 lines
708 B
Text

@fontSize: 26px;
html {
font-family: system-ui;
font-size: @fontSize;
margin-left: 20%;
margin-right: 20%;
@media (max-width: 500px) {
margin-left: 20px;
margin-right: 20px;
}
}
footer {
margin-left: 20%;
margin-right: 20%;
@media (max-width: 500px) {
margin-left: 0px;
margin-right: 0px;
}
}
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;
}
}