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