2022-01-04 12:22:32 +00:00
|
|
|
@import url('https://fonts.googleapis.com/css2?family=Raleway&display=swap');
|
|
|
|
|
2022-01-01 12:05:43 +00:00
|
|
|
:root {
|
|
|
|
font-family: sans-serif;
|
2022-06-22 12:09:08 +00:00
|
|
|
--color-bg: #eef0f2;
|
2022-01-01 12:05:43 +00:00
|
|
|
--color-fg: #222;
|
2022-06-09 11:11:25 +00:00
|
|
|
--color-ac: hsl(274deg 100% 90%);
|
|
|
|
--color-hl: hsl(274deg 100% 70%);
|
2022-01-01 12:05:43 +00:00
|
|
|
|
|
|
|
--line-mid: .14rem;
|
|
|
|
--line-thick: .2rem;
|
2022-06-09 11:11:25 +00:00
|
|
|
color: var(--color-fg);
|
2022-01-01 12:05:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
* {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
background: var(--color-bg);
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
|
|
|
align-items: center;
|
|
|
|
padding: 1em 2em;
|
2022-06-22 12:09:08 +00:00
|
|
|
color: #333;
|
|
|
|
background: var(--color-bg);
|
2022-01-01 12:05:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
body>section {
|
|
|
|
width: 100%;
|
|
|
|
max-width: 60em;
|
2022-06-22 12:09:08 +00:00
|
|
|
margin-top: 1em;
|
2022-01-01 12:05:43 +00:00
|
|
|
}
|
|
|
|
|
2022-01-04 12:22:32 +00:00
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
|
|
font-family: 'Raleway', sans-serif;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
2022-01-01 12:05:43 +00:00
|
|
|
h2 {
|
|
|
|
padding: 0 1em 0 .2em;
|
|
|
|
width: max-content;
|
|
|
|
border-bottom: .1em solid var(--color-ac);
|
|
|
|
}
|
|
|
|
|
2022-03-10 04:59:59 +00:00
|
|
|
h3::before {
|
2022-06-22 14:20:23 +00:00
|
|
|
content: "\2023";
|
|
|
|
margin-right: .6ch;
|
2022-03-10 04:59:59 +00:00
|
|
|
color: var(--color-ac);
|
|
|
|
}
|
|
|
|
|
2022-01-01 12:05:43 +00:00
|
|
|
em {
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2022-01-04 12:02:48 +00:00
|
|
|
hr {
|
2022-01-04 12:22:32 +00:00
|
|
|
all: unset;
|
|
|
|
width: 100%;
|
|
|
|
border-bottom: .2em solid var(--color-ac);
|
|
|
|
grid-column: 1 / -1;
|
|
|
|
margin: 1em 0;
|
2022-01-04 12:02:48 +00:00
|
|
|
}
|
|
|
|
|
2022-06-22 13:04:12 +00:00
|
|
|
a.fancy {
|
2022-01-01 12:05:43 +00:00
|
|
|
--color-primary: var(--color-hl);
|
2022-06-22 12:09:08 +00:00
|
|
|
--color-secondary: white;
|
|
|
|
--color-shadow: #0004;
|
2022-01-01 12:05:43 +00:00
|
|
|
color: var(--color-primary);
|
2022-06-22 13:04:12 +00:00
|
|
|
cursor: pointer;
|
|
|
|
display: inline-block;
|
2022-01-01 12:05:43 +00:00
|
|
|
font-weight: bold;
|
2022-06-22 13:04:12 +00:00
|
|
|
padding: .0em .2em;
|
|
|
|
position: relative;
|
|
|
|
text-decoration: none;
|
|
|
|
transition: all .3s;
|
2022-01-01 12:05:43 +00:00
|
|
|
}
|
2022-06-22 13:04:12 +00:00
|
|
|
a.fancy::before {
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
height: .1em;
|
|
|
|
background: var(--color-primary);
|
|
|
|
transition: all .3s;
|
|
|
|
z-index: -1;
|
2022-06-22 12:09:08 +00:00
|
|
|
}
|
2022-01-01 12:05:43 +00:00
|
|
|
|
2022-06-22 13:04:12 +00:00
|
|
|
a.fancy:hover {
|
2022-01-01 12:05:43 +00:00
|
|
|
color: var(--color-secondary);
|
2022-06-22 12:09:08 +00:00
|
|
|
text-shadow: .2em .3em .2em var(--color-shadow);
|
2022-01-01 12:05:43 +00:00
|
|
|
}
|
|
|
|
|
2022-06-22 13:04:12 +00:00
|
|
|
a.fancy:hover::before {
|
|
|
|
height: 100%;
|
|
|
|
border-radius: .2em;
|
|
|
|
}
|
|
|
|
|
2022-01-01 12:05:43 +00:00
|
|
|
pre>code {
|
|
|
|
display: block;
|
|
|
|
border-left: dashed var(--line-mid) var(--color-ac);
|
|
|
|
padding-left: 1.6em;
|
|
|
|
}
|
|
|
|
|
|
|
|
span[title] {
|
|
|
|
cursor: help;
|
|
|
|
border-bottom: dotted currentcolor .16em;
|
|
|
|
}
|
|
|
|
|
2022-02-06 11:56:54 +00:00
|
|
|
code-block:not(:defined) {
|
|
|
|
font-family: monospace;
|
|
|
|
white-space: pre-line;
|
|
|
|
}
|
|
|
|
|
|
|
|
dl, dt, dd { all: unset; }
|
|
|
|
dt, dd { display: block; }
|
|
|
|
dl {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
|
|
|
}
|
|
|
|
dt {
|
|
|
|
font-weight: bold;
|
|
|
|
font-style: italic;
|
2022-01-01 12:05:43 +00:00
|
|
|
}
|
2022-02-06 11:56:54 +00:00
|
|
|
dl>*+dt { margin-top: .8em; }
|
|
|
|
dl>dt+* { margin-top: .6em; }
|
|
|
|
dl>*+* { margin-top: .4em; }
|
|
|
|
|
|
|
|
code { font-size: 1.1em; }
|
|
|
|
|
|
|
|
dl>code dt, dl>code dd { all: unset;}
|
2022-02-08 13:50:32 +00:00
|
|
|
dl>code dt::after { content: '\00A0:\00A0';}
|
|
|
|
|
|
|
|
dl>code {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: auto 1fr;
|
|
|
|
}
|
|
|
|
dl>code>dt~dd { grid-column: 2/2; }
|
2022-01-04 12:02:48 +00:00
|
|
|
|
|
|
|
.columns {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(2, 1fr);
|
|
|
|
gap: 1.4em;
|
|
|
|
}
|
|
|
|
.columns>* {
|
|
|
|
margin: 0;
|
|
|
|
flex: 100%;
|
|
|
|
}
|
|
|
|
|
2022-02-06 11:56:54 +00:00
|
|
|
.all-unset { all: unset; }
|
|
|
|
.full-width { grid-column: 1/-1; }
|
2022-06-22 14:20:23 +00:00
|
|
|
|
|
|
|
table-of-contents ul {
|
|
|
|
list-style: none;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
table-of-contents ul li::before {
|
|
|
|
content: "\2023";
|
|
|
|
color: var(--color-hl);
|
|
|
|
margin-right: 1ch;
|
|
|
|
}
|
2022-06-23 06:59:19 +00:00
|
|
|
|
|
|
|
a.back {
|
|
|
|
--margin: .6em;
|
|
|
|
|
|
|
|
color: var(--color-hl);
|
|
|
|
text-decoration: none;
|
|
|
|
padding: .2em;
|
|
|
|
padding-top: .3em;
|
|
|
|
padding-right: .4em;
|
|
|
|
position: absolute;
|
|
|
|
top: var(--margin);
|
|
|
|
left: var(--margin);
|
|
|
|
border-radius: .3em;
|
|
|
|
}
|
|
|
|
|
|
|
|
a.back:hover {
|
|
|
|
color: white;
|
|
|
|
background: var(--color-hl);
|
|
|
|
}
|
|
|
|
|
|
|
|
a.back::before {
|
|
|
|
display: inline-block;
|
|
|
|
content: '';
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
border: solid transparent .4em;
|
|
|
|
border-color: transparent currentcolor transparent transparent;
|
|
|
|
margin-right: .8em;
|
|
|
|
transform: scale(2, 1);
|
|
|
|
}
|
2022-06-23 07:28:33 +00:00
|
|
|
|
|
|
|
.ribbon {
|
|
|
|
--color: var(--color-hl);
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
position: fixed;
|
|
|
|
transform: rotate(315deg) translate(-5.4em);
|
|
|
|
|
|
|
|
background-color: var(--color);
|
|
|
|
border: .16em dashed #ffffff;
|
|
|
|
color: #ffffff;
|
|
|
|
font-family: sans-serif;
|
|
|
|
font-size: .8rem;
|
|
|
|
letter-spacing: .1em;
|
|
|
|
line-height: 1.4em;
|
|
|
|
padding: .2em 5em;
|
|
|
|
text-decoration: none;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
box-shadow:
|
|
|
|
0 0 0 3px var(--color),
|
|
|
|
0 0 20px -3px rgba(0, 0, 0, 0.5);
|
|
|
|
text-shadow:
|
|
|
|
0 0 0 #ffffff,
|
|
|
|
0 0 5px rgba(0, 0, 0, 0.3);
|
|
|
|
}
|