You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

113 lines
1.8 KiB
CSS

1 year ago
* {
box-sizing: border-box;
}
html, body {
margin: 0;
font-size: 24px;
font-family: serif;
}
1 year ago
header {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 64px;
}
.last-update {
text-transform: lowercase;
font-family: sans-serif;
font-size: 0.75rem;
margin: 1em;
color: #aaa;
}
1 year ago
.chapter {
max-width: 80ch;
margin-inline: auto;
1 year ago
padding-inline: 32px;
1 year ago
}
.chapter + .chapter {
margin-top: 256px;
1 year ago
}
h1, h2, h3 {
font-family: sans-serif;
margin: 2em auto;
}
h2 {
1 year ago
color: white;
background-color: black;
width: fit-content;
margin: 128px auto;
text-align: center;
1 year ago
}
a {
color: tomato;
text-decoration: none;
}
pre, code {
white-space: pre-wrap;
}
.language-note,
.language-todo {
margin: 32px auto;
font-family: sans-serif;
display: inline-block;
width: auto;
padding: 1ch;
color: #aaa;
border: 1px solid #aaa;
position: relative;
white-space: pre-wrap;
}
.language-note:before,
.language-todo:before {
padding: 0.1ch;
position: absolute;
top: 0;
translate: calc(-1ch + -1px) -100%;
display: inline-block;
background-color: #aaa;
color: white;
}
.language-note:before {
content: 'Note'
}
.language-todo:before {
content: 'TO DO'
}
1 year ago
.language-placeholder {
position: relative;
margin: 48px auto;
display: flex;
flex-direction: column;
border: 1px dashed currentColor;
justify-content: center;
align-items: center;
padding: 32px 32px;
border-radius: 50%;
font-family: sans-serif;
text-align: center;
}
.language-placeholder:before {
content: "placeholder";
text-transform: uppercase;
font-size: 0.8rem;
color: #aaa;
}