118 lines
1.7 KiB
CSS
118 lines
1.7 KiB
CSS
@import url("./fonts.css");
|
|
|
|
:root {
|
|
--background-color: black;
|
|
--text-color: white;
|
|
}
|
|
|
|
html, body {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
body {
|
|
background-color: var(--background-color);
|
|
font-family: "Open Sans", sans-serif;
|
|
color: var(--text-color);
|
|
margin-top: 10vh;
|
|
margin-bottom: 15vh;
|
|
box-sizing: border-box;
|
|
padding: 25px;
|
|
}
|
|
|
|
body.with-layout {
|
|
margin-top: 0;
|
|
}
|
|
|
|
body > * {
|
|
width: 100%;
|
|
max-width: 800px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
h1 {
|
|
font-family: "Degheest Director";
|
|
font-weight: 700;
|
|
font-size: 3em;
|
|
}
|
|
|
|
@media screen and (max-width: 500px) {
|
|
h1 {
|
|
line-break: loose;
|
|
}
|
|
}
|
|
|
|
h1 small, h2 small {
|
|
display: block;
|
|
}
|
|
|
|
h1 small {
|
|
font-size: 0.5em;
|
|
margin-top: 1ex;
|
|
font-weight: 400;
|
|
}
|
|
|
|
h2 {
|
|
font-weight: normal;
|
|
}
|
|
|
|
ul {
|
|
list-style-type: none;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover, a:active {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
h1, h2, h3, p {
|
|
margin-bottom: 35px;
|
|
}
|
|
|
|
p {
|
|
line-height: 1.5;
|
|
}
|
|
|
|
hr {
|
|
border: none;
|
|
margin-top: 100px;
|
|
margin-bottom: 100px;
|
|
}
|
|
|
|
body > img {
|
|
width: max-content;
|
|
height: max-content;
|
|
object-fit: scale-down;
|
|
max-height: 50vh;
|
|
max-width: 100%;
|
|
display: block;
|
|
}
|
|
|
|
body > img:first-child {
|
|
margin-bottom: 10vh;
|
|
}
|
|
|
|
ul li > a:first-child::before {
|
|
content: "🠺";
|
|
font-family: "Open Sans", sans-serif;
|
|
margin-left: -1.5ex;
|
|
margin-right: 0.5ex;
|
|
font-size: 1.5em;
|
|
vertical-align: middle;
|
|
display: inline-block;
|
|
}
|
|
|
|
ul li > a:first-child:hover::before {
|
|
opacity: 1;
|
|
transform: translateX(0.25ex);
|
|
}
|
|
|
|
body > section {
|
|
margin-top: 10vh;
|
|
} |