summaryrefslogtreecommitdiff
path: root/css/main.css
blob: 55d711b025556f277549a8c3fde5b1bc8e2ae513 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
@charset "utf-8";
* {box-sizing: border-box;}
html {
--fs-sans: Helvetica, "Helvetica Neue", Arial, "San Francisco", sans;
--fs-mono: jetbrains-mono-regular, Consolas, Menlo, monospace;
--color-head-d: #000;
--color-body-d: #111;
--color-main-d: #111;
--color-main-m: #333;
--color-main-l: #ddd;
--color-code-d: #000;
font-size: 20px;
}

body		{background-color: var(--color-body-d); color: var(--color-main-l); margin: 0;}
header		{display: flex; justify-content: center; flex-direction: column; position: static; height: 80vh; color: var(--color-head-d); background-image: url("/media/banner-m.png"); background-size: cover; background-position: center center; background-attachment: fixed; image-rendering: crisp-edges; image-rendering: pixelated;}
.bomber,hr,.identcontainer	{margin-left: 10vw;}
.bomber		{font-family: schnyder-xl, Didot, serif; font-weight: 400; font-style: italic; font-size: 5rem; font-feature-settings: "case", "ss01", "ss04", "ss05"; -webkit-hyphens: auto; hyphens: auto; letter-spacing: -2px; line-height: 1; width: 80vw; margin-bottom: -10px; padding-left: 10px;}
header hr	{width: 80vw; height: 0; border: none; border-top: 1px solid var(--color-head-d);}
.identcontainer	{display: flex; flex-direction: row; justify-content: space-between; height: 25px; margin: -5px 10vw; padding: 0 5px;}
.ident		{font-family: neue-haas-grotesk-display, var(--fs-sans); font-weight: 300; font-size: 1rem; align-self: center; font-feature-settings: "case";}
.ident a	{text-decoration: none; cursor: pointer;}
.ident a:link	{text-decoration: none;}
.ident a:visited{color: var(--color-head-d);}
.ident a:hover	{text-decoration: none;}
.ident a:active	{text-decoration: none;}
.headerlogo	{height: 18px; align-self: center;}
.contentlevel	{display: flex;}
nav		{flex: 0 0 20%; padding: 1rem; position: -webkit-sticky; position: sticky; top: 0; height: 100vh; overflow-x: hidden; overflow-y: auto;}
nav pre		{margin: 0; color: var(--color-main-l); font-family: var(--fs-mono); font-weight: normal; font-size: 0.5rem; line-height: 1.25em;}
nav a		{color: var(--color-main-l); font-family: var(--fs-mono); font-weight: normal; text-decoration: none; cursor: pointer;}
nav a:link	{text-decoration: none;}
nav a:visited	{color: var(--color-main-l);}
nav a:hover	{color: var(--color-body-d); background-color: var(--color-main-l); clip-path: inset(5% 0% 5% 0%);}
nav a:active	{color: var(--color-main-l); text-decoration: none;}
main		{order: 2; flex: 1 1 90%; min-height: 100vh; padding: 1rem; padding-right: calc(20vw + 1rem); overflow-x: hidden;}
.leading,h1,h2	{font-family: neue-haas-grotesk-display, var(--fs-sans); line-height: 1;}
.leading	{font-size: 2.5rem; font-weight: 300; font-style: italic; border: 0; padding: 0;}
.toc		{margin: 1rem; padding: 0; height: auto;}
.toc li		{text-align: left;}
.toc a:hover	{clip-path: none;}
h1		{font-size: 2.5rem; font-weight: 700; margin: 1rem 0 0;}
h2		{font-size: 1.75rem; font-weight: 700; margin: 1rem 0 0;}
p,p strong,p em,li,th,td	{font-family: neue-haas-grotesk-text, var(--fs-sans); font-size: 1rem; line-height: 1.5; text-align: justify; text-justify: inter-word;}
p,p strong,p em	{margin: 1rem 0;} 
p,td		{font-weight: 400;}
p strong,th	{font-weight: 700;}
p em		{font-style: italic;}
p img		{vertical-align: baseline;}
ul,ol		{margin: 1rem; padding: 0 0 0 1rem;}
ul ul,ol ol	{margin: 0 1rem;}
code		{font-family: var(--fs-mono); font-weight: normal; font-size: 1rem; line-height: 1.5em;}
main a		{font-family: neue-haas-grotesk-text, var(--fs-sans); color: var(--color-main-l); font-weight: 700; font-size: 1rem; cursor: pointer;}
main a:link	{text-decoration: none; color: var(--color-main-l);}
main a:visited	{color: var(--color-main-l);}
main a:hover	{text-decoration: none; color: var(--color-main-d); background-color: var(--color-main-l);}
main a:active	{text-decoration: none; color: var(--color-main-l);}
main a::after	{font-size: 0.5rem; font-weight: 700; line-height: 0; vertical-align: super; content: "↗︎";}
sup		{line-height: 0;}
sup a		{font-size: 0.667rem; font-weight: 400;}
sup a::after	{content: none;}
blockquote	{margin: 1rem; padding-left: 1rem; border-left: 1px solid var(--color-main-m);}
main hr		{height: 1rem; width: 100%; margin: 0; border: none; border-bottom: 1px solid var(--color-main-l);}
main pre	{margin: 1rem; padding: 1rem; background: var(--color-code-d); border-radius: 5px;}
main pre code	{margin: 0; line-height: 1.25rem; white-space: pre-wrap;}
table		{margin: 1rem; width: calc(100% - 2rem); border-collapse: collapse;}
th,td		{padding: 0 0.5rem; text-align: initial;}
th		{border-bottom: 1px solid var(--color-main-m); padding-bottom: 0.5rem;}
td		{padding-top: 0.5rem;}
figure		{display: flex; margin: 1rem; max-width: 100%; align-items: center; flex-direction: column;}
figure a	{font-size: 0;}
figure a:hover	{text-decoration: none; background-color: transparent;}
figure a::after	{display: none;}
figure a img	{max-width: 100%; max-height: calc(100vh - 2rem);}
figure p	{font-size: 0.75rem; font-style: italic; margin: 0; padding: 0.5rem 0; text-align: center;}
.footnotes a[rev=footnote]	{font-size: 0.75rem;}
.footnotes a[rev=footnote]::after	{content: none;}
footer		{display: flex; flex-direction: row; justify-content: space-between; min-height: 1rem; border-top: 1px solid var(--color-main-m); padding: 0.75rem 1rem; background-color: var(--color-main-d); color: var(--color-main-l);}
footer p,footer a	{font-family: neue-haas-grotesk-text, var(--fs-sans); font-size: 0.75rem; font-weight: 700; font-feature-settings: "case"; margin: 0; -webkit-hyphens: none; hyphens: none; text-align: left;}
footer a	{color: var(--color-main-l); cursor: pointer;}
footer a:link	{text-decoration: none;}
footer a:visited{color: var(--color-main-l);}
footer a:hover	{color: var(--color-main-d); background-color: var(--color-main-l);}
footer a:active	{text-decoration: none;}
footer img	{align-self: center; height: 0.75rem;}

