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; | |
9998ccd0 AB |
15 | } |
16 | ||
d32c4bec AB |
17 | main > header { |
18 | margin-bottom: 1em; | |
ef72be3e | 19 | } |
d32c4bec | 20 | |
ef72be3e AB |
21 | #title { |
22 | font-size: 2.1em; | |
23 | font-weight: normal; | |
24 | margin-bottom: 0; | |
25 | } | |
26 | #title:after { | |
ea846b41 | 27 | content: ".eu.org"; |
ef72be3e | 28 | color: #dadada; |
cb742bb6 | 29 | } |
ef72be3e AB |
30 | #subtitle { |
31 | display: inline; | |
32 | font-weight: normal; | |
33 | font-size: 1.2em; | |
cb742bb6 | 34 | color: #444; |
cb742bb6 | 35 | } |
ef72be3e AB |
36 | |
37 | a { | |
38 | text-decoration: none; | |
39 | outline: 0; | |
cb742bb6 | 40 | } |
ef72be3e AB |
41 | |
42 | article h3 { | |
43 | font-weight: normal; | |
cb742bb6 | 44 | color: #777; |
ef72be3e AB |
45 | } |
46 | ||
47 | code { | |
48 | font-size: 1.15em; | |
127617a6 | 49 | text-transform: none; |
ef72be3e AB |
50 | } |
51 | ||
52 | table td { | |
53 | padding: 0 0.3em; | |
54 | } | |
55 | table td:first-child { | |
56 | padding-left: 0; | |
57 | } | |
58 | table td:last-child { | |
59 | padding-right: 0 | |
60 | } | |
61 | ||
62 | nav ul { | |
63 | list-style-type: none; | |
64 | padding: 0; | |
65 | } | |
66 | nav li { | |
67 | display: inline; | |
68 | } | |
69 | nav li:after { | |
70 | content: "\00a0\00b7"; | |
71 | } | |
72 | nav li:last-child:after { | |
73 | content: ""; | |
74 | } | |
75 | ||
9998ccd0 AB |
76 | main { |
77 | display: grid; | |
afae466b | 78 | grid-template-columns: auto 32em auto; |
d32c4bec AB |
79 | grid-column-gap: 1.5em; |
80 | grid-row-gap: 1em; | |
9998ccd0 AB |
81 | } |
82 | ||
83 | main > h3 { | |
84 | grid-column: 1; | |
ef72be3e | 85 | text-align: right; |
9998ccd0 AB |
86 | font-size: 1em; |
87 | font-weight: normal; | |
ef72be3e | 88 | } |
9998ccd0 AB |
89 | |
90 | main > header, main > section { | |
91 | grid-column: 2; | |
92 | } | |
93 | ||
d32c4bec AB |
94 | main > h3, ul:first-child { |
95 | margin-top: 0; | |
9998ccd0 AB |
96 | margin-bottom: 0; |
97 | } | |
d32c4bec | 98 | p:first-child { |
9998ccd0 | 99 | margin-top: 0; |
cb742bb6 | 100 | } |
4ad3138c AB |
101 | p:last-child { |
102 | margin-bottom: 0; | |
103 | } | |
60d1cae9 AB |
104 | |
105 | #publications section { | |
106 | text-transform: none; | |
107 | } | |
108 | dl { | |
e080516c AB |
109 | margin: 0 0 0.5em 0; |
110 | } | |
111 | dl:last-child { | |
60d1cae9 AB |
112 | margin: 0; |
113 | } | |
e080516c AB |
114 | dt { |
115 | margin-bottom: 0.5em; | |
116 | } | |
117 | #publications dd, .plinks { | |
118 | font-size: 0.9em; | |
119 | } | |
60d1cae9 AB |
120 | /* |
121 | ol { | |
122 | margin: 0; | |
123 | padding: 0; | |
124 | } | |
125 | ol li { | |
126 | margin-top: 0.5em; | |
127 | } | |
128 | ol li:first-child { | |
129 | margin-top: 0; | |
130 | } | |
131 | */ |