summaryrefslogtreecommitdiff
path: root/blog/blog.css
blob: 372964de215706ca5fc2d09c1c1c2e91ef0d024c (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
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
html {
    background: url("/assets/bg.jpg");
    background-attachment: fixed;
    background-size: cover;
    image-rendering: pixelated;
}

figure {
    background-color: var(--bg0);
    margin: 0;
    margin-bottom: 1em;
}

figure > img, figure > * > img, figure > svg, figure > * svg {
    background-color: var(--bg-dim);
}

.cover-image > img {
    width: 100%;
    height: auto;
    padding: 0 50px;
    display: block;
    box-sizing: border-box;
}

figcaption {
    padding: 0.5em;
    font-style: italic;
}

body {
    max-width: 800px;
    margin: 1em auto;
    background-color: var(--bg1);
}

.text-section {
    padding: 1em;
}

.fig {
    margin: 0.5em;
}

.fig-horizontal {
    width: min-content;
    margin: 0.5em auto;
}

.fig-right {
    float: right;
    width: min-content;
}

.fig-left {
    float: left;
    width: min-content;
}


.fig > img, .fig > * > img {
    padding: 0.5em;
}

pre {
    padding: 1em 0.5em;
    margin: 0;
    overflow: scroll;
    background-color: var(--bg-dim);
}

code {
    background-color: var(--bg-dim);
}

table.schema-table {
    border-collapse: collapse;
    display: inline-table;
    margin-bottom: 0.5em;
    background-color: var(--bg-dim);
}

.schema-table th {
    background-color: var(--bg0);
}

.schema-table th,td {
    border: 2px solid var(--bg2);
    padding: 0.25em;
}



@media (max-width: 700px) {
    .fig-left, .fig-right {
        float: unset;
        margin: 0.5em auto;
    }
}