@media screen and (max-width: 800px) {
html		{font-size: 15px;}
header		{background-attachment: initial;}
.bomber		{margin-bottom: -5px;}
.headerlogo	{height: 14px;}
.contentlevel	{flex-direction: column;}
nav		{order: 2; position: static; width: 100vw; height: 50vh; border-top: 1px solid var(--color-main-m); padding: 1rem 10vw;}
nav pre		{font-size: 1rem;}
main		{padding: 1rem 10vw;}
.toc		{width: auto; border: none;}
p,p strong,p em,li	{-webkit-hyphens: auto; hyphens: auto;}
p img		{vertical-align: middle; -webkit-transform: scale(0.75); transform: scale(0.75);}
figure p,footer p,footer a	{font-size: 1rem;}
footer img	{height: 1rem; margin-left: 1rem;}
}

@media screen and (max-width: 500px) {
.bomber		{font-size: 4rem;}
}

@media print {
html		{font-size: 15px; --color-body-d: #fff; --color-main-d: #fff; --color-main-l: #000;}
header		{display: none;}
nav		{display: none;}
nav.toc		{display: block;}
main		{padding: 1rem 4rem;}
main pre	{background: #fff; border: 1px solid var(--color-main-m);}
main img	{-webkit-filter: invert(100%); filter: invert(100%);}
p img		{vertical-align: middle; -webkit-transform: scale(0.75); transform: scale(0.75);}
figure a img	{filter: none;}
figure p	{font-size: 1rem;}
footer		{display: none;}
}