2020-12-12 16:20:41 +01:00
|
|
|
@import "colors";
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
color: @title;
|
|
|
|
margin-inline: auto;
|
|
|
|
width: max-content;
|
|
|
|
max-width: 100%;
|
|
|
|
text-align: center;
|
2023-09-08 00:37:10 +02:00
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
color: @title-dark;
|
|
|
|
}
|
2020-12-24 16:17:13 +01:00
|
|
|
> a, > a:hover, > a:active, > a:visited {
|
|
|
|
color: @title;
|
2023-09-08 00:37:10 +02:00
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
color: @title-dark;
|
|
|
|
}
|
2020-12-24 16:17:13 +01:00
|
|
|
}
|
2020-12-12 16:20:41 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
h2, h3 {
|
|
|
|
color: @subtitle;
|
|
|
|
font-weight: lighter;
|
2022-11-22 09:08:59 +01:00
|
|
|
margin-bottom: 0;
|
2023-09-08 00:37:10 +02:00
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
color: @subtitle-dark;
|
|
|
|
}
|
2020-12-12 16:20:41 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
footer {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
font-family: Helvetica, Arial, sans-serif;
|
|
|
|
color: @text;
|
2023-09-08 00:37:10 +02:00
|
|
|
background: @background;
|
2020-12-12 16:20:41 +01:00
|
|
|
max-width: 75em;
|
|
|
|
margin: 1em;
|
2023-09-08 00:37:10 +02:00
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
color: @text-dark;
|
|
|
|
background: @background-dark;
|
|
|
|
}
|
2020-12-12 16:20:41 +01:00
|
|
|
@media (min-width: 75em + 1em) {
|
|
|
|
margin: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
nav {
|
|
|
|
margin-inline: auto;
|
|
|
|
width: max-content;
|
|
|
|
max-width: 100%;
|
|
|
|
> ul {
|
|
|
|
padding-inline-start: 0px;
|
|
|
|
> li {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-09-08 00:37:10 +02:00
|
|
|
nav a > span {
|
|
|
|
border-width: 4px;
|
|
|
|
}
|
2020-12-12 16:20:41 +01:00
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
> span {
|
|
|
|
color: @text;
|
|
|
|
padding: 0.5em;
|
|
|
|
margin: 0.2em;
|
|
|
|
display: inline-block;
|
2023-09-08 00:37:10 +02:00
|
|
|
border-radius: @border-radius * 5;
|
|
|
|
border: 1px solid @text;
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
color: @text-dark;
|
|
|
|
border-color: @text-dark;
|
|
|
|
}
|
2020-12-12 16:20:41 +01:00
|
|
|
&:hover {
|
|
|
|
background: @secondary-hover;
|
|
|
|
transition-duration: @transition;
|
2023-09-08 00:37:10 +02:00
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
background: @secondary-hover-dark;
|
|
|
|
}
|
2020-12-12 16:20:41 +01:00
|
|
|
}
|
2023-09-08 00:37:10 +02:00
|
|
|
&#nav-web { border-color: #6ecf00; }
|
|
|
|
&#nav-audios { border-color: orange; }
|
2020-12-12 16:20:41 +01:00
|
|
|
}
|
|
|
|
}
|