summaryrefslogtreecommitdiff
path: root/style.css
blob: e187d16f806d8d0b965911057a16e6d4ddafec58 (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
body {
    max-width: 60em;
    margin: 0 auto;
    padding: 1em;
    hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    -webkit-hyphens: auto;
}

figure {
    margin: 0 auto;
}
figure > figcaption {
    text-align: center;
            width: 100%;
}
figure img {
    display: block;
    margin: 0.25em auto;
    max-width: 80%;
}

li > p {
    margin: 0;
}
li > p:last-child {
    margin-bottom: 0.5em;
}

p {
    text-align: justify;
}

/* code snippets */
pre {
    margin: 0 0 10px;
    color: #333;
    word-break: break-all;
    word-wrap: break-word;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 4px;
}

span.codeq {
    font-variant: small-caps;
}