2023-05-05 10:55:05 +00:00
|
|
|
:root {
|
|
|
|
--light-text: #181715;
|
|
|
|
--light-bg: #ffffff;
|
|
|
|
--light-border: #181715;
|
2023-05-05 20:16:03 +00:00
|
|
|
--dark-text: #ffffff;
|
2023-05-05 10:55:05 +00:00
|
|
|
--dark-bg: #181715;
|
2023-05-05 20:16:03 +00:00
|
|
|
--dark-border: #ffffff;
|
|
|
|
--hightlight: #72dec2;
|
|
|
|
--border: var(--light-border);
|
|
|
|
--text: var(--light-text);
|
|
|
|
--bg: var(--light-bg);
|
2023-05-05 10:55:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: "Iosevka";
|
|
|
|
src: url('/font/iosevka-regular.woff') format('woff');
|
|
|
|
}
|
|
|
|
|
|
|
|
* {
|
|
|
|
box-sizing: border-box;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
html,
|
|
|
|
body {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2023-05-05 20:16:03 +00:00
|
|
|
color: var(--text);
|
|
|
|
background: var(--bg);
|
2023-05-05 10:55:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
display: grid;
|
2023-08-03 16:41:30 +00:00
|
|
|
grid-template:
|
2023-08-05 14:11:21 +00:00
|
|
|
"header" 4rem
|
2023-08-03 16:41:30 +00:00
|
|
|
"main" 1fr
|
2023-08-05 14:11:21 +00:00
|
|
|
"footer" 4rem
|
2023-08-03 16:41:30 +00:00
|
|
|
/ 1fr;
|
|
|
|
gap: 0;
|
2023-05-05 10:55:05 +00:00
|
|
|
font-family: 'Iosevka';
|
|
|
|
}
|
|
|
|
|
|
|
|
header,
|
|
|
|
footer {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
padding: 0 3rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
header {
|
2023-08-05 13:19:00 +00:00
|
|
|
grid-area: header;
|
2023-05-05 20:16:03 +00:00
|
|
|
border-bottom: 2px solid var(--border);
|
2023-05-05 10:55:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
footer {
|
2023-08-05 13:19:00 +00:00
|
|
|
grid-area: footer;
|
2023-05-05 20:16:03 +00:00
|
|
|
border-top: 2px solid var(--border);
|
2023-05-05 10:55:05 +00:00
|
|
|
}
|
|
|
|
|
2023-08-05 13:11:04 +00:00
|
|
|
main {
|
2023-08-05 13:19:00 +00:00
|
|
|
grid-area: main;
|
|
|
|
padding: 3rem;
|
2023-05-05 10:55:05 +00:00
|
|
|
font-size: 1.3rem;
|
|
|
|
line-height: 2rem;
|
|
|
|
max-width: 120ch;
|
2023-05-06 21:04:59 +00:00
|
|
|
overflow: auto;
|
2023-05-05 10:55:05 +00:00
|
|
|
}
|
|
|
|
|
2023-08-30 11:17:27 +00:00
|
|
|
main h1 {
|
|
|
|
margin-bottom: 2rem;
|
|
|
|
font-weight: normal;
|
|
|
|
font-size: 1.5em;
|
|
|
|
font-variant-caps: small-caps;
|
|
|
|
}
|
|
|
|
|
2023-05-05 10:55:05 +00:00
|
|
|
a,
|
|
|
|
a:visited {
|
|
|
|
text-decoration: none;
|
2023-05-05 20:16:03 +00:00
|
|
|
color: var(--text);
|
2023-05-05 10:55:05 +00:00
|
|
|
}
|
|
|
|
|
2023-08-05 13:11:04 +00:00
|
|
|
main a {
|
2023-08-29 09:54:05 +00:00
|
|
|
text-decoration: underline;
|
2023-05-05 10:55:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
a:hover,
|
|
|
|
a:focus {
|
2023-05-05 20:16:03 +00:00
|
|
|
background-color: var(--hightlight);
|
|
|
|
text-decoration: line-through var(--text);
|
2023-05-05 10:55:05 +00:00
|
|
|
}
|
|
|
|
|
2023-08-03 16:41:30 +00:00
|
|
|
#logo {
|
2023-08-06 10:00:26 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
gap: 0.5rem;
|
2023-08-03 18:38:04 +00:00
|
|
|
font-size: 2.5rem;
|
2023-05-05 10:55:05 +00:00
|
|
|
font-weight: bold;
|
2023-08-03 18:38:04 +00:00
|
|
|
font-variant: small-caps;
|
2023-05-05 10:55:05 +00:00
|
|
|
}
|
|
|
|
|
2023-08-06 10:00:26 +00:00
|
|
|
#logo img {
|
|
|
|
width: 3rem;
|
|
|
|
}
|
|
|
|
|
2023-08-03 18:38:04 +00:00
|
|
|
#theme-switcher {
|
|
|
|
border: 3px solid var(--border);
|
|
|
|
width: 1.5rem;
|
|
|
|
height: 1.5rem;
|
|
|
|
border-radius: 3rem;
|
|
|
|
margin-left: auto;
|
|
|
|
background: linear-gradient(90deg, var(--border) 0%, var(--border) 50%, var(--bg) 51%, var(--bg) 100%);
|
|
|
|
}
|
|
|
|
|
|
|
|
#theme-switcher:hover {
|
|
|
|
border-color: var(--hightlight);
|
|
|
|
background: linear-gradient(90deg, var(--hightlight) 0%, var(--hightlight) 50%, var(--bg) 51%, var(--bg) 100%);
|
|
|
|
}
|
2023-08-05 13:19:00 +00:00
|
|
|
|
2023-08-29 13:25:20 +00:00
|
|
|
.lang {
|
2023-05-06 21:04:59 +00:00
|
|
|
font-size: 2rem;
|
2023-05-05 10:55:05 +00:00
|
|
|
}
|
|
|
|
|
2023-05-06 16:13:12 +00:00
|
|
|
#mesh {
|
2023-05-05 10:55:05 +00:00
|
|
|
position: absolute;
|
2023-08-05 14:30:42 +00:00
|
|
|
bottom: 4rem;
|
2023-05-05 10:55:05 +00:00
|
|
|
right: 0;
|
2023-05-06 16:42:04 +00:00
|
|
|
user-select: none;
|
2023-05-06 16:39:48 +00:00
|
|
|
pointer-events: none;
|
2023-05-05 10:55:05 +00:00
|
|
|
}
|
|
|
|
|
2023-08-03 16:41:30 +00:00
|
|
|
.links {
|
|
|
|
display: flex;
|
2023-08-05 14:11:21 +00:00
|
|
|
gap: 2rem;
|
|
|
|
}
|
|
|
|
|
2023-08-06 14:30:05 +00:00
|
|
|
.links > a {
|
|
|
|
border-radius: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.links > a > img {
|
|
|
|
display: block;
|
2023-08-03 16:41:30 +00:00
|
|
|
}
|
|
|
|
|
2023-05-06 21:04:59 +00:00
|
|
|
#sections-button {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2023-08-06 10:55:10 +00:00
|
|
|
nav {
|
2023-08-05 14:11:21 +00:00
|
|
|
font-variant: small-caps;
|
2023-08-06 10:55:10 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
gap: 2rem;
|
|
|
|
font-size: 2rem;
|
2023-05-06 16:13:12 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
|
|
|
font-style: italic;
|
|
|
|
font-weight: lighter;
|
|
|
|
border: none;
|
|
|
|
background: var(--bg);
|
|
|
|
color: var(--text);
|
2023-05-06 21:04:59 +00:00
|
|
|
margin: 0 2rem 0 0;
|
2023-08-03 18:38:04 +00:00
|
|
|
cursor: pointer;
|
2023-08-03 17:39:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-height: 860px),
|
|
|
|
screen and (max-width: 1500px) {
|
|
|
|
#mesh {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 1160px) {
|
2023-08-06 10:55:10 +00:00
|
|
|
nav {
|
|
|
|
flex-direction: column;
|
|
|
|
border: 2px solid var(--border);
|
|
|
|
border-bottom: 0;
|
|
|
|
border-left: 0;
|
|
|
|
background-color: var(--bg);
|
|
|
|
position: absolute;
|
|
|
|
bottom: calc(4rem);
|
|
|
|
left: 0;
|
|
|
|
align-items: center;
|
|
|
|
padding: 2rem 3rem;
|
2023-08-03 17:39:10 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#sections-button {
|
|
|
|
display: block !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 540px) {
|
|
|
|
#logo {
|
|
|
|
font-size: 2.2rem;
|
|
|
|
}
|
|
|
|
|
2023-08-05 13:19:00 +00:00
|
|
|
main {
|
|
|
|
padding: 1rem;
|
|
|
|
}
|
|
|
|
|
2023-08-03 17:39:10 +00:00
|
|
|
.links {
|
2023-08-05 14:11:21 +00:00
|
|
|
gap: 1.2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.links a {
|
|
|
|
width: 1.5rem;
|
2023-08-03 17:39:10 +00:00
|
|
|
}
|
2023-08-03 18:38:04 +00:00
|
|
|
|
|
|
|
header,
|
|
|
|
footer {
|
|
|
|
padding: 0 1rem;
|
|
|
|
}
|
2023-08-05 13:19:00 +00:00
|
|
|
|
|
|
|
#theme-switcher {
|
|
|
|
margin-right: 1rem;
|
|
|
|
}
|
2023-05-05 10:55:05 +00:00
|
|
|
}
|