aboutsummaryrefslogtreecommitdiff
path: root/src/static/style.css
blob: 4654ae70a7a83886018336c7da87590b3acebd10 (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
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
body {
    line-height: 150%;
    margin-bottom: 100px;
}

main {
    max-width: 680px;
    padding: 20px 30px;
}

nav {
    margin-bottom: 50px;
}

nav a {
    display: inline-block;
    margin-right: 20px;
}

h1 {
    font-size: 280%;
    line-height: initial;
}

h2 {
    font-size: 200%;
    line-height: initial;
}

h3 {
    font-size: 160%;
    line-height: initial;
}

img {
    max-width: 100%;
    margin: 30px auto;
    display: block;
}

ul.article-list li {
    margin-bottom: 10px;
}

ul.article-list time {
    display: inline-block;
    min-width: 120px;
}

article .info {
    font-style: oblique;
}

pre {
    overflow: auto;
}

table {
    width: 100%;
}

table, th, td {
    border: 1px solid black;
    text-align: left;
}

th, td {
    padding: 5px 10px;
}

::selection {
    background: #ff0;
    color: #000;
}

::-moz-selection {
    background: #ff0;
    color: #000;
}

code[class*=language-] {
    font-size: 14px !important;
}

@media only screen and (max-width:480px) {
    main {
        padding: 20px;
    }

    nav {
        text-align: center;
        margin-bottom: initial;
    }

    nav a {
        margin-bottom: 10px;
    }

    ul.article-list {
        padding-left: 20px;

    }

    ul.article-list li {
        margin-bottom: 20px;

    }

    ul.article-list a {
        display: block;
    }

    h1 {
        font-size: 220%;
    }

    h2 {
        font-size: 180%;
    }

    h3 {
        font-size: 160%;
    }
}