2021-10-09 18:13:55 +00:00
|
|
|
@light: ~"(prefers-color-scheme: light)";
|
|
|
|
@dark: ~"(prefers-color-scheme: dark)";
|
2022-01-03 18:22:55 +00:00
|
|
|
@smallWidthScreen: ~"(max-width: 420px)";
|
|
|
|
|
|
|
|
::selection {
|
|
|
|
@media @light {
|
|
|
|
color: @lightColor;
|
|
|
|
background-color: @darkColor;
|
|
|
|
}
|
|
|
|
@media @dark {
|
|
|
|
color: @darkColor;
|
|
|
|
background-color: @lightColor;
|
|
|
|
}
|
|
|
|
}
|
2021-10-09 18:13:55 +00:00
|
|
|
|
|
|
|
* {
|
|
|
|
padding: 0px;
|
|
|
|
margin: 0px;
|
|
|
|
|
|
|
|
@media @light {
|
|
|
|
scrollbar-color: @darkColor @lightColor;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media @dark {
|
|
|
|
scrollbar-color: @lightColor @darkColor;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-01-03 18:22:55 +00:00
|
|
|
body {
|
|
|
|
font-family: system-ui, sans-serif;
|
|
|
|
font-size: 30px;
|
|
|
|
line-height: 42px;
|
|
|
|
margin: 20px;
|
|
|
|
|
2021-10-09 18:13:55 +00:00
|
|
|
@media @light {
|
2022-01-03 18:22:55 +00:00
|
|
|
background-color: @lightColor;
|
|
|
|
color: @darkColor;
|
2021-10-09 18:13:55 +00:00
|
|
|
}
|
2022-01-03 18:22:55 +00:00
|
|
|
|
2021-10-09 18:13:55 +00:00
|
|
|
@media @dark {
|
2022-01-03 18:22:55 +00:00
|
|
|
background-color: @darkColor;
|
|
|
|
color: @lightColor;
|
2021-10-09 18:13:55 +00:00
|
|
|
}
|
|
|
|
|
2022-01-03 18:22:55 +00:00
|
|
|
@media @smallWidthScreen {
|
|
|
|
font-size: 26px;
|
|
|
|
line-height: 38px;
|
|
|
|
}
|
2021-10-11 22:03:18 +00:00
|
|
|
}
|
|
|
|
|
2021-10-09 18:13:55 +00:00
|
|
|
main {
|
|
|
|
margin-left: 20%;
|
|
|
|
margin-right: 20%;
|
|
|
|
|
|
|
|
@media (max-width: 1400px) {
|
|
|
|
margin-left: 10%;
|
|
|
|
margin-right: 10%;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 800px) {
|
|
|
|
margin-left: 0px;
|
|
|
|
margin-right: 0px;
|
2022-01-03 18:22:55 +00:00
|
|
|
padding-left: 0px;
|
|
|
|
padding-right: 0px;
|
2021-10-09 18:13:55 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a, a:visited {
|
|
|
|
text-decoration: underline;
|
|
|
|
transition-property: color, border-color;
|
2022-01-03 18:22:55 +00:00
|
|
|
transition-duration: 0.05s;
|
2021-10-09 18:13:55 +00:00
|
|
|
transition-timing-function: linear;
|
|
|
|
|
2022-01-03 18:22:55 +00:00
|
|
|
@media @light {
|
|
|
|
background-color: @lightColor;
|
|
|
|
color: @darkColor;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media @dark {
|
|
|
|
background-color: @darkColor;
|
|
|
|
color: @lightColor;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover, &:focus {
|
2021-10-09 18:13:55 +00:00
|
|
|
text-decoration: none;
|
|
|
|
color: @mainColor;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.button {
|
|
|
|
border-width: 2px;
|
|
|
|
border-style: solid;
|
|
|
|
padding: 8px 16px 8px 16px;
|
|
|
|
margin: 5px;
|
|
|
|
display: inline-block;
|
|
|
|
border-radius: 14px;
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
@media @light {
|
|
|
|
border-color: @darkColor;
|
|
|
|
}
|
|
|
|
@media @dark {
|
|
|
|
border-color: @lightColor;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover, &:focus {
|
|
|
|
color: @mainColor;
|
|
|
|
border: 2px solid @mainColor;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.smallButton {
|
|
|
|
.button();
|
|
|
|
font-size: 80%;
|
|
|
|
padding: 0px 16px 0px 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
height: auto;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.imgArticle {
|
|
|
|
display: block;
|
|
|
|
margin: auto;
|
|
|
|
margin-top: 20px;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.border {
|
|
|
|
border-width: 1px;
|
|
|
|
border-style: solid;
|
|
|
|
border-radius: 5px;
|
|
|
|
|
|
|
|
@media @light {
|
|
|
|
border-color: @darkColor;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media @dark {
|
|
|
|
border-color: @lightColor;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
strong {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre, code, var, samp {
|
|
|
|
font-family: monospace;
|
|
|
|
overflow: auto;
|
|
|
|
font-style: normal;
|
2022-01-03 18:22:55 +00:00
|
|
|
border-radius: 15px;
|
|
|
|
word-break: break-all;
|
2021-10-09 18:13:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
abbr[title] {
|
|
|
|
text-decoration: dotted underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
address {
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
padding-left: 35px;
|
|
|
|
}
|
|
|
|
|
|
|
|
dt {
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
|
|
|
dd {
|
|
|
|
margin-left: 25px;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
2021-10-11 22:03:18 +00:00
|
|
|
padding-top: 8px;
|
|
|
|
padding-bottom: 8px;
|
2021-10-09 18:13:55 +00:00
|
|
|
}
|
|
|
|
|
2021-10-11 22:03:18 +00:00
|
|
|
header, footer, .centered {
|
2021-10-09 18:13:55 +00:00
|
|
|
text-align: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
2022-01-03 18:22:55 +00:00
|
|
|
footer {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
2021-10-09 18:13:55 +00:00
|
|
|
// ----- TITLES -----
|
|
|
|
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
|
|
font-weight: normal;
|
|
|
|
line-height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
2022-01-03 18:22:55 +00:00
|
|
|
font-size: 70px;
|
2021-10-09 18:13:55 +00:00
|
|
|
text-align: center;
|
|
|
|
padding-top: 15px;
|
2022-01-03 18:22:55 +00:00
|
|
|
margin-bottom: 20px;
|
2021-10-09 18:13:55 +00:00
|
|
|
|
2022-01-03 18:22:55 +00:00
|
|
|
@media @smallWidthScreen {
|
|
|
|
font-size: 45px;
|
|
|
|
}
|
2021-10-11 22:03:18 +00:00
|
|
|
}
|
|
|
|
|
2021-10-09 18:13:55 +00:00
|
|
|
h2 {
|
2022-01-03 18:22:55 +00:00
|
|
|
font-size: 60px;
|
|
|
|
margin-top: 30px;
|
|
|
|
margin-bottom: 15px;
|
2021-10-09 18:13:55 +00:00
|
|
|
|
2022-01-03 18:22:55 +00:00
|
|
|
@media @smallWidthScreen {
|
|
|
|
font-size: 40px;
|
|
|
|
}
|
2021-10-11 22:03:18 +00:00
|
|
|
}
|
|
|
|
|
2021-10-09 18:13:55 +00:00
|
|
|
h3 {
|
2022-01-03 18:22:55 +00:00
|
|
|
font-size: 42px;
|
2021-10-09 18:13:55 +00:00
|
|
|
margin-top: 30px;
|
2022-01-03 18:22:55 +00:00
|
|
|
margin-bottom: 15px;
|
2021-10-09 18:13:55 +00:00
|
|
|
|
2022-01-03 18:22:55 +00:00
|
|
|
@media @smallWidthScreen {
|
|
|
|
font-size: 35px;
|
|
|
|
}
|
2021-10-09 18:13:55 +00:00
|
|
|
}
|