8ca5b0c169cb6a07b85a38dc45e90212ec3541b5
[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: 20em; margin-top: 20em;}
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: 450px;
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 text-align: center;
106 }
107
108 .share a{
109 background-color: #FDD53A;
110 border-bottom: 0;
111 padding: .6em 2em;
112 font-family: 'Signika Bold';
113 font-size: 1.4em;
114 color: #2CAF8F;
115 border-radius: 50em;
116 }
117
118 .share a:hover {
119 background-color: #FDDE56;
120 }
121
122 .navbar {
123 width: 537px;
124 padding: 1em;
125 height: 2.55556em;
126 display: inline-block;
127 /* float: left; */
128 }
129
130 .navbar li {
131 font-family: 'Signika Regular';
132 font-size: 1em;
133 background-color: white;
134 list-style-type: none;
135 border-right: 1px #9BD2BF solid;
136 padding: 0 30px 0 30px;
137 line-height: 2.6;
138 float: left;
139 }
140
141 .navbar li:first-child {
142 border-radius: 100px 0 0 100px;
143 }
144
145 .navbar li:last-child {
146 border-right: 0;
147 border-radius: 0 100px 100px 0;
148 }
149
150 .navbar li:hover {
151 background-color: #FFDD55;
152 }
153
154 .navbar li a {
155 display: block;
156 text-decoration: none;
157 }
158
159 .navbar li a:hover {
160 color: #4B423B;
161 }
162
163 .intro, .share {
164 max-width: 1300px;
165 min-width: 1170px;
166 }
167
168 .intro_wrapper {
169 width: 50%;
170 max-width: 500px;
171 min-width: 500px;
172 float: right;
173 color: white;
174 padding-right: 5em;
175 }
176
177 .intro_wrapper h2 {
178 color: #FFDD55;
179 }
180
181 .intro_img img{
182 width: 50%;
183 max-width: 500px;
184 float: left;
185 padding: 2em;
186 padding-left: 5em;
187
188 }
189
190 /* Comparisons */
191
192 .wrapper,
193 .section_wrapper,
194 .buy_avoid,
195 .recommended {
196 max-width: 750px;
197 min-width: 750px;
198 margin: auto;
199 }
200
201 .main_title {
202 width: 100%;
203 text-align: left;
204 border-bottom: 1px solid lightgray;
205 margin-top: 3em;
206 margin-bottom: 2em;
207 display: inline-block;
208 }
209
210 .buy a {
211 border-bottom: none;
212 }
213
214 .product_img {
215 margin: auto;
216 /* width: 168px; */
217 height: 168px;
218 }
219
220 .product {
221 margin: auto;
222 display: block;
223 /* margin-bottom: 8em; */
224 /* max-width: 168px; */
225 max-height: 168px;
226 }
227
228 .good,
229 .bad {
230 display: none; /* FIXME: This is temporary until I fix the sizes*/
231 position: relative;
232 top: 175px;
233 left: 84px;
234 width: 60px;
235 }
236
237 .free, .proprietary {
238 text-align: center;
239 }
240
241 .free li,
242 .proprietary li {
243 text-align: left;
244 }
245
246 .buy img,
247 .avoid img {
248 max-width: 151px;
249 height: 42px;
250 }
251
252 .buy_avoid_wrapper {
253 margin-top: 2em;
254 min-width: 100%;
255 max-width: 100%;
256 display: inline-block;
257 }
258
259 .buy {
260 text-align: center;
261 margin: auto;
262 width: 45.555555%;
263 float: left;
264
265 }
266
267 .avoid {
268 text-align: center;
269 margin: auto;
270 width: 45.555555%;
271 float: right;
272 }
273
274 .free {
275 float: left;
276 width: 45.555555%;
277 }
278
279 .proprietary {
280 float: right;
281 width: 45.555555%;
282 }
283
284 /* Recommended Section */
285
286 .topic_title {
287 border-bottom: 1px solid #2CAF8F;
288 width: 100%;
289 text-align: left;
290 margin-top: 3em;
291 display: inline-block;
292 }
293
294 .recommend_wrapper {
295 padding-top: 1em;
296 margin: auto;
297 width: 750px;
298 }
299
300 .recommended_product {
301 text-align: center;
302 width: 29%;
303 margin: 1em;
304 display: inline-block
305 }
306
307 .recommended_product_img {
308 width: 120px;
309 }
310
311 .recommend_wrapper .buy {
312 float: none;
313 text-align: center;
314 width: 100%;
315 }