about summary refs log tree commit diff homepage
path: root/style.css
blob: a8719cba2bc98a8be12186b6ca8e04769fba1cfd (plain) (blame)
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
html {
    box-sizing: border-box;
    font-size: clamp(100%, 3vw, 150%);
    margin: auto;
    max-width: calc(1024px + 2ch);
    scroll-padding-top: 3rem;
}
body { margin: 0 1ch }
a[href] {
    color: CanvasText;
    font-weight: bold;
    text-decoration: none;
}
h1 { margin: 0.5ex 0 }
h2 { margin: 0 0 0.5ex 0 }
img {
    cursor: zoom-in;
    max-width: 100%;
}
article + article { margin-top: 1rem }
nav {
    align-items: center;
    background-color: Canvas;
    display: flex;
    justify-content: space-between;
    position: sticky;
    top: 0;
}
footer { margin-bottom: 1ch }
footer svg { height: 1.5ex }
footer svg + svg { padding-left: 0.5ex }