]> git.r.bdr.sh - rbdr/blog/blame - static/css/style.css
Fix generator when there are < max posts
[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 {
27 background-color: #fff;
28 padding: 1.414em;
29}
30
31h1, h2, h3, h4 {
32 margin: 1.414em 0 0.5em;
33 font-weight: 400;
34}
35
36p, ul, ol, img {
37 width: 100%;
38 margin: 1.414em 0;
39 max-width: 30em;
40}
41
42ul, ol { margin-left: 1.414em; }
43
44h1 { font-size: 3.998em; }
45h2 { font-size: 2.827em; }
46h3 { font-size: 1.999em; }
47h4 { font-size: 1.414em; }
48
49footer {
50 background-color: pink;
51 padding: 1.414em;
52}