aboutsummaryrefslogtreecommitdiff
path: root/css/default.css
blob: fd06f35dc60fdb32b29bf3fe6e2a01da1a42127d (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
/* 
   This file is released into the public domain.
*/

:root {
    --main-width: 35rem;
}

@media (max-width: 500px) {
    :root {
	--main-width: 100%;
    }
}

nav {
    width: var(--main-width);
    margin: auto;
    overflow: auto;
    background-color: #f3f3f3;
}

nav span#menu {
    float: right;
}

nav span#logo {
    float: left;
}

nav a {
    padding: 1rem;
    display: inline-block;
    background-color: #f3f3f3;
}

div#content {
    width: calc(var(--main-width) - 1rem);
    margin: auto;
    margin-bottom: 2rem;
    line-height: 1.6;
}

footer {
    width: var(--main-width);
    margin: auto;
    padding-top: .5rem;
    border-top-color: grey;
    border-top-style: solid;
    display: flex;
    justify-content: center;
}

a {
    text-decoration: none;
}

a:hover{
    background-color: #ddd;
}

blockquote {
    border-left: .3rem solid #ccc;
    padding-left: 1rem;
}

li.postlistitem{
    margin-bottom: .5rem;
}

ul.postlist{
    list-style-type: none;
    padding: 0;
}

footer img {
    height: 2.2rem;
    margin: .1rem;
}

img {
    max-width: 100%;
    height: auto;
}