]> git.r.bdr.sh - rbdr/blog/blame - static/css/style.css
Update dependencies + adapt code for them
[rbdr/blog] / static / css / style.css
CommitLineData
7a5a585e
BB
1* {
2 margin: 0;
3 padding: 0;
4}
5
6body {
7 background-image: url('/images/header_background.png');
8 background-size: auto 300px;
9 background-attachment: fixed;
10 line-height: 1.45;
11}
12
13header {
14 background-image: url('/images/header_foreground.png');
15 background-repeat: no-repeat;
16 background-size: auto 300px;
17 height: 300px;
18}
19
20header a {
21 color: transparent;
22 display: block;
23 max-height: 500px;
24}
25
26main {
14184276 27 background-color: white;
7a5a585e
BB
28 padding: 1.414em;
29}
30
31h1, h2, h3, h4 {
32 margin: 1.414em 0 0.5em;
33 font-weight: 400;
d92ac8cc
BB
34 width: 100%;
35 max-width: 640px;
7a5a585e
BB
36}
37
38p, ul, ol, img {
39 width: 100%;
40 margin: 1.414em 0;
d92ac8cc 41 max-width: 480px;;
7a5a585e
BB
42}
43
44ul, ol { margin-left: 1.414em; }
45
46h1 { font-size: 3.998em; }
47h2 { font-size: 2.827em; }
48h3 { font-size: 1.999em; }
49h4 { font-size: 1.414em; }
50
14184276
BB
51code {
52 background-color: whitesmoke;
53 padding: 0.2em 0.5em;
54}
55
56pre {
57 background-color: whitesmoke;
58 padding: 1em;
59 max-width: 40em;
60}
61
7a5a585e
BB
62footer {
63 background-color: pink;
64 padding: 1.414em;
65}