181 lines
2.7 KiB
CSS
181 lines
2.7 KiB
CSS
@import "/static/fonts/roboto_regular/stylesheet.css";
|
|
@import "/static/fonts/spacemono_bold/stylesheet.css";
|
|
@import "/static/css/nav.css";
|
|
|
|
/* Variables */
|
|
:root {
|
|
--black: #000000;
|
|
--soft-black: #181a1b;
|
|
--softer-black: #282828;
|
|
--softest-black: #323232;
|
|
--white: #ffffff;
|
|
--soft-white: #d7d3ce;
|
|
--softer-white: #969696;
|
|
--indigo: #4b0082;
|
|
|
|
--background-color: var(--soft-black);
|
|
--foreground-color: var(--softest-black);
|
|
--primary-color: var(--indigo);
|
|
|
|
--default-font-size: 1.4rem;
|
|
--desktop-font-size: 1.6rem;
|
|
--font-color-primary: var(--white);
|
|
--font-family-paragraph: "robotoregular", sans-serif;
|
|
|
|
--font-color-secondary: var(--white);
|
|
--font-family-header: sans-serif;
|
|
|
|
--link-color: var(--soft-white);
|
|
|
|
--rule-color: var(--softest-black);
|
|
}
|
|
|
|
/* Boilerplate */
|
|
@media (prefers-reduced-motion: no-preference) {
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
}
|
|
|
|
:focus:not(:focus-visible) {
|
|
outline: none;
|
|
}
|
|
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html, body {
|
|
margin: 0;
|
|
padding: 0;
|
|
height: 100%;
|
|
text-rendering: optimizeLegibility;
|
|
font-kerning: normal;
|
|
line-height: 2rem;
|
|
}
|
|
|
|
html {
|
|
font-size: 62.5%;
|
|
}
|
|
|
|
|
|
a {
|
|
text-decoration-thickness: 8;
|
|
}
|
|
|
|
pre {
|
|
padding: 0.5rem;
|
|
}
|
|
|
|
img {
|
|
display: block;
|
|
max-width: 100%;
|
|
}
|
|
|
|
label,
|
|
button,
|
|
select,
|
|
summary,
|
|
[type=radio],
|
|
[type=submit],
|
|
[type=checkbox] {
|
|
cursor: pointer;
|
|
}
|
|
|
|
article ol,
|
|
article ul {
|
|
list-style-position: inside;
|
|
}
|
|
|
|
/* Styling */
|
|
body {
|
|
background-color: var(--background-color);
|
|
color: var(--font-color-primary);
|
|
font-family: var(--font-family-paragraph);
|
|
font-size: var(--default-font-size);
|
|
|
|
-webkit-text-size-adjust: none;
|
|
text-size-adjust: none;
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
@media only screen and (min-width: 768px) {
|
|
body {
|
|
flex-direction: row;
|
|
font-size: var(--desktop-font-size);
|
|
}
|
|
|
|
.content {
|
|
padding-top: 8rem;
|
|
}
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
font-family: var(--font-family-header);
|
|
}
|
|
|
|
main {
|
|
overflow: auto;
|
|
width: 100%;
|
|
}
|
|
|
|
.header {
|
|
width: 100%;
|
|
padding: 0.5rem;
|
|
}
|
|
|
|
.header .title {
|
|
font-size: 2.4rem;
|
|
font-weight: 200;
|
|
color: var(--softer-white);
|
|
}
|
|
|
|
.header .layout {
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.header .icons object {
|
|
fill: var(--softer-white);
|
|
}
|
|
|
|
hr {
|
|
color: var(--rule-color);
|
|
}
|
|
|
|
.content {
|
|
padding: 3rem;
|
|
padding-bottom: 8rem;
|
|
max-width: 75rem;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.content .title {
|
|
padding-bottom: 2rem;
|
|
}
|
|
|
|
a { color: var(--link-color); }
|
|
a:hover { color: var(--link-color); }
|
|
a:visited { color: var(--link-color); }
|
|
a:active { color: var(--link-color); }
|
|
|
|
ul, ol {
|
|
line-height: 2.4rem;
|
|
}
|
|
|
|
.icon path {
|
|
fill: var(--softer-white) !important;
|
|
}
|
|
|
|
pre {
|
|
overflow: auto;
|
|
}
|
|
|