Tweaks and cover design
[fsf-giving-guide.git] / stylesheet.css
CommitLineData
afb35b89
RL
1/*Typography*/
2
3@font-face {
4b239f9e
RL
4 font-family: 'Signika Regular';
5 src: local('Signika Regular'), url('fonts/Signika-Regular.ttf') format('truetype');
6}
7
8@font-face {
afb35b89
RL
9 font-family: 'Signika Light';
10 src: local('Signika Light'), url('fonts/Signika-Light.ttf') format('truetype');
11}
12
13@font-face {
08daf010
RL
14 font-family: 'Signika Bold';
15 src: local('Signika Bold'), url('fonts/Signika-Bold.ttf') format('truetype');
16}
17
18@font-face {
afb35b89
RL
19 font-family: 'Open Sans';
20 src: local('Open Sans'), url('fonts/OpenSans-Regular.ttf') format('truetype');
21}
22
08daf010
RL
23@font-face {
24 font-family: 'Open Sans Bold';
25 src: local('Open Sans Bold'), url('fonts/OpenSans-Bold.ttf') format('truetype');
26}
27
afb35b89
RL
28/*Style common HTML tags*/
29
30html {
afb35b89 31 font-family: 'Open Sans', 'DejaVu Sans', Arial, sans-serif;
ed78f54d 32 font-size: 14px;
4b239f9e 33 line-height: 1.4;
afb35b89 34 color: #363636;
1d1ca77b 35 background-color: #fff;
afb35b89
RL
36 width: 100%;
37}
38
08daf010 39/* Type something: */
afb35b89 40
4b239f9e 41a { color: #1F8A70; border-bottom: 1px solid #dbd145; text-decoration: none; }
08daf010 42
4b239f9e 43p { line-height: 1.4; margin-bottom: 1.5em; font-size: 1em; }
afb35b89
RL
44
45i { font-style: italic; }
46b { font-style: oblique; }
47
4b239f9e 48li {list-style-type: circle; padding: 0.4em 0.2em; line-height: 1.4; }
08daf010 49/* ul {margin: 1em 2em 0em 4em;} */
afb35b89 50
91fdbabd 51br {margin-bottom: 0.5em; margin-top: 0.5em;}
afb35b89 52
dd0353ce 53h1 { font-size: 2.20em; font-family: 'Signika Light'; color: #2CAF8F; margin-bottom: 0.5em; margin-top: 1em; }
08daf010 54h2 { font-size: 1.75em; font-family: 'Signika Light'; color: #2CAF8F; margin-bottom: 0.5em; margin-top: 2em; }
4b239f9e 55h3 { font-size: 1.625em; font-family: 'Signika Bold'; color: #484848; margin-bottom: 0.5em; margin-top: 2em; }
08daf010
RL
56h4 { font-size: 1.375em; font-family: 'Signika Light'; color: #4d4d4d; margin-bottom: 0.5em; margin-top: 2em; }
57h5 { font-size: 1.25em; font-family: 'Signika Light'; color: #4d4d4d; margin-bottom: 0.5em; margin-top: 2em; }
58h6 { font-size: 1.125em; font-family: 'Signika Light'; color: #4d4d4d; margin-bottom: 0.5em; margin-top: 2em; }
afb35b89
RL
59
60/*Site-specific*/
61
08daf010
RL
62 /* Header */
63
64.header {
08daf010
RL
65}
66
b190b1f5
RL
67/* Navbar */
68
32d56408 69.header_wrapper {
c8033ceb 70 background-color: #2CAF8F;
d3fcd0ac 71 height: 486px;
c8033ceb 72}
82460b03 73
4b239f9e
RL
74.header a {
75 border-bottom: 0;
08daf010
RL
76}
77
32d56408
RL
78.navbar_wrapper {
79 max-width: 1300px;
73f66771 80 min-width: 1110px;
32d56408
RL
81 margin: auto;
82 text-align: center;
83}
84
08daf010 85.logo_wrapper {
196ca9db 86 padding: 1.3em;
32d56408 87 float: left;
196ca9db
RL
88}
89
4b239f9e
RL
90.join_wrapper {
91 padding: 1.2em;
92 float: right;
32d56408 93 display: inline-block;
08daf010
RL
94}
95
4b239f9e 96.logo, .join {
32d56408
RL
97 max-width: 200px;
98 min-width: 200px;
08daf010
RL
99}
100
73f66771 101.share_wrapper {
73f66771
RL
102}
103
104.share {
91fdbabd
RL
105 position: relative;
106 bottom: 0.8em;
dd0353ce
RL
107 text-align: center;
108}
109
110.share a{
b1f938b2 111 background-color: #FDD53A;
dd0353ce
RL
112 border-bottom: 0;
113 padding: .6em 2em;
114 font-family: 'Signika Bold';
115 font-size: 1.4em;
116 color: #2CAF8F;
117 border-radius: 50em;
118}
119
120.share a:hover {
121 background-color: #FDDE56;
73f66771
RL
122}
123
32d56408
RL
124.navbar {
125 width: 537px;
126 padding: 1em;
196ca9db 127 height: 2.55556em;
32d56408
RL
128 display: inline-block;
129/* float: left; */
afb35b89
RL
130}
131
82460b03 132.navbar li {
4b239f9e
RL
133 font-family: 'Signika Regular';
134 font-size: 1em;
135 background-color: white;
08daf010
RL
136 list-style-type: none;
137 border-right: 1px #9BD2BF solid;
4b239f9e
RL
138 padding: 0 30px 0 30px;
139 line-height: 2.6;
08daf010 140 float: left;
08daf010
RL
141}
142
143.navbar li:first-child {
144 border-radius: 100px 0 0 100px;
08daf010
RL
145}
146
147.navbar li:last-child {
148 border-right: 0;
149 border-radius: 0 100px 100px 0;
08daf010 150}
4b239f9e 151
08daf010
RL
152.navbar li:hover {
153 background-color: #FFDD55;
08daf010
RL
154}
155
156.navbar li a {
157 display: block;
158 text-decoration: none;
08daf010
RL
159}
160
161.navbar li a:hover {
162 color: #4B423B;
163}
164
430f57db 165.intro,
f51aceb5 166.share {
32d56408 167 max-width: 1300px;
73f66771 168 min-width: 1170px;
32d56408
RL
169}
170
f51aceb5
RL
171.intro_wrapper,
172.intro_img {
e592611b 173 max-width: 500px;
f51aceb5
RL
174 min-width: 00px;
175}
176
177.intro_wrapper {
82460b03 178 float: right;
b1f938b2 179 color: white;
f51aceb5
RL
180 padding-right: 4em;
181}
182
183.intro_img{
184 float: left;
185 padding-left: 4em;
82460b03
RL
186}
187
188.intro_wrapper h2 {
189 color: #FFDD55;
190}
191
d3fcd0ac
RL
192.intro_wrapper a {
193 border-bottom: 1px solid #FDD53A;
194 color: #FDD53A;
195}
196
82460b03 197.intro_img img{
d3fcd0ac 198 padding-top: 1.7em;
f51aceb5 199 width: 100%;
82460b03 200}
812f895f
RL
201
202/* Comparisons */
203
204.wrapper,
f5810b45 205.section_wrapper,
dd0353ce 206.buy_avoid,
d3fcd0ac
RL
207.recommended,
208.licenses {
dd0353ce 209 max-width: 750px;
812f895f
RL
210 min-width: 750px;
211 margin: auto;
212}
213
214.main_title {
e2256b1a 215 width: 100%;
dd0353ce
RL
216 text-align: left;
217 border-bottom: 1px solid lightgray;
812f895f 218 margin-top: 3em;
dd0353ce 219 margin-bottom: 2em;
812f895f
RL
220 display: inline-block;
221}
222
c8033ceb
RL
223.buy a {
224 border-bottom: none;
225}
226
dd0353ce
RL
227.product_img {
228 margin: auto;
e24e7e82 229 max-height: 168px;
dd0353ce
RL
230}
231
c8033ceb
RL
232.product {
233 margin: auto;
dd0353ce 234 display: block;
179fc6e3 235 height: 168px;
dd0353ce 236 /* margin-bottom: 8em; */
e24e7e82 237/* max-height: 168px; */
c8033ceb
RL
238}
239
179fc6e3
RL
240 .proprietary .product_img:after {
241 content: "";
242 background-image: url("images/bad.png");
243 background-size: 25px;
244 background-repeat: no-repeat;
245 width: 25px;
246 height: 25px;
247 position: absolute;
248}
249
250 .free h4:after {
251 content: "";
252 background-image: url("images/good.png");
253 background-size: 25px;
254 background-repeat: no-repeat;
255 width: 25px;
256 height: 25px;
257 position: absolute;
258}
259
260
261/*
c8033ceb
RL
262.good,
263.bad {
179fc6e3 264 FIXME: This is temporary until I fix the sizes
c8033ceb 265 position: relative;
179fc6e3
RL
266
267 left: 60%;
c8033ceb
RL
268 width: 60px;
269}
270
179fc6e3
RL
271*/
272
c8033ceb
RL
273.free, .proprietary {
274 text-align: center;
275}
276
277.free li,
278.proprietary li {
279 text-align: left;
280}
281
282.buy img,
283.avoid img {
c8033ceb
RL
284 max-width: 151px;
285 height: 42px;
286}
287
dd0353ce
RL
288.buy_avoid_wrapper {
289 margin-top: 2em;
290 min-width: 100%;
291 max-width: 100%;
292 display: inline-block;
293}
294
295.buy {
296 text-align: center;
297 margin: auto;
298 width: 45.555555%;
299 float: left;
300
301}
302
303.avoid {
304 text-align: center;
305 margin: auto;
306 width: 45.555555%;
307 float: right;
308}
309
c8033ceb
RL
310.free {
311 float: left;
dd0353ce 312 width: 45.555555%;
c8033ceb
RL
313}
314
315.proprietary {
316 float: right;
dd0353ce 317 width: 45.555555%;
c8033ceb 318}
f5810b45
RL
319
320/* Recommended Section */
321
dd0353ce 322.topic_title {
f5810b45
RL
323 border-bottom: 1px solid #2CAF8F;
324 width: 100%;
325 text-align: left;
326 margin-top: 3em;
327 display: inline-block;
328}
329
330.recommend_wrapper {
331 padding-top: 1em;
332 margin: auto;
333 width: 750px;
334}
335
336.recommended_product {
337 text-align: center;
338 width: 29%;
339 margin: 1em;
340 display: inline-block
341}
342
343.recommended_product_img {
344 width: 120px;
345}
dd0353ce
RL
346
347.recommend_wrapper .buy {
348 float: none;
349 text-align: center;
350 width: 100%;
351}
430f57db
RL
352
353.remark {
354 margin-top: 3em;
355 font-weight: bold;
356}
91fdbabd
RL
357
358/* Licenses */
359
360.licenses h1 {
361 margin-top: 0.6em;
362}
d3fcd0ac
RL
363
364/* Footer */
707ba6b1
RL
365
366footer {
367 display: block;
e24e7e82
RL
368 background-color: #1a1a1a;
369}
370
371.footer_wrapper {
372 width: 750px;
373 margin: auto;
374 padding: 2em;
375 color: white;
707ba6b1 376}