]>
Commit | Line | Data |
---|---|---|
19f2f11e NL |
1 | /* ========================================================================== |
2 | Sommaire | |
3 | ||
4 | 1 = Style Guide | |
5 | 2 = Layout | |
6 | 3 = Pictos | |
7 | 4 = Messages | |
8 | 5 = Article | |
9 | 6 = Media queries | |
371ac69a | 10 | |
19f2f11e NL |
11 | ========================================================================== */ |
12 | ||
13 | html { | |
14 | min-height: 100%; | |
15 | } | |
16 | ||
17 | body { | |
18 | background-color: #EEE; | |
19 | } | |
20 | ||
21 | .login { | |
22 | background-color: #333; | |
23 | } | |
24 | ||
25 | .login #main { | |
26 | padding: 0; | |
27 | margin: 0; | |
28 | } | |
29 | ||
30 | .login form { | |
31 | background-color: #FFF; | |
32 | padding: 1.5em; | |
33 | box-shadow: 0 1px 8px rgba(0,0,0,0.9); | |
34 | width: 20em; | |
35 | position: absolute; | |
36 | top: 8em; | |
37 | left: 50%; | |
38 | margin-left: -10em; | |
39 | } | |
40 | ||
41 | .login .logo { | |
42 | position: absolute; | |
43 | top: 2em; | |
44 | left: 50%; | |
371ac69a | 45 | margin-left: -55px; |
19f2f11e NL |
46 | } |
47 | ||
48 | /* ========================================================================== | |
49 | 1 = Style Guide | |
50 | ========================================================================== */ | |
51 | ||
371ac69a J |
52 | ::selection { |
53 | color: #FFF; | |
19f2f11e | 54 | background-color: #000; |
371ac69a | 55 | } |
19f2f11e NL |
56 | |
57 | .desktopHide { | |
58 | display: none; | |
59 | } | |
60 | ||
61 | .logo { | |
62 | position: fixed; | |
63 | z-index: 20; | |
64 | top: 0.4em; | |
371ac69a | 65 | left: 0.6em; |
19f2f11e NL |
66 | } |
67 | ||
68 | h2, h3, h4 { | |
69 | font-family: 'PT Sans', sans-serif; | |
70 | text-transform: uppercase; | |
71 | } | |
72 | ||
73 | p, li, label { | |
74 | color: #666; | |
75 | } | |
76 | ||
77 | a { | |
78 | color: #000; | |
79 | font-weight: bold; | |
80 | } | |
81 | ||
82 | a:hover, a:focus { | |
83 | text-decoration: none; | |
84 | } | |
85 | ||
86 | form fieldset { | |
87 | border:0; | |
88 | padding: 0; | |
89 | margin: 0; | |
90 | } | |
91 | ||
371ac69a | 92 | form input[type="text"], form input[type="number"], select, form input[type="password"], form input[type="url"], form input[type="email"] { |
19f2f11e NL |
93 | border: 1px solid #999; |
94 | padding: 0.5em 1em; | |
95 | min-width: 12em; | |
96 | color: #666; | |
97 | } | |
98 | ||
99 | @media screen and (-webkit-min-device-pixel-ratio:0){ | |
100 | select{ | |
101 | -webkit-appearance: none; | |
102 | border-radius: 0; | |
103 | background: #FFF url(../img/bg-select.png) no-repeat right center; | |
104 | } | |
105 | } | |
106 | ||
107 | .inline .row { | |
108 | display: inline-block; | |
109 | margin-right: 0.5em; | |
110 | } | |
111 | ||
112 | .inline label { | |
113 | min-width: 6em; | |
114 | } | |
115 | ||
116 | fieldset label { | |
117 | display: inline-block; | |
118 | min-width: 12.5em; | |
119 | color: #666; | |
120 | } | |
121 | ||
122 | label { | |
123 | margin-right: 0.5em; | |
124 | } | |
125 | ||
126 | form .row { | |
127 | margin-bottom: 0.5em; | |
128 | } | |
129 | ||
130 | form button, input[type="submit"] { | |
131 | cursor:pointer; | |
132 | background-color: #000; | |
133 | color: #FFF; | |
134 | border:0; | |
135 | padding: 0.5em 1em; | |
136 | display: inline-block; | |
137 | border:1px solid #000; | |
138 | } | |
139 | ||
140 | form button:hover, form button:focus, input[type="submit"]:hover, input[type="submit"]:focus { | |
141 | background-color: #FFF; | |
142 | color: #000; | |
143 | -webkit-transition: all 0.5s ease; | |
144 | -moz-transition: all 0.5s ease; | |
145 | -ms-transition: all 0.5s ease; | |
146 | -o-transition: all 0.5s ease; | |
147 | transition: all 0.5s ease; | |
148 | } | |
149 | ||
150 | #bookmarklet { | |
151 | cursor: move; | |
371ac69a | 152 | } |
19f2f11e NL |
153 | |
154 | h2:after { | |
155 | content: ""; | |
156 | height: 4px; | |
157 | width: 70px; | |
158 | background-color: #000; | |
159 | display: block; | |
160 | } | |
161 | ||
162 | .links { | |
163 | padding: 0; | |
164 | margin: 0; | |
165 | } | |
166 | .links li { | |
167 | list-style: none; | |
168 | margin: 0; | |
169 | padding: 0; | |
170 | } | |
171 | ||
172 | ||
173 | #links { | |
174 | position: fixed; | |
175 | top: 0; | |
176 | width: 10em; | |
177 | left: 0; | |
178 | text-align: right; | |
179 | background-color: #333; | |
180 | padding-top: 9.5em; | |
181 | height: 100%; | |
182 | box-shadow:inset -4px 0 20px rgba(0,0,0,0.6); | |
183 | z-index: 15; | |
184 | } | |
185 | ||
186 | #main { | |
187 | margin-left: 13em; | |
188 | position: relative; | |
189 | z-index: 10; | |
190 | padding-right: 5%; | |
191 | padding-bottom: 1em; | |
192 | } | |
193 | ||
194 | #links > li > a { | |
195 | display: block; | |
196 | padding: 0.5em 2em 0.5em 1em; | |
197 | color: #FFF; | |
198 | position: relative; | |
199 | text-transform: uppercase; | |
200 | text-decoration: none; | |
201 | font-weight: normal; | |
202 | font-family: 'PT Sans', sans-serif; | |
203 | -webkit-transition: all 0.5s ease; | |
204 | -moz-transition: all 0.5s ease; | |
205 | -ms-transition: all 0.5s ease; | |
206 | -o-transition: all 0.5s ease; | |
207 | transition: all 0.5s ease; | |
208 | } | |
209 | ||
210 | #links > li > a:hover, #links > li > a:focus { | |
211 | background-color: #999; | |
212 | color: #000; | |
213 | } | |
214 | ||
215 | #links .current:after { | |
216 | content: ""; | |
217 | width: 0; | |
218 | height: 0; | |
219 | position: absolute; | |
220 | border-style: solid; | |
221 | border-width: 10px; | |
222 | border-color: transparent #EEE transparent transparent; | |
223 | right: 0; | |
224 | top: 50%; | |
225 | margin-top: -10px; | |
226 | } | |
227 | ||
228 | #links li:last-child { | |
229 | position: fixed; | |
230 | bottom: 1em; | |
231 | width: 10em; | |
232 | } | |
233 | ||
234 | #links li:last-child a:before { | |
235 | font-size: 1.2em; | |
236 | position: relative; | |
237 | top: 2px; | |
238 | } | |
239 | ||
240 | ||
241 | #sort { | |
242 | padding: 0; | |
243 | list-style-type: none; | |
244 | opacity: 0.5; | |
245 | display: inline-block; | |
246 | } | |
247 | ||
248 | #sort li { | |
249 | display: inline; | |
250 | font-size: 0.9em; | |
251 | } | |
252 | ||
253 | #sort li + li { | |
254 | margin-left: 10px; | |
255 | } | |
256 | ||
257 | #sort a { | |
258 | padding: 2px 2px 0; | |
259 | vertical-align: middle; | |
260 | } | |
261 | ||
262 | #sort img { | |
263 | vertical-align: baseline; | |
264 | } | |
265 | #sort img:hover { | |
266 | cursor: pointer; | |
267 | } | |
268 | ||
269 | #display-mode { | |
270 | float: right; | |
271 | vertical-align: middle; | |
272 | margin-top: 10px; | |
273 | margin-bottom: 10px; | |
274 | opacity: 0.5; | |
275 | } | |
276 | #listmode { | |
277 | width: 16px; | |
278 | display: inline-block; | |
279 | text-decoration: none; | |
280 | } | |
281 | #listmode a:hover { | |
282 | opacity: 1; | |
283 | } | |
284 | #listmode.tablemode { | |
285 | background-image: url("../img/baggy/table.png"); | |
286 | background-repeat: no-repeat; | |
287 | background-position: bottom; | |
288 | } | |
289 | #listmode.listmode { | |
290 | background-image: url("../img/baggy/list.png"); | |
291 | background-repeat: no-repeat; | |
292 | background-position: bottom; | |
293 | } | |
294 | ||
295 | ||
296 | /* ========================================================================== | |
297 | 2 = Layout | |
298 | ========================================================================== */ | |
371ac69a | 299 | |
19f2f11e NL |
300 | #content { |
301 | margin-top: 5em; | |
302 | min-height: 30em; | |
303 | } | |
304 | ||
305 | footer { | |
306 | text-align: right; | |
307 | position: relative; | |
308 | bottom: 0; | |
309 | right: 5em; | |
310 | color: #999; | |
311 | font-size: 0.8em; | |
312 | font-style: italic; | |
313 | z-index: 20; | |
314 | } | |
315 | ||
316 | footer a { | |
317 | color: #999; | |
318 | font-weight: normal; | |
319 | } | |
320 | ||
321 | .list-entries { | |
322 | letter-spacing:-5px; | |
323 | } | |
324 | ||
26864574 | 325 | .listmode .entry { |
19f2f11e NL |
326 | width: 100%!important; |
327 | margin-left: 0!important; | |
328 | } | |
329 | ||
330 | .list-entries + .results { | |
331 | margin-bottom: 2em; | |
332 | } | |
333 | ||
334 | .estimatedTime .reading-time { | |
335 | color: #999; | |
336 | font-style: italic; | |
337 | font-weight: normal; | |
338 | font-size: 0.9em; | |
339 | } | |
340 | ||
341 | .estimatedTime small { | |
342 | position: relative; | |
343 | top: -1px; | |
344 | } | |
345 | ||
26864574 | 346 | .entry { |
19f2f11e NL |
347 | background-color: #FFF; |
348 | letter-spacing:normal; | |
349 | box-shadow: 0 3px 7px rgba(0,0,0,0.3); | |
350 | display: inline-block; | |
351 | width: 32%; | |
352 | margin-bottom: 1.5em; | |
353 | vertical-align: top; | |
354 | margin-left: 1.5%; | |
355 | position: relative; | |
356 | overflow: hidden; | |
357 | padding: 1.5em 1.5em 3em 1.5em; | |
358 | ||
0d3bafdf JB |
359 | /* Removing CSS transitions because they make the switch from list view to |
360 | * table view jerky | |
361 | */ | |
19f2f11e NL |
362 | /* -webkit-transition: all 0.5s ease; */ |
363 | /* -moz-transition: all 0.5s ease; */ | |
364 | /* -ms-transition: all 0.5s ease; */ | |
365 | /* -o-transition: all 0.5s ease; */ | |
366 | /* transition: all 0.5s ease; */ | |
367 | } | |
368 | ||
26864574 | 369 | .entry:before { |
19f2f11e NL |
370 | content: ""; |
371 | width: 0; | |
372 | height: 0; | |
373 | border-style:solid; | |
374 | border-color: transparent transparent #000 transparent; | |
375 | border-width: 10px; | |
376 | position: absolute; | |
377 | bottom: 0.3em; | |
378 | z-index: 10; | |
379 | right: 1.5em; | |
380 | -webkit-transition: all 0.5s ease; | |
381 | -moz-transition: all 0.5s ease; | |
382 | -ms-transition: all 0.5s ease; | |
383 | -o-transition: all 0.5s ease; | |
384 | transition: all 0.5s ease; | |
385 | } | |
386 | ||
26864574 | 387 | .entry:after { |
19f2f11e NL |
388 | content: ""; |
389 | position: absolute; | |
390 | height: 7px; | |
391 | width: 100%; | |
392 | bottom: 0; | |
393 | left: 0; | |
394 | background-color: #000; | |
395 | -webkit-transition: all 0.5s ease; | |
396 | -moz-transition: all 0.5s ease; | |
397 | -ms-transition: all 0.5s ease; | |
398 | -o-transition: all 0.5s ease; | |
399 | transition: all 0.5s ease; | |
400 | } | |
401 | ||
26864574 | 402 | .entry:hover { |
19f2f11e NL |
403 | box-shadow: 0 3px 10px rgba(0,0,0,1); |
404 | } | |
405 | ||
26864574 | 406 | .entry:hover:after { |
19f2f11e NL |
407 | height: 40px; |
408 | } | |
409 | ||
26864574 | 410 | .entry:hover:before { |
19f2f11e NL |
411 | bottom: 2.4em; |
412 | } | |
413 | ||
26864574 | 414 | .entry:hover h2 a { |
19f2f11e NL |
415 | color: #666; |
416 | } | |
417 | ||
26864574 | 418 | .entry h2 { |
19f2f11e NL |
419 | text-transform: none; |
420 | margin-bottom: 0; | |
421 | line-height: 1.2; | |
422 | } | |
423 | ||
26864574 | 424 | .entry h2:after { |
19f2f11e NL |
425 | content: none; |
426 | } | |
427 | ||
428 | ||
26864574 | 429 | .entry h2 a { |
19f2f11e NL |
430 | display: block; |
431 | text-decoration: none; | |
432 | color: #000; | |
433 | word-wrap: break-word; | |
434 | -webkit-transition: all 0.5s ease; | |
435 | -moz-transition: all 0.5s ease; | |
436 | -ms-transition: all 0.5s ease; | |
437 | -o-transition: all 0.5s ease; | |
438 | transition: all 0.5s ease; | |
439 | } | |
440 | /* | |
26864574 | 441 | .entry h2 a:after { |
19f2f11e NL |
442 | content: ""; |
443 | position: absolute; | |
444 | top: 0; | |
445 | width: 100%; | |
446 | height: 100%; | |
447 | left: 0; | |
448 | } | |
449 | */ | |
450 | ||
b026d3b1 NL |
451 | img.preview { |
452 | max-width: 100%; | |
453 | } | |
454 | ||
26864574 | 455 | .entry p { |
19f2f11e NL |
456 | color: #666; |
457 | font-size: 0.9em; | |
458 | line-height: 1.7; | |
459 | } | |
460 | ||
26864574 | 461 | .entry h2 a:first-letter { |
19f2f11e NL |
462 | text-transform: uppercase; |
463 | } | |
464 | ||
26864574 | 465 | .entry:hover .tools { |
19f2f11e NL |
466 | bottom: 0; |
467 | } | |
468 | ||
26864574 | 469 | .entry .tools { |
19f2f11e NL |
470 | position: absolute; |
471 | bottom: -50px; | |
472 | left: 0; | |
473 | width: 100%; | |
474 | z-index: 10; | |
475 | padding-right: 0.5em; | |
476 | text-align: right; | |
477 | -webkit-transition: all 0.5s ease; | |
478 | -moz-transition: all 0.5s ease; | |
479 | -ms-transition: all 0.5s ease; | |
480 | -o-transition: all 0.5s ease; | |
481 | transition: all 0.5s ease; | |
482 | } | |
483 | ||
26864574 | 484 | .entry .tools a { |
19f2f11e NL |
485 | color: #666; |
486 | text-decoration: none; | |
487 | display: block; | |
488 | padding: 0.4em; | |
489 | } | |
490 | ||
26864574 | 491 | .entry .tools a:hover { |
19f2f11e NL |
492 | color: #FFF; |
493 | } | |
494 | ||
26864574 | 495 | .entry .tools li { |
19f2f11e NL |
496 | display: inline-block; |
497 | } | |
498 | ||
26864574 | 499 | .entry:nth-child(3n+1) { |
19f2f11e NL |
500 | margin-left: 0; |
501 | } | |
502 | ||
503 | .results { | |
504 | letter-spacing: -5px; | |
505 | padding: 0 0 0.5em; | |
506 | } | |
507 | ||
508 | .results > * { | |
509 | display: inline-block; | |
510 | vertical-align: top; | |
511 | letter-spacing: normal; | |
512 | width: 50%; | |
513 | } | |
514 | ||
515 | .pagination { | |
516 | text-align: right; | |
517 | margin-bottom:50px; | |
518 | } | |
519 | ||
520 | .nb-results { | |
521 | text-align: left; | |
522 | font-style: italic; | |
523 | color: #999; | |
524 | } | |
525 | ||
526 | .pagination > * { | |
527 | display: inline-block; | |
528 | margin-left: 0.5em; | |
529 | } | |
530 | ||
531 | .pagination a { | |
532 | color: #999; | |
533 | text-decoration: none; | |
534 | } | |
535 | ||
536 | .pagination a:hover, .pagination a:focus { | |
537 | text-decoration: underline; | |
538 | } | |
539 | ||
540 | .pagination .disabled { | |
541 | display: none; | |
542 | } | |
543 | ||
9fb6ac83 FG |
544 | .pagination .current { |
545 | height: 25px; | |
546 | padding: 4px 8px; | |
547 | border: 1px solid #d5d5d5; | |
548 | text-decoration: none; | |
549 | font-weight: bold; | |
550 | color: #000; | |
551 | background-color: #ccc; | |
552 | } | |
553 | ||
19f2f11e NL |
554 | /* ========================================================================== |
555 | 2.1 = "save a link" related styles | |
556 | ========================================================================== */ | |
557 | ||
558 | .popup-form { | |
559 | background: rgba(0,0,0,0.5); | |
560 | position: absolute; | |
561 | top: 0; | |
562 | left: 10em; | |
563 | z-index: 20; | |
564 | height: 100%; | |
565 | width: 100%; | |
566 | margin: 0; | |
567 | margin-top: -30% !important; /* TODO: get rid of !important here; overridden by .messages selector */ | |
568 | padding: 2em; | |
569 | display: none; | |
570 | border-left: 1px #EEE solid; | |
571 | } | |
572 | ||
0d3bafdf JB |
573 | .popup-form form { |
574 | background-color: #FFF; | |
575 | position: absolute; | |
576 | top: 0; | |
577 | left: 0; | |
578 | z-index: 20; | |
579 | border: 10px solid #000; | |
580 | width: 400px; | |
581 | height: 200px; | |
582 | padding: 2em; | |
583 | } | |
19f2f11e NL |
584 | |
585 | #bagit-form-form .addurl { | |
0d3bafdf | 586 | margin-left: 0; |
19f2f11e NL |
587 | } |
588 | ||
589 | .closeMessage, | |
590 | .close-button { | |
591 | background-color: #000; | |
592 | color: #FFF; | |
0d3bafdf JB |
593 | font-size: 1.2em; |
594 | line-height: 1.6; | |
595 | width: 1.6em; | |
596 | height: 1.6em; | |
597 | text-align: center; | |
19f2f11e NL |
598 | text-decoration: none; |
599 | } | |
0d3bafdf JB |
600 | .closeMessage:hover, |
601 | .closeMessage:focus, | |
602 | .close-button:hover, | |
603 | .close-button:focus { | |
604 | background-color: #999; | |
605 | color: #000; | |
606 | } | |
19f2f11e NL |
607 | |
608 | .close-button--popup { | |
0d3bafdf JB |
609 | display: inline-block; |
610 | position: absolute; | |
611 | top: 0; | |
612 | right: 0; | |
613 | font-size: 1.4em; | |
19f2f11e NL |
614 | } |
615 | ||
616 | .active-current { | |
617 | background-color: #999; | |
618 | } | |
619 | ||
620 | .active-current:after { | |
621 | content: ""; | |
622 | width: 0; | |
623 | height: 0; | |
624 | position: absolute; | |
625 | border-style: solid; | |
626 | border-width: 10px; | |
627 | border-color: transparent #EEE transparent transparent; | |
628 | right: 0; | |
629 | top: 50%; | |
630 | margin-top: -10px; | |
631 | } | |
632 | ||
633 | .opacity03 { | |
634 | opacity: 0.3; | |
635 | } | |
636 | ||
637 | .add-to-wallabag-link-after { | |
638 | background-color: #000; | |
639 | color: #fff; | |
640 | padding: 0 3px 2px 3px; | |
641 | } | |
642 | ||
643 | a.add-to-wallabag-link-after { | |
644 | visibility: hidden; | |
645 | position: absolute; | |
646 | opacity: 0; | |
647 | transition-duration: 2s; | |
648 | transition-timing-function: ease-out; | |
649 | } | |
650 | ||
651 | #article article a:hover + a.add-to-wallabag-link-after, a.add-to-wallabag-link-after:hover { | |
652 | opacity: 1; | |
653 | visibility: visible; | |
654 | transition-duration: .3s; | |
655 | transition-timing-function: ease-in; | |
656 | } | |
657 | ||
658 | a.add-to-wallabag-link-after:after { | |
659 | content: "w"; | |
660 | } | |
661 | ||
662 | #add-link-result { | |
663 | font-weight: bold; | |
664 | font-size: 0.9em; | |
665 | } | |
666 | ||
667 | /* ========================================================================== | |
668 | 3 = Pictos | |
669 | ========================================================================== */ | |
371ac69a | 670 | |
19f2f11e NL |
671 | @font-face { |
672 | font-family: 'icomoon'; | |
673 | src:url('../fonts/icomoon.eot?-s0mcsx'); | |
674 | src:url('../fonts/icomoon.eot?#iefix-s0mcsx') format('embedded-opentype'), | |
675 | url('../fonts/icomoon.woff?-s0mcsx') format('woff'), | |
676 | url('../fonts/icomoon.ttf?-s0mcsx') format('truetype'), | |
677 | url('../fonts/icomoon.svg?-s0mcsx#icomoon') format('svg'); | |
678 | font-weight: normal; | |
679 | font-style: normal; | |
680 | } | |
681 | ||
682 | .icon span, | |
683 | .icon-image span { | |
684 | position: absolute; | |
685 | top: -9999px; | |
686 | } | |
687 | ||
688 | [class^="icon-"]:before, [class*=" icon-"]:before { | |
689 | font-family: 'icomoon'; | |
690 | speak: none; | |
691 | font-style: normal; | |
692 | font-weight: normal; | |
693 | font-variant: normal; | |
694 | text-transform: none; | |
695 | line-height: 1; | |
696 | ||
697 | /* Better Font Rendering =========== */ | |
698 | -webkit-font-smoothing: antialiased; | |
699 | -moz-osx-font-smoothing: grayscale; | |
700 | } | |
701 | ||
702 | .icon-flattr:before { | |
703 | content: "\e800"; | |
704 | } | |
705 | .icon-mail:before { | |
706 | content: "\e80a"; | |
707 | } | |
708 | .icon-up-open:before { | |
709 | content: "\e80b"; | |
710 | } | |
711 | .icon-star:before { | |
712 | content: "\e805"; | |
713 | } | |
714 | .icon-check:before { | |
715 | content: "\e804"; | |
716 | } | |
717 | .icon-link:before { | |
718 | content: "\e801"; | |
719 | } | |
720 | .icon-reply:before { | |
721 | content: "\e806"; | |
722 | } | |
723 | .icon-menu:before { | |
724 | content: "\e802"; | |
725 | } | |
726 | .icon-clock:before { | |
727 | content: "\e803"; | |
728 | } | |
729 | .icon-twitter:before { | |
730 | content: "\e807"; | |
731 | } | |
732 | .icon-down-open:before { | |
733 | content: "\e809"; | |
734 | } | |
735 | .icon-trash:before { | |
736 | content: "\e80c"; | |
737 | } | |
738 | .icon-delete:before { | |
739 | content: "\e600"; | |
740 | } | |
741 | .icon-power:before { | |
742 | content: "\e601"; | |
743 | } | |
744 | .icon-arrow-up-thick:before { | |
745 | content: "\e602"; | |
746 | } | |
747 | .icon-rss:before { | |
748 | content: "\e808"; | |
749 | } | |
750 | .icon-print:before { | |
751 | content: "\e80d"; | |
752 | } | |
753 | ||
754 | ||
755 | /* .icon-image class, for image-based icons | |
0d3bafdf | 756 | ========================================================================== */ |
19f2f11e NL |
757 | |
758 | .icon-image { | |
0d3bafdf JB |
759 | background-size: 16px 16px; |
760 | background-repeat: no-repeat; | |
761 | background-position: center; | |
762 | padding-right: 1em !important; | |
763 | padding-left: 1em !important; | |
19f2f11e NL |
764 | } |
765 | ||
766 | /* Carrot (http://carrot.org) */ | |
767 | .icon-image--carrot { | |
0d3bafdf | 768 | background-image: url('../../_global/img/icons/carrot-icon--white.png'); |
19f2f11e NL |
769 | } |
770 | ||
771 | /* Diaspora */ | |
772 | .icon-image--diaspora { | |
0d3bafdf | 773 | background-image: url('../../_global/img/icons/diaspora-icon--black.png'); |
a24c1ee3 | 774 | } |
19f2f11e NL |
775 | |
776 | /* ========================================================================== | |
777 | Icon selected | |
778 | ========================================================================== */ | |
779 | ||
780 | .icon-star.fav:before { | |
781 | color: #FFF; | |
782 | } | |
783 | ||
784 | .icon-check.archive:before { | |
785 | color: #FFF; | |
786 | } | |
787 | ||
788 | /* ========================================================================== | |
789 | 4 = Messages | |
790 | ========================================================================== */ | |
791 | ||
792 | .messages { | |
793 | text-align: left; | |
794 | margin-top: 1em; | |
795 | } | |
796 | ||
797 | .messages > * { display: inline-block;} | |
798 | ||
799 | .warning { | |
800 | /* font-size: 3em; | |
801 | color: #999; | |
802 | font-style: italic; | |
803 | position: absolute; | |
804 | top: 50%; | |
805 | left: 0; | |
806 | width: 100%; | |
807 | text-align: center; | |
808 | padding-right: 5%; | |
809 | margin-top: -2em;*/ | |
810 | font-weight: bold; | |
811 | display: block; | |
812 | width: 100%; | |
813 | } | |
814 | ||
815 | .more-info { | |
0d3bafdf | 816 | font-size: 0.85em; |
19f2f11e | 817 | line-height: 1.5; |
0d3bafdf | 818 | color: #aaa; |
19f2f11e NL |
819 | } |
820 | ||
0d3bafdf JB |
821 | .more-info a { |
822 | color: #aaa; | |
823 | } | |
19f2f11e NL |
824 | |
825 | /* ========================================================================== | |
826 | 5 = Article | |
827 | ========================================================================== */ | |
828 | ||
829 | #article { | |
830 | width: 70%; | |
831 | margin-bottom: 3em; | |
832 | text-align: justify; | |
833 | } | |
834 | ||
835 | #article .tags { | |
836 | margin-bottom: 1em; | |
837 | } | |
838 | ||
839 | #article i { | |
840 | font-style: normal; | |
841 | } | |
842 | ||
843 | blockquote { | |
844 | border:1px solid #999; | |
845 | background-color: #FFF; | |
846 | padding: 1em; | |
847 | margin: 0; | |
848 | } | |
849 | ||
850 | #article h1 { | |
851 | text-align: left; | |
852 | } | |
853 | ||
854 | #article h2, #article h3, #article h4 { | |
855 | text-transform: none; | |
856 | } | |
857 | ||
858 | #article h2:after { | |
859 | content: none; | |
860 | } | |
861 | ||
862 | .topPosF { | |
863 | position: fixed; | |
864 | right: 20%; | |
865 | bottom: 2em; | |
866 | font-size: 1.5em; | |
867 | } | |
868 | ||
869 | #article_toolbar { | |
870 | margin-bottom: 1em; | |
871 | } | |
872 | ||
873 | #article_toolbar li { | |
874 | display: inline-block; | |
875 | } | |
876 | ||
877 | #article_toolbar a { | |
878 | background-color: #000; | |
879 | padding: 0.3em 0.5em 0.2em; | |
880 | color: #FFF; | |
881 | text-decoration: none; | |
882 | } | |
371ac69a | 883 | |
19f2f11e NL |
884 | #article_toolbar a:hover, #article_toolbar a:focus { |
885 | background-color: #999; | |
886 | } | |
887 | ||
888 | .shaarli:before { | |
889 | content: "*"; | |
890 | } | |
891 | ||
892 | .return { | |
893 | text-decoration: none; | |
894 | margin-top: 1em; | |
895 | display: block; | |
896 | } | |
897 | ||
898 | .return:before { | |
899 | margin-right: 0.5em; | |
900 | } | |
901 | ||
902 | .notags { | |
903 | font-style: italic; | |
904 | color: #999; | |
905 | } | |
906 | ||
907 | .icon-rss { | |
908 | background-color: #000; | |
909 | color: #FFF; | |
910 | padding: 0.2em 0.5em; | |
911 | } | |
912 | ||
913 | .icon-rss:before { | |
914 | position: relative; | |
915 | top: 2px; | |
916 | } | |
917 | ||
918 | .list-tags li { | |
919 | margin-bottom: 0.5em; | |
920 | } | |
921 | ||
922 | .list-tags .icon-rss:hover, .list-tags .icon-rss:focus { | |
923 | background-color: #FFF; | |
924 | color: #000; | |
925 | text-decoration: none; | |
926 | } | |
927 | ||
928 | .list-tags a { | |
929 | text-decoration: none; | |
930 | } | |
931 | ||
932 | .list-tags a:hover, .list-tags a:focus { | |
933 | text-decoration: underline; | |
934 | } | |
935 | ||
936 | pre code { | |
0d3bafdf JB |
937 | font-family: "Courier New", Courier, monospace; |
938 | border: 1px solid #ccc; | |
939 | font-size: 0.96em; | |
19f2f11e NL |
940 | } |
941 | ||
d2fcbf5d | 942 | #filter-form { |
5def3f58 | 943 | position: fixed; |
1a5f7e2d | 944 | width: 20%; |
5def3f58 JB |
945 | height: 100%; |
946 | top: 0; | |
947 | right: 0; | |
948 | background-color: #FFF; | |
949 | padding: 15px; | |
950 | padding-right: 30px; | |
951 | padding-top: 30px; | |
0d3bafdf | 952 | border-left: 1px #333 solid; |
5def3f58 JB |
953 | z-index: 12; |
954 | ||
955 | /*transition-property: transform; | |
956 | transition-duration: 0.3s; | |
957 | transition-delay: 0.3s; | |
0d3bafdf | 958 | |
5def3f58 | 959 | transform: translate3d(100%, 0, 0);*/ |
d2fcbf5d JB |
960 | } |
961 | ||
962 | #filter-form form { | |
0d3bafdf | 963 | |
5def3f58 JB |
964 | } |
965 | ||
966 | #filter-form form .filter-group { | |
967 | margin: 5px; | |
d2fcbf5d JB |
968 | } |
969 | ||
19f2f11e NL |
970 | |
971 | /* ========================================================================== | |
972 | 6 = Media Queries | |
973 | ========================================================================== */ | |
974 | ||
975 | @media screen and (max-width: 1050px) { | |
26864574 | 976 | .entry { |
19f2f11e NL |
977 | width: 49%; |
978 | } | |
26864574 | 979 | .entry:nth-child(3n+1) { |
19f2f11e NL |
980 | margin-left: 1.5%; |
981 | } | |
26864574 | 982 | .entry:nth-child(2n+1) { |
19f2f11e NL |
983 | margin-left: 0; |
984 | } | |
985 | } | |
986 | ||
987 | @media screen and (max-width: 900px) { | |
988 | #article { | |
989 | width: 80%; | |
990 | } | |
991 | .topPosF { | |
992 | right: 2.5em; | |
993 | } | |
994 | } | |
995 | ||
996 | @media screen and (max-width: 700px) { | |
26864574 | 997 | .entry { |
19f2f11e NL |
998 | width: 100%; |
999 | margin-left: 0; | |
1000 | } | |
1001 | #display-mode { | |
1002 | display: none; | |
1003 | } | |
1004 | } | |
1005 | ||
1006 | @media screen and (max-width: 500px) { | |
26864574 | 1007 | .entry { |
19f2f11e NL |
1008 | width: 100%; |
1009 | margin-left: 0; | |
1010 | } | |
1011 | body > header { | |
1012 | background-color: #333; | |
1013 | position: fixed; | |
1014 | top: 0; | |
1015 | width: 100%; | |
1016 | height: 3em; | |
1017 | z-index: 11; | |
1018 | } | |
1019 | #links li:last-child { | |
1020 | position: static; | |
1021 | width: auto; | |
1022 | } | |
1023 | #links li:last-child a:before { | |
1024 | content: none; | |
1025 | } | |
1026 | .logo { | |
1027 | width: 1.25em; | |
1028 | height: 1.25em; | |
1029 | left: 0; | |
1030 | top: 0; | |
1031 | } | |
1032 | .login > header { | |
1033 | position: static; | |
1034 | } | |
1035 | .login form { | |
1036 | width: 100%; | |
1037 | position: static; | |
1038 | margin-left: 0; | |
1039 | } | |
1040 | .login .logo { | |
1041 | width: auto; | |
1042 | height: auto; | |
1043 | top: 0.5em; | |
1044 | width: 75px; | |
1045 | height: 75px; | |
1046 | margin-left: -37.5px; | |
1047 | } | |
1048 | .desktopHide { | |
1049 | display: block; | |
1050 | position: fixed; | |
1051 | z-index: 20; | |
1052 | top: 0; | |
1053 | right: 0; | |
1054 | border:0; | |
1055 | width: 2.5em; | |
1056 | height: 2.5em; | |
1057 | cursor: pointer; | |
1058 | background-color: #999; | |
1059 | font-size: 1.2em; | |
1060 | } | |
1061 | .desktopHide:hover, .desktopHide:focus { | |
1062 | background-color: #FFF; | |
1063 | } | |
1064 | #links { | |
1065 | display: none; | |
1066 | width: 100%; | |
1067 | height: auto; | |
1068 | padding-top: 3em; | |
1069 | } | |
1070 | #links.menu--open { | |
1071 | display: block; | |
1072 | } | |
1073 | footer { | |
1074 | position: static; | |
1075 | margin-right: 3em; | |
1076 | } | |
1077 | #main { | |
1078 | margin-left: 1.5em; | |
1079 | padding-right: 1.5em; | |
1080 | position: static; | |
1081 | margin-top: 3em; | |
1082 | } | |
1083 | #article_toolbar .topPosF { | |
1084 | display: none; | |
1085 | } | |
1086 | ||
1087 | #article { | |
1088 | width: 100%; | |
1089 | } | |
1090 | ||
1091 | #article h1 { | |
1092 | font-size: 1.5em; | |
1093 | } | |
1094 | #article_toolbar a { | |
1095 | padding: 0.3em 0.4em 0.2em; | |
1096 | } | |
371ac69a | 1097 | |
19f2f11e NL |
1098 | #display-mode { |
1099 | display: none; | |
1100 | } | |
1101 | ||
1102 | .popup-form, #bagit-form, #search-form { | |
1103 | left: 0; | |
1104 | width: 100%; | |
1105 | border-left: none; | |
1106 | } | |
1107 | ||
1108 | .popup-form form, | |
1109 | #bagit-form form, | |
1110 | #search-form form { | |
1111 | width: 100%; | |
1112 | } | |
1113 | } |