Added 'Share' button, fixed 'Buy/avoid' buttons, added img template, removed old img
[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;
08daf010 35 background-color: #fffefb;
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
RL
50
51br {margin-bottom: 20em; margin-top: 20em;}
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 {
82460b03 65/* background-image: url("images/banner.png"); */
c8033ceb 66/* background-color: #2CAF8F; */
82460b03
RL
67/* background-repeat: no-repeat; */
68/* height: 710px; */
69/* background-size: 550px; */
70/* background-position: 5% 30%; */
08daf010
RL
71}
72
b190b1f5
RL
73/* Navbar */
74
32d56408 75.header_wrapper {
c8033ceb 76 background-color: #2CAF8F;
f5810b45 77 height: 450px;
c8033ceb 78}
82460b03 79
4b239f9e
RL
80.header a {
81 border-bottom: 0;
08daf010
RL
82}
83
32d56408
RL
84.navbar_wrapper {
85 max-width: 1300px;
73f66771 86 min-width: 1110px;
32d56408
RL
87 margin: auto;
88 text-align: center;
89}
90
08daf010 91.logo_wrapper {
196ca9db 92 padding: 1.3em;
32d56408 93 float: left;
196ca9db
RL
94}
95
4b239f9e
RL
96.join_wrapper {
97 padding: 1.2em;
98 float: right;
32d56408 99 display: inline-block;
08daf010
RL
100}
101
4b239f9e 102.logo, .join {
32d56408
RL
103 max-width: 200px;
104 min-width: 200px;
08daf010
RL
105}
106
73f66771 107.share_wrapper {
73f66771
RL
108}
109
110.share {
dd0353ce
RL
111 text-align: center;
112}
113
114.share a{
115 background-color: #FFE859;
116 border-bottom: 0;
117 padding: .6em 2em;
118 font-family: 'Signika Bold';
119 font-size: 1.4em;
120 color: #2CAF8F;
121 border-radius: 50em;
122}
123
124.share a:hover {
125 background-color: #FDDE56;
73f66771
RL
126}
127
32d56408
RL
128.navbar {
129 width: 537px;
130 padding: 1em;
196ca9db 131 height: 2.55556em;
32d56408
RL
132 display: inline-block;
133/* float: left; */
afb35b89
RL
134}
135
82460b03 136.navbar li {
4b239f9e
RL
137 font-family: 'Signika Regular';
138 font-size: 1em;
139 background-color: white;
08daf010
RL
140 list-style-type: none;
141 border-right: 1px #9BD2BF solid;
4b239f9e
RL
142 padding: 0 30px 0 30px;
143 line-height: 2.6;
08daf010 144 float: left;
08daf010
RL
145}
146
147.navbar li:first-child {
148 border-radius: 100px 0 0 100px;
08daf010
RL
149}
150
151.navbar li:last-child {
152 border-right: 0;
153 border-radius: 0 100px 100px 0;
08daf010 154}
4b239f9e 155
08daf010
RL
156.navbar li:hover {
157 background-color: #FFDD55;
08daf010
RL
158}
159
160.navbar li a {
161 display: block;
162 text-decoration: none;
08daf010
RL
163}
164
165.navbar li a:hover {
166 color: #4B423B;
167}
168
32d56408
RL
169.intro {
170 margin: auto;
171 max-width: 1300px;
73f66771 172 min-width: 1170px;
32d56408
RL
173}
174
82460b03 175.intro_wrapper {
e592611b
RL
176/* width: 40%; */
177 max-width: 500px;
178 min-width: 500px;
82460b03
RL
179 float: right;
180 color: white !important;
73f66771 181/* padding-right: 3em; */
82460b03
RL
182}
183
184.intro_wrapper h2 {
185 color: #FFDD55;
186}
187
188.intro_img img{
189 width: 40%;
e592611b 190 max-width: 500px;
82460b03
RL
191 float: left;
192 padding: 2em;
e592611b 193 padding-left: 3em;
82460b03
RL
194
195}
812f895f
RL
196
197/* Comparisons */
198
199.wrapper,
f5810b45 200.section_wrapper,
dd0353ce 201.buy_avoid,
f5810b45 202.recommended {
dd0353ce 203 max-width: 750px;
812f895f
RL
204 min-width: 750px;
205 margin: auto;
206}
207
208.main_title {
e2256b1a 209 width: 100%;
dd0353ce
RL
210 text-align: left;
211 border-bottom: 1px solid lightgray;
812f895f 212 margin-top: 3em;
dd0353ce 213 margin-bottom: 2em;
812f895f
RL
214 display: inline-block;
215}
216
c8033ceb
RL
217.buy a {
218 border-bottom: none;
219}
220
dd0353ce
RL
221.product_img {
222 margin: auto;
223 /* width: 168px; */
224 height: 168px;
225}
226
c8033ceb
RL
227.product {
228 margin: auto;
dd0353ce
RL
229 display: block;
230 /* margin-bottom: 8em; */
231 /* max-width: 168px; */
232 max-height: 168px;
c8033ceb
RL
233}
234
235.good,
236.bad {
dd0353ce 237 display: none; /* FIXME: This is temporary until I fix the sizes*/
c8033ceb
RL
238 position: relative;
239 top: 175px;
240 left: 84px;
241 width: 60px;
242}
243
c8033ceb
RL
244.free, .proprietary {
245 text-align: center;
246}
247
248.free li,
249.proprietary li {
250 text-align: left;
251}
252
253.buy img,
254.avoid img {
c8033ceb
RL
255 max-width: 151px;
256 height: 42px;
257}
258
dd0353ce
RL
259.buy_avoid_wrapper {
260 margin-top: 2em;
261 min-width: 100%;
262 max-width: 100%;
263 display: inline-block;
264}
265
266.buy {
267 text-align: center;
268 margin: auto;
269 width: 45.555555%;
270 float: left;
271
272}
273
274.avoid {
275 text-align: center;
276 margin: auto;
277 width: 45.555555%;
278 float: right;
279}
280
c8033ceb
RL
281.free {
282 float: left;
dd0353ce 283 width: 45.555555%;
c8033ceb
RL
284}
285
286.proprietary {
287 float: right;
dd0353ce 288 width: 45.555555%;
c8033ceb 289}
f5810b45
RL
290
291/* Recommended Section */
292
dd0353ce 293.topic_title {
f5810b45
RL
294 border-bottom: 1px solid #2CAF8F;
295 width: 100%;
296 text-align: left;
297 margin-top: 3em;
298 display: inline-block;
299}
300
301.recommend_wrapper {
302 padding-top: 1em;
303 margin: auto;
304 width: 750px;
305}
306
307.recommended_product {
308 text-align: center;
309 width: 29%;
310 margin: 1em;
311 display: inline-block
312}
313
314.recommended_product_img {
315 width: 120px;
316}
dd0353ce
RL
317
318.recommend_wrapper .buy {
319 float: none;
320 text-align: center;
321 width: 100%;
322}