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