Commit | Line | Data |
---|---|---|
ef72be3e AB |
1 | /* for old browsers */ |
2 | article, aside, footer, header, nav, section { | |
3 | display: block; | |
4 | } | |
5 | ||
cb742bb6 | 6 | body { |
ef72be3e AB |
7 | font-family: FreeSans, sans-serif; |
8 | padding: 1em; | |
9 | } | |
10 | ||
9998ccd0 AB |
11 | main { |
12 | margin: auto; | |
13 | max-width: 38em; | |
14 | } | |
15 | ||
d32c4bec AB |
16 | main > header { |
17 | margin-bottom: 1em; | |
ef72be3e | 18 | } |
d32c4bec | 19 | |
ef72be3e AB |
20 | #title { |
21 | font-size: 2.1em; | |
22 | font-weight: normal; | |
23 | margin-bottom: 0; | |
24 | } | |
25 | #title:after { | |
26 | content: ".org"; | |
27 | color: #dadada; | |
cb742bb6 | 28 | } |
ef72be3e AB |
29 | #subtitle { |
30 | display: inline; | |
31 | font-weight: normal; | |
32 | font-size: 1.2em; | |
cb742bb6 | 33 | color: #444; |
cb742bb6 | 34 | } |
ef72be3e AB |
35 | |
36 | a { | |
37 | text-decoration: none; | |
38 | outline: 0; | |
cb742bb6 | 39 | } |
ef72be3e AB |
40 | |
41 | article h3 { | |
42 | font-weight: normal; | |
cb742bb6 | 43 | color: #777; |
ef72be3e AB |
44 | } |
45 | ||
46 | code { | |
47 | font-size: 1.15em; | |
48 | } | |
49 | ||
50 | table td { | |
51 | padding: 0 0.3em; | |
52 | } | |
53 | table td:first-child { | |
54 | padding-left: 0; | |
55 | } | |
56 | table td:last-child { | |
57 | padding-right: 0 | |
58 | } | |
59 | ||
60 | nav ul { | |
61 | list-style-type: none; | |
62 | padding: 0; | |
63 | } | |
64 | nav li { | |
65 | display: inline; | |
66 | } | |
67 | nav li:after { | |
68 | content: "\00a0\00b7"; | |
69 | } | |
70 | nav li:last-child:after { | |
71 | content: ""; | |
72 | } | |
73 | ||
9998ccd0 AB |
74 | main { |
75 | display: grid; | |
76 | grid-template-columns: auto 38em auto; | |
d32c4bec AB |
77 | grid-column-gap: 1.5em; |
78 | grid-row-gap: 1em; | |
9998ccd0 AB |
79 | } |
80 | ||
81 | main > h3 { | |
82 | grid-column: 1; | |
ef72be3e | 83 | text-align: right; |
9998ccd0 AB |
84 | font-size: 1em; |
85 | font-weight: normal; | |
ef72be3e | 86 | } |
9998ccd0 AB |
87 | |
88 | main > header, main > section { | |
89 | grid-column: 2; | |
90 | } | |
91 | ||
d32c4bec AB |
92 | main > h3, ul:first-child { |
93 | margin-top: 0; | |
9998ccd0 AB |
94 | margin-bottom: 0; |
95 | } | |
d32c4bec | 96 | p:first-child { |
9998ccd0 | 97 | margin-top: 0; |
cb742bb6 | 98 | } |