2023-01-17 12:05:18 +01:00
|
|
|
:root {
|
2023-01-17 22:20:58 +01:00
|
|
|
--c-a-primary: #0d1117;
|
|
|
|
--c-a-secondary: #1c2431;
|
|
|
|
--c-b-primary: white;
|
|
|
|
--c-b-secondary: #ddd;
|
|
|
|
--c-links: #0087ca;
|
|
|
|
--c-bg: var(--c-a-primary);
|
|
|
|
--c-title: var(--c-b-primary);
|
|
|
|
--c-text: var(--c-b-secondary);
|
2023-01-17 12:05:18 +01:00
|
|
|
--c-bg-footer: var(--c-bg);
|
2023-01-17 22:20:58 +01:00
|
|
|
--c-footer-text: var(--c-b-primary);
|
2023-01-17 12:05:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (prefers-color-scheme: light) {
|
|
|
|
:root {
|
2023-01-17 22:20:58 +01:00
|
|
|
--c-a-primary: white;
|
|
|
|
--c-a-secondary: #ddd;
|
|
|
|
--c-b-primary: #0d1117;
|
|
|
|
--c-b-secondary: #1c2431;
|
|
|
|
--c-bg: var(--c-a-primary);
|
|
|
|
--c-title: var(--c-b-primary);
|
|
|
|
--c-text: var(--c-b-secondary);
|
2023-01-17 12:05:18 +01:00
|
|
|
--c-bg-footer: #616A6B;
|
2023-01-17 22:20:58 +01:00
|
|
|
--c-footer-text: var(--c-a-primary);
|
2023-01-17 12:05:18 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-01-09 10:33:38 +01:00
|
|
|
html {
|
|
|
|
height: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
2023-01-05 13:05:09 +01:00
|
|
|
body {
|
2023-01-09 10:33:38 +01:00
|
|
|
height: 100%;
|
|
|
|
padding: 0;
|
2023-01-05 13:05:09 +01:00
|
|
|
margin: 0;
|
2023-01-09 10:33:38 +01:00
|
|
|
min-height: 100%;
|
|
|
|
display: grid;
|
|
|
|
grid-template-rows: auto 1fr auto;
|
2023-01-17 12:05:18 +01:00
|
|
|
background-color: var(--c-bg);
|
|
|
|
color: var(--c-text);
|
|
|
|
}
|
|
|
|
|
|
|
|
h1, h2, h3, h4, h5, h6, .title {
|
|
|
|
color: var(--c-title);
|
2023-01-09 10:33:38 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
* {
|
|
|
|
box-sizing: inherit;
|
|
|
|
font-family: system-ui;
|
2023-01-10 15:27:42 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
main {
|
2023-01-17 22:20:58 +01:00
|
|
|
width: 100%;
|
|
|
|
max-width: 1280px;
|
|
|
|
margin-right: auto;
|
|
|
|
margin-left: auto;
|
|
|
|
padding: 2rem 1rem;
|
2023-01-10 15:27:42 +01:00
|
|
|
}
|
|
|
|
|
2023-01-17 22:20:58 +01:00
|
|
|
main a {
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
color: var(--c-links);
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
main a::after {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
transform: scaleX(0);
|
|
|
|
height: 2px;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
background-color: var(--c-links);
|
|
|
|
transform-origin: bottom left;
|
|
|
|
transition: transform 0.25s ease-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
main a:hover::after {
|
|
|
|
transform: scaleX(1);
|
|
|
|
transform-origin: bottom left;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 700px) {
|
|
|
|
.right {
|
|
|
|
grid-column: 2;
|
|
|
|
grid-row: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.left {
|
|
|
|
grid-column: 1;
|
|
|
|
grid-row: 1;
|
2023-01-10 15:27:42 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-01-17 22:20:58 +01:00
|
|
|
@media screen and (max-width: 700px) {
|
|
|
|
.right, .left {
|
|
|
|
grid-column: 1;
|
2023-01-10 15:27:42 +01:00
|
|
|
}
|
2023-01-17 23:44:08 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#backToTop {
|
|
|
|
display: none;
|
|
|
|
position: fixed;
|
|
|
|
bottom: 55px;
|
|
|
|
right: 55px;
|
|
|
|
z-index: 99;
|
|
|
|
font-size: 18px;
|
|
|
|
border: none;
|
|
|
|
outline: none;
|
|
|
|
background-color: #00A6ED;
|
|
|
|
padding: 15px;
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#backToTop:hover {
|
|
|
|
background-color: #555;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav.crumbs {
|
|
|
|
border-bottom: 1px solid var(--c-b-primary);
|
|
|
|
}
|
|
|
|
|
|
|
|
.crumbs ol {
|
|
|
|
list-style-type: none;
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.crumb {
|
|
|
|
display: inline-block;
|
2023-01-17 23:57:17 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.crumb:before {
|
|
|
|
content: "> ";
|
2023-01-05 13:05:09 +01:00
|
|
|
}
|