summaryrefslogtreecommitdiffstats
path: root/htdocs/css/main.css
blob: 6800c97908cfbbb91956b5ff95046b68ff228c63 (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
body {
    margin: 0;
    padding: 0;
    color: #424242;
    background-color: #f9f9f9;
    font-family: 'PT Sans', Arial, Helvetica, sans-serif;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    color: #ff685b;
    font-family: 'PT Sans Narrow', 'Arial Narrow', Arial, Helvetica, sans-serif;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.layout {
    margin: 0 auto;
    width: 100%;
    max-width: 640px;
    min-width: 240px;
    min-height: 100vh;
    background-color: #fff;
}

.header .pokepi {
    width: 240px;
    height: 240px;
    user-select: none;
}

.header .brand {
    float: right;
    user-select: none;
    margin: 18px;
    font-size: 16px;
    font-family: 'PT Mono', 'Courier New', Courier, monospace;
}

.header .brand .letter {
    display: block;
    margin: 4px 0;
}

@media (max-width: 480px) {
    .header .brand {
        display: none; /* hide on tiny screens */
    }
}

.article {
    padding: 0 9px;
}

.article .title {
    margin: 0;
}

.article .divider {
    margin: 9px 0;
}

.article .section .title,
.article .section .text {
    margin: 9px 0;
}

.article .section .text {
    text-align: justify;
    text-indent: 12.5mm;
}

.article .section .figure {
    margin: 0 0 0 9px;
    width: min-content;
    float: right;
}

.article .section .figure .caption {
    font-style: italic;
    font-size: 11px;
}