2021-02-08 12:57:32 +01:00
|
|
|
@fontSize: 30px;
|
|
|
|
|
|
|
|
@light: ~"(prefers-color-scheme: light)";
|
|
|
|
@dark: ~"(prefers-color-scheme: dark)";
|
2021-01-22 21:58:46 +01:00
|
|
|
|
|
|
|
html {
|
2021-02-08 12:57:32 +01:00
|
|
|
margin: 0px;
|
2021-02-12 15:32:48 +01:00
|
|
|
line-height: @fontSize + 6%;
|
2021-02-08 12:57:32 +01:00
|
|
|
}
|
|
|
|
|
2021-02-16 19:20:19 +01:00
|
|
|
h1 {
|
|
|
|
font-size: @fontSize + 25px;
|
|
|
|
line-height: @fontSize + 30px
|
|
|
|
}
|
|
|
|
|
2021-02-08 12:57:32 +01:00
|
|
|
body {
|
2021-07-15 15:36:34 +02:00
|
|
|
margin: 0px;
|
2021-02-16 19:20:19 +01:00
|
|
|
font-family: system-ui, sans-serif;
|
2021-01-22 21:58:46 +01:00
|
|
|
font-size: @fontSize;
|
2021-07-15 15:36:34 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
header, main, footer {
|
2021-01-23 17:26:46 +01:00
|
|
|
margin-left: 20%;
|
|
|
|
margin-right: 20%;
|
2021-01-22 21:58:46 +01:00
|
|
|
@media (max-width: 500px) {
|
|
|
|
margin-left: 20px;
|
|
|
|
margin-right: 20px;
|
|
|
|
}
|
2021-01-23 17:26:46 +01:00
|
|
|
|
|
|
|
}
|
|
|
|
|
2021-02-12 15:32:48 +01:00
|
|
|
code {
|
|
|
|
line-height: @fontSize + 6%;
|
|
|
|
font-size: @fontSize;
|
|
|
|
}
|
|
|
|
|
2021-02-08 12:57:32 +01:00
|
|
|
nav {
|
|
|
|
display: inline-block;
|
|
|
|
margin-left: 20px;
|
|
|
|
margin-right: 20px;
|
|
|
|
}
|
|
|
|
|
2021-01-22 21:58:46 +01:00
|
|
|
header {
|
|
|
|
text-align: center;
|
2021-07-15 15:36:34 +02:00
|
|
|
margin-top: 20px;
|
2021-01-22 21:58:46 +01:00
|
|
|
}
|
|
|
|
|
2021-05-14 21:10:56 +02:00
|
|
|
p {
|
|
|
|
margin: 0px;
|
|
|
|
margin-bottom: 15px;
|
|
|
|
}
|
|
|
|
|
2021-02-08 12:57:32 +01:00
|
|
|
h2 {
|
|
|
|
margin: 0px;
|
|
|
|
padding: 0px;
|
|
|
|
}
|
|
|
|
|
2021-05-14 21:10:56 +02:00
|
|
|
.breakable {
|
|
|
|
word-break: break-all;
|
2021-01-22 21:58:46 +01:00
|
|
|
}
|
|
|
|
|
2021-02-08 12:57:32 +01:00
|
|
|
@media @light {
|
2021-01-22 21:58:46 +01:00
|
|
|
html {
|
2021-02-08 12:57:32 +01:00
|
|
|
background-color: @lightColor;
|
|
|
|
color: @darkColor;
|
2021-01-22 21:58:46 +01:00
|
|
|
}
|
2021-01-25 13:39:31 +01:00
|
|
|
|
|
|
|
::selection {
|
2021-02-08 12:57:32 +01:00
|
|
|
background-color: @darkColor;
|
|
|
|
color: @lightColor;
|
2021-01-25 13:39:31 +01:00
|
|
|
}
|
2021-08-05 02:54:12 +02:00
|
|
|
|
|
|
|
a {
|
|
|
|
color: @darkColor;
|
|
|
|
}
|
2021-01-22 21:58:46 +01:00
|
|
|
}
|
|
|
|
|
2021-02-08 12:57:32 +01:00
|
|
|
@media @dark {
|
2021-01-22 21:58:46 +01:00
|
|
|
html {
|
2021-02-08 12:57:32 +01:00
|
|
|
background-color: @darkColor;
|
|
|
|
color: @lightColor;
|
2021-01-22 21:58:46 +01:00
|
|
|
}
|
2021-01-25 13:39:31 +01:00
|
|
|
|
|
|
|
::selection {
|
2021-02-08 12:57:32 +01:00
|
|
|
background-color: @lightColor;
|
|
|
|
color: @darkColor;
|
2021-01-25 13:39:31 +01:00
|
|
|
}
|
2021-08-05 02:54:12 +02:00
|
|
|
|
|
|
|
a {
|
|
|
|
color: @lightColor;
|
|
|
|
}
|
2021-01-22 21:58:46 +01:00
|
|
|
}
|