2020-05-25 23:32:57 +02:00
|
|
|
:root {
|
|
|
|
--color-background: #2E3436;
|
|
|
|
--color-foreground: #D3D7CF;
|
|
|
|
--color-blue-light: #9CD9F0;
|
|
|
|
--color-blue-dark: #72B3CC;
|
|
|
|
--color-black-light: #5D5D5D;
|
|
|
|
--color-black-dark: #000000;
|
|
|
|
--color-white-light: #F7F7F7;
|
|
|
|
--color-white-dark: #B0B0B0;
|
2020-05-26 23:09:30 +02:00
|
|
|
--spacing-elements: 2rem;
|
|
|
|
--spacing-small-elements: 1rem;
|
|
|
|
--spacing-large-elements: 4rem;
|
2020-05-25 23:32:57 +02:00
|
|
|
--width-border-default: 0.2rem;
|
2020-05-26 12:56:15 +02:00
|
|
|
--width-sidebar-max: 15rem;
|
|
|
|
--font-family-default: "DejaVu Sans Mono", "Menlo", "Consolas", monospace;
|
2020-05-26 23:09:30 +02:00
|
|
|
--font-family-headlines: "Montserrat", "Avenir", "Roboto", sans-serif;
|
|
|
|
--font-size-base: 1.5em;
|
|
|
|
--font-size-header-base: 2.5em;
|
|
|
|
--font-size-header-sub: 1.5em;
|
|
|
|
--line-height: 1.33em; }
|
2020-05-25 23:32:57 +02:00
|
|
|
|
|
|
|
body {
|
2020-05-26 12:56:15 +02:00
|
|
|
font-family: var(--font-family-default);
|
2020-05-26 23:09:30 +02:00
|
|
|
font-size: var(--font-size-base);
|
|
|
|
background: var(--color-background);
|
|
|
|
color: var(--color-foreground);
|
2020-05-25 23:32:57 +02:00
|
|
|
margin: 0;
|
|
|
|
padding: 0; }
|
|
|
|
|
|
|
|
h1 {
|
2020-05-26 12:56:15 +02:00
|
|
|
color: var(--color-blue-dark);
|
|
|
|
font-family: var(--font-family-headlines);
|
|
|
|
font-weight: 300;
|
2020-05-26 23:09:30 +02:00
|
|
|
font-size: var(--font-size-header-base);
|
2020-05-26 12:56:15 +02:00
|
|
|
letter-spacing: .14em;
|
|
|
|
word-spacing: .3em; }
|
2020-05-25 23:32:57 +02:00
|
|
|
|
|
|
|
a {
|
|
|
|
color: var(--color-wihte-light);
|
2020-05-26 23:09:30 +02:00
|
|
|
text-decoration: underline;
|
|
|
|
line-height: var(--line-height); }
|
2020-05-25 23:32:57 +02:00
|
|
|
a:active, a:visited {
|
|
|
|
color: var(--color-wihte-light); }
|
|
|
|
a:hover {
|
|
|
|
color: var(--color-black-dark);
|
|
|
|
background: var(--color-blue-light); }
|
|
|
|
|
|
|
|
body > header {
|
2020-05-26 23:09:30 +02:00
|
|
|
padding: var(--spacing-small-elements);
|
2020-05-25 23:32:57 +02:00
|
|
|
border-bottom: var(--color-blue-light) solid var(--width-border-default); }
|
|
|
|
body > header h1 {
|
|
|
|
margin: 0; }
|
|
|
|
|
2020-05-26 12:56:15 +02:00
|
|
|
body > main > nav {
|
2020-05-25 23:32:57 +02:00
|
|
|
border-right: var(--color-blue-light) solid var(--width-border-default); }
|
2020-05-26 12:56:15 +02:00
|
|
|
body > main > nav a {
|
2020-05-25 23:32:57 +02:00
|
|
|
display: block;
|
2020-05-26 23:09:30 +02:00
|
|
|
padding: var(--spacing-small-elements); }
|
2020-05-25 23:32:57 +02:00
|
|
|
|
2020-05-26 12:56:15 +02:00
|
|
|
body > main > section {
|
|
|
|
padding: var(--spacing-elements); }
|
|
|
|
body > main > section header h1 {
|
|
|
|
margin: 0; }
|
|
|
|
|
2020-05-26 23:09:30 +02:00
|
|
|
article {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 50em var(--width-sidebar-max);
|
|
|
|
-moz-column-gap: var(--spacing-elements);
|
|
|
|
column-gap: var(--spacing-elements);
|
|
|
|
margin-top: var(--spacing-large-elements); }
|
|
|
|
#layout-entryDetail article {
|
|
|
|
margin-top: 0; }
|
|
|
|
article h1 {
|
|
|
|
grid-column: 1 / 3;
|
|
|
|
margin-bottom: 0;
|
|
|
|
font-size: var(--font-size-header-sub); }
|
|
|
|
#layout-entryDetail article h1 {
|
|
|
|
margin-top: 0;
|
|
|
|
font-size: var(--font-size-header-base); }
|
|
|
|
article main {
|
|
|
|
margin-top: var(--spacing-elements);
|
|
|
|
line-height: var(--line-height); }
|
|
|
|
article main h1,
|
|
|
|
article main h2,
|
|
|
|
article main h3,
|
|
|
|
article main h4,
|
|
|
|
article main h5,
|
|
|
|
article main h6 {
|
|
|
|
font-size: calc(var(--font-size-header-sub) - 0.5); }
|
|
|
|
article nav {
|
|
|
|
grid-row: 2 / 4;
|
|
|
|
grid-column: 2; }
|
|
|
|
article nav a {
|
|
|
|
display: block;
|
|
|
|
margin-bottom: var(--spacing-small-elements); }
|
|
|
|
|
2020-05-25 23:32:57 +02:00
|
|
|
body > footer {
|
2020-05-26 23:09:30 +02:00
|
|
|
padding: var(--spacing-small-elements);
|
2020-05-25 23:32:57 +02:00
|
|
|
border-top: var(--color-blue-light) solid var(--width-border-default); }
|
2020-05-26 12:56:15 +02:00
|
|
|
|
|
|
|
body > main {
|
|
|
|
display: grid;
|
2020-05-26 22:11:02 +02:00
|
|
|
grid-template-columns: var(--width-sidebar-max) calc(100% - var(--width-sidebar-max)); }
|