Tweaks
[fsf-giving-guide.git] / stylesheet.css
... / ...
CommitLineData
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
30html {
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: #fffefb;
36 width: 100%;
37}
38
39/* Type something: */
40
41a { color: #1F8A70; border-bottom: 1px solid #dbd145; text-decoration: none; }
42
43p { line-height: 1.4; margin-bottom: 1.5em; font-size: 1em; }
44
45i { font-style: italic; }
46b { font-style: oblique; }
47
48li {list-style-type: circle; padding: 0.4em 0.2em; line-height: 1.4; }
49/* ul {margin: 1em 2em 0em 4em;} */
50
51br {margin-bottom: 20em; margin-top: 20em;}
52
53h1 { font-size: 2.75em; font-family: 'Signika Light'; margin-bottom: 0.5em; margin-top: 1em; }
54h2 { font-size: 1.75em; font-family: 'Signika Light'; color: #2CAF8F; margin-bottom: 0.5em; margin-top: 2em; }
55h3 { font-size: 1.625em; font-family: 'Signika Bold'; color: #484848; margin-bottom: 0.5em; margin-top: 2em; }
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; }
59
60/*Site-specific*/
61
62 /* Header */
63
64.header {
65/* background-image: url("images/banner.png"); */
66/* background-color: #2CAF8F; */
67/* background-repeat: no-repeat; */
68/* height: 710px; */
69/* background-size: 550px; */
70/* background-position: 5% 30%; */
71}
72
73/* Navbar */
74
75.header_wrapper {
76 background-color: #2CAF8F;
77 height: 500px;
78}
79
80.header a {
81 border-bottom: 0;
82}
83
84.navbar_wrapper {
85 max-width: 1300px;
86 min-width: 1035px;
87 margin: auto;
88 text-align: center;
89}
90
91.logo_wrapper {
92 padding: 1.3em;
93 float: left;
94}
95
96.join_wrapper {
97 padding: 1.2em;
98 float: right;
99 display: inline-block;
100}
101
102.logo, .join {
103 max-width: 200px;
104 min-width: 200px;
105}
106
107.navbar {
108 width: 537px;
109 padding: 1em;
110 height: 2.55556em;
111 display: inline-block;
112/* float: left; */
113}
114
115.navbar li {
116 font-family: 'Signika Regular';
117 font-size: 1em;
118 background-color: white;
119 list-style-type: none;
120 border-right: 1px #9BD2BF solid;
121 padding: 0 30px 0 30px;
122 line-height: 2.6;
123 float: left;
124}
125
126.navbar li:first-child {
127 border-radius: 100px 0 0 100px;
128}
129
130.navbar li:last-child {
131 border-right: 0;
132 border-radius: 0 100px 100px 0;
133}
134
135.navbar li:hover {
136 background-color: #FFDD55;
137}
138
139.navbar li a {
140 display: block;
141 text-decoration: none;
142}
143
144.navbar li a:hover {
145 color: #4B423B;
146}
147
148/* Comparisons */
149
150.wrapper,
151.section_wrapper {
152 width: 750px;
153 margin: auto;
154}
155
156.main_title {
157 text-align: center;
158 margin-top: 3em;
159 display: inline-block;
160}
161
162.wrapper .intro_phrase {
163 width: 450px;
164 text-align: center;
165 font-family: 'Signika Bold';
166 margin: 1.2em auto;
167 color: #bababa;
168}
169
170.intro {
171 margin: auto;
172 max-width: 1300px;
173 min-width: 1035px;
174}
175
176.intro_wrapper {
177/* width: 40%; */
178 max-width: 500px;
179 min-width: 500px;
180 float: right;
181 color: white !important;
182 padding-right: 3em;
183}
184
185.intro_wrapper h2 {
186 color: #FFDD55;
187}
188
189.intro_img img{
190 width: 40%;
191 max-width: 500px;
192 float: left;
193 padding: 2em;
194 padding-left: 3em;
195
196}
197.buy a {
198 border-bottom: none;
199}
200
201.product_img,
202.product {
203 margin: auto;
204 width: 168px;
205}
206
207.good,
208.bad {
209 position: relative;
210 top: 175px;
211 left: 84px;
212 width: 60px;
213}
214
215.buy, .avoid,
216.free, .proprietary {
217 text-align: center;
218}
219
220.free li,
221.proprietary li {
222 text-align: left;
223}
224
225.buy img,
226.avoid img {
227 margin-top: 2em;
228 max-width: 151px;
229 height: 42px;
230}
231
232.free {
233 float: left;
234 width: 45%;
235}
236
237.proprietary {
238 float: right;
239 width: 45%;
240}