2021-01-16 09:30:18 +00:00
|
|
|
* {
|
|
|
|
box-sizing: border-box;
|
2021-01-08 07:17:56 +00:00
|
|
|
}
|
|
|
|
body {
|
|
|
|
font-family: sans-serif;
|
|
|
|
margin: 0;
|
|
|
|
display: grid;
|
2021-01-14 14:56:13 +00:00
|
|
|
grid-template-columns: max(325px, 15%) auto;
|
2021-01-16 09:30:18 +00:00
|
|
|
background: #fafafa;
|
2021-01-08 07:17:56 +00:00
|
|
|
}
|
|
|
|
|
2021-01-10 02:59:16 +00:00
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
|
|
font-family: "Open Sans", sans-serif;
|
|
|
|
}
|
2021-01-16 09:30:18 +00:00
|
|
|
main article h1 a,
|
|
|
|
main article h2 a,
|
|
|
|
main article h3 a,
|
|
|
|
main article h4 a,
|
|
|
|
main article h5 a,
|
|
|
|
main article h6 a {
|
2021-01-10 02:59:16 +00:00
|
|
|
color: inherit;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2021-01-14 14:56:13 +00:00
|
|
|
h1, h2, h3 {
|
2021-01-10 02:59:16 +00:00
|
|
|
font-weight: 400;
|
|
|
|
}
|
|
|
|
h1 {
|
|
|
|
font-size: 2em;
|
|
|
|
}
|
|
|
|
h2 {
|
|
|
|
font-size: 1.6em;
|
|
|
|
}
|
|
|
|
|
2021-01-16 09:30:18 +00:00
|
|
|
main {
|
|
|
|
box-shadow: 0 0 40px black;
|
|
|
|
z-index: 2;
|
|
|
|
}
|
|
|
|
|
2021-01-08 07:17:56 +00:00
|
|
|
main article {
|
|
|
|
max-width: 1800px;
|
2021-01-16 09:30:18 +00:00
|
|
|
padding: 0 50px 30px;
|
2021-01-08 07:17:56 +00:00
|
|
|
margin: 0 auto;
|
2021-01-16 09:30:18 +00:00
|
|
|
background: #fafafa;
|
2021-01-08 07:17:56 +00:00
|
|
|
min-height: 100%;
|
|
|
|
overflow: auto;
|
2021-01-08 09:03:12 +00:00
|
|
|
font-size: 1.1em;
|
2021-01-08 07:17:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
main article h1,
|
2021-01-14 14:56:13 +00:00
|
|
|
main article h2,
|
|
|
|
main article h3 {
|
2021-01-10 02:59:16 +00:00
|
|
|
border-left: 5px solid mediumpurple;
|
|
|
|
padding-left: 5px;
|
|
|
|
margin-left: -10px;
|
2021-01-08 07:17:56 +00:00
|
|
|
}
|
|
|
|
|
2021-01-16 09:30:18 +00:00
|
|
|
main article a {
|
|
|
|
color: #00a;
|
|
|
|
text-decoration-style: dashed;
|
|
|
|
text-decoration-color: transparent;
|
|
|
|
transition: 0.2s all;
|
|
|
|
}
|
|
|
|
main article a:hover {
|
|
|
|
text-decoration-color: unset;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
line-height: 1.5em;
|
|
|
|
}
|
|
|
|
|
2021-01-08 07:17:56 +00:00
|
|
|
header {
|
|
|
|
/* sidebar */
|
2021-01-16 09:30:18 +00:00
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
|
|
|
background: #333;
|
|
|
|
z-index: 1;
|
|
|
|
height: 100vh;
|
2021-01-14 14:56:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
header::after {
|
|
|
|
/* will use webp with jpeg fallback when
|
|
|
|
https://developer.mozilla.org/en-US/docs/Web/CSS/image()#browser_compatibility becomes a thing, until then, it's jpeg
|
|
|
|
only for now :c */
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
z-index: -1;
|
|
|
|
background: linear-gradient(to bottom, #333, #333 10%, 70%, transparent),
|
|
|
|
url("/assets/img/background.jpeg") no-repeat bottom center/cover,
|
|
|
|
#333;
|
2021-01-16 09:30:18 +00:00
|
|
|
filter: blur(5px) saturate(75%);
|
2021-01-14 14:56:13 +00:00
|
|
|
content: "";
|
2021-01-08 07:17:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
nav a {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
nav a {
|
|
|
|
padding: 10px 0;
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
|
|
|
text-decoration: none;
|
|
|
|
font-size: 1.5em;
|
|
|
|
transition: 0.2s all;
|
2021-01-16 09:30:18 +00:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
nav a::before {
|
|
|
|
width: 5px;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: -5px;
|
|
|
|
background: mediumpurple;
|
|
|
|
content: "";
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
transition: 0.2s all;
|
2021-01-08 07:17:56 +00:00
|
|
|
}
|
|
|
|
nav a:hover {
|
2021-01-14 14:56:13 +00:00
|
|
|
background: #00000044;
|
2021-01-08 07:17:56 +00:00
|
|
|
}
|
2021-01-16 09:30:18 +00:00
|
|
|
nav a:hover::before {
|
|
|
|
left: 0;
|
|
|
|
}
|
2021-01-08 07:17:56 +00:00
|
|
|
|
2021-01-08 09:03:12 +00:00
|
|
|
#logo {
|
2021-01-08 07:17:56 +00:00
|
|
|
object-fit: contain;
|
|
|
|
display: block;
|
|
|
|
width: min(100%, 150px);
|
2021-01-14 14:56:13 +00:00
|
|
|
height: auto;
|
|
|
|
margin: 30px auto 50px auto;
|
2021-01-10 02:59:16 +00:00
|
|
|
}
|