Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: static/css/main.css

Issue 29558641: Issue 5740 - Implemented new abp.org footer styles (Closed) Base URL: https://bitbucket.org/adblockplus/adblockplus.org
Patch Set: Rebased on body styles Created Oct. 10, 2017, 11:54 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « static/css/index-desktop.css ('k') | static/css/main-desktop.css » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 * 1 *
2 { 2 {
3 font-family: Arial, sans; 3 font-family: Arial, sans;
4 font-size: 16px; 4 font-size: 16px;
5 } 5 }
6 6
7 body 7 body
8 { 8 {
9 margin: 0; 9 margin: 0;
10 line-height: 1.5; 10 line-height: 1.5;
(...skipping 28 matching lines...) Expand all
39 } 39 }
40 40
41 .sprite 41 .sprite
42 { 42 {
43 display: inline-block; 43 display: inline-block;
44 font-size: 0px; /* fix for IE6 height bug */ 44 font-size: 0px; /* fix for IE6 height bug */
45 background-image: url(../img/sprite-main.png); 45 background-image: url(../img/sprite-main.png);
46 background-repeat: no-repeat; 46 background-repeat: no-repeat;
47 } 47 }
48 48
49 nav ul
50 {
51 list-style: none;
52 margin: 0;
53 padding: 0;
54 }
55
56 nav a:link, nav a:visited
57 {
58 color: #7d7d7d;
59 text-decoration: none;
60 }
61
62 nav a:hover
63 {
64 text-decoration: underline;
65 }
66
67 header 49 header
68 { 50 {
69 display: block; 51 display: block;
70 position: relative; 52 position: relative;
71 background: white; 53 background: white;
72 border: 1px solid #d9d9d9; 54 border: 1px solid #d9d9d9;
73 border-top: none; 55 border-top: none;
74 box-shadow: 1px 1px 0 0 #d9d9d9; 56 box-shadow: 1px 1px 0 0 #d9d9d9;
75 z-index: 1; 57 z-index: 1;
76 } 58 }
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 .toc ul ul 136 .toc ul ul
155 { 137 {
156 padding-left: 40px; 138 padding-left: 40px;
157 } 139 }
158 140
159 .toc li 141 .toc li
160 { 142 {
161 margin: 4px 0; 143 margin: 4px 0;
162 } 144 }
163 145
164 #footer-main 146 #social-list ul
165 {
166 display: block;
167 background: white;
168 box-shadow: 0 -1px 0 0 #b5b4b0, 0 -2px 0 0 #e4e1dc;
169 padding: 0;
170 line-height: 1;
171 }
172
173 #footer-main nav h1, #footer-main nav li
174 {
175 color: #444444;
176 border-bottom: 1px solid #dedede;
177 }
178
179 #footer-main h1
180 {
181 font-size: 16px;
182 margin-top: 0;
183 margin-bottom: 15px;
184 }
185
186 #footer-main nav li
187 {
188 margin-bottom: 5px;
189 }
190
191 #social-list
192 { 147 {
193 list-style: none; 148 list-style: none;
194 padding: 0; 149 padding: 0;
195 margin: 0; 150 margin: 0;
196 } 151 }
197 152
198 .social-entry
199 {
200 display: inline-block;
201 margin: 0px 5px;
202 }
203
204 .social-entry a
205 {
206 width: 82px;
207 height: 82px;
208 -webkit-transition: opacity .5s ease;
209 -moz-transition: opacity .5s ease;
210 -ms-transition: opacity .5s ease;
211 -o-transition: opacity .5s ease;
212 transition: opacity .5s ease;
213 opacity: .6;
214 }
215
216 .social-entry a:hover
217 {
218 opacity: 1.0;
219 }
220
221 #social-facebook
222 {
223 background-position: 0px 0px;
224 }
225
226 #social-twitter
227 {
228 background-position: 0px -83px;
229 }
230
231 #social-gplus
232 {
233 background-position: -83px 0px;
234 }
235
236 div.animation[started="false"]:before 153 div.animation[started="false"]:before
237 { 154 {
238 content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPBAMAAADJ%2B Ih5AAAAFVBMVEUAgAAAgAD%2F%2F%2F%2Fr9uvY7Ni%2B376h0aGeNpcsAAAAAXRSTlNtc%2BXFgwAAA DVJREFUeF5dzVEKACAMAlC7QW6t%2F7r%2FIYOBEPr1GOgw2AHiduaHkwKXwBK4BYZdylrpy4K%2BP%2 Fu5C1CVKVSzAAAAAElFTkSuQmCC); 155 content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPBAMAAADJ%2B Ih5AAAAFVBMVEUAgAAAgAD%2F%2F%2F%2Fr9uvY7Ni%2B376h0aGeNpcsAAAAAXRSTlNtc%2BXFgwAAA DVJREFUeF5dzVEKACAMAlC7QW6t%2F7r%2FIYOBEPr1GOgw2AHiduaHkwKXwBK4BYZdylrpy4K%2BP%2 Fu5C1CVKVSzAAAAAElFTkSuQmCC);
239 padding-left: 0px; 156 padding-left: 0px;
240 padding-right: 3px; 157 padding-right: 3px;
241 } 158 }
242 159
243 html[dir="rtl"] div.animation[started="false"]:before 160 html[dir="rtl"] div.animation[started="false"]:before
244 { 161 {
245 padding-left: 3px; 162 padding-left: 3px;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 font-weight: bold; 205 font-weight: bold;
289 margin: 32px 0px; 206 margin: 32px 0px;
290 margin: 2rem 0rem; 207 margin: 2rem 0rem;
291 } 208 }
292 209
293 .content h1 { font-size: 2.4em; } 210 .content h1 { font-size: 2.4em; }
294 .content h2 { font-size: 1.6em; } 211 .content h2 { font-size: 1.6em; }
295 .content h3 { font-size: 1.3em; } 212 .content h3 { font-size: 1.3em; }
296 .content h4 { font-size: 1.2em; } 213 .content h4 { font-size: 1.2em; }
297 .content h5 { font-size: 1.1em; } 214 .content h5 { font-size: 1.1em; }
215
216 /*******************************************************************************
217 * #site-footer
218 ******************************************************************************/
219
220 #site-footer
221 {
222 overflow: auto;
223 margin-top: 2em;
224 padding-top: 2em;
225 padding-bottom: 2em;
226 color: #ececec;
227 background-color: #292929;
228 font-size: 0.9em;
229 }
230
231 /* #site-footer body
232 ******************************************************************************/
233
234 #site-footer h5
235 {
236 margin-top: 1em;
237 margin-bottom: 1.5em;
238 }
239
240 #site-footer h5::after
241 {
242 content: "";
243 display: block;
244 width: 1.25em;
245 height: 3px;
246 margin-top: 0.5em;
247 border: none;
248 background-color: #ececec;
249 }
250
251 #site-footer li
252 {
253 list-style-type: none;
254 }
255
256 #site-footer ul
257 {
258 padding: 0px;
259 }
260
261 #site-footer a
262 {
263 color: #ececec;
264 text-decoration: none;
265 }
266
267 #site-footer a:hover,
268 #site-footer a:active,
269 #site-footer a:focus
270 {
271 color: #fff;
272 text-decoration: underline;
273 }
274
275 /* #site-footer #social-list
276 ******************************************************************************/
277
278 #social-list li
279 {
280 display: block;
281 float: left;
282 }
283
284 [dir="rtl"] #social-list li
285 {
286 float: right;
287 }
288
289 #social-list li
290 {
291 margin-right: 0.5em;
292 }
293
294 [dir="rtl"] #social-list li
295 {
296 margin-left: 0.5em;
297 }
298
299 #social-list img
300 {
301 height: 3em;
302 }
303
304 /* smaller on tablet / small desktop only */
305 @media(min-width: 768px) and (max-width: 1200px)
306 {
307 #social-list img
308 {
309 height: 2em;
310 }
311 }
312
313 /* #site-footer #footer-legal
314 ******************************************************************************/
315
316 #footer-legal
317 {
318 overflow: auto;
319 margin-top: 2em;
320 }
321
322 /* #site-footer #footer-legal #legal-list
323 ******************************************************************************/
324
325 #legal-list li
326 {
327 display: block;
328 float: left;
329 }
330
331 [dir="rtl"] #legal-list li
332 {
333 float: right;
334 }
335
336 #legal-list li::after
337 {
338 margin-left: 0.25em;
339 margin-right: 0.25em;
340 content: "|"
341 }
342
343 #legal-list li:last-of-type::after
344 {
345 content: none;
346 }
347
348 /* float copyright and legal links left and right on ~desktop */
349 @media(min-width: 1200px)
350 {
351 #copyright-notice
352 {
353 float: left;
354 }
355
356 [dir="rtl"] #copyright-notice
357 {
358 float: right;
359 }
360
361 #legal-list
362 {
363 float: right;
364 }
365
366 [dir="rtl"] #legal-list
367 {
368 float: left;
369 }
370 }
371
372 /* hide all footer links except #social-list on ~mobile */
373 @media(max-width: 767px)
374 {
375 #site-footer .column
376 {
377 display: none;
378 }
379
380 /* overriding display:none above */
381 #site-footer #social-list
382 {
383 display: block;
384 }
385 }
OLDNEW
« no previous file with comments | « static/css/index-desktop.css ('k') | static/css/main-desktop.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld