]>
Commit | Line | Data |
---|---|---|
943ac3c7 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 | |
10 | ||
11 | ========================================================================== */ | |
12 | ||
13 | html { | |
14 | min-height: 100%; | |
15 | } | |
16 | ||
17 | body { | |
18 | background: #EEE; | |
19 | } | |
20 | ||
21 | .login { | |
22 | background: #333; | |
23 | } | |
24 | ||
25 | .login #main { | |
26 | padding: 0; | |
27 | margin: 0; | |
28 | } | |
29 | ||
30 | .login form { | |
31 | background: #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%; | |
45 | margin-left: -55px; | |
46 | } | |
47 | ||
48 | /* ========================================================================== | |
49 | 1 = Style Guide | |
50 | ========================================================================== */ | |
51 | ||
52 | ::selection { | |
53 | color: #FFF; | |
54 | background: #000; | |
55 | } | |
56 | ||
57 | .desktopHide { | |
58 | display: none; | |
59 | } | |
60 | ||
61 | .logo { | |
62 | position: fixed; | |
63 | z-index: 20; | |
64 | top: 0.4em; | |
65 | left: 0.6em; | |
66 | } | |
67 | ||
68 | h2, h3, h4 { | |
69 | font-family: 'PT Sans', sans-serif; | |
70 | text-transform: uppercase; | |
71 | } | |
72 | ||
73 | p, li { | |
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 | ||
046b9316 | 92 | form input[type="text"], select, form input[type="password"], form input[type="url"], form input[type="email"] { |
943ac3c7 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 | fieldset label { | |
108 | min-width: 12.5em; | |
109 | } | |
110 | ||
111 | .inline .row { | |
112 | display: inline-block; | |
113 | margin-right: 0.5em; | |
114 | } | |
115 | ||
116 | .inline label { | |
117 | min-width: 6em; | |
118 | } | |
119 | ||
120 | fieldset label { | |
121 | display: inline-block; | |
122 | margin-right: 0.5em; | |
123 | color: #666; | |
124 | } | |
125 | ||
126 | form .row { | |
127 | margin-bottom: 0.5em; | |
128 | } | |
129 | ||
130 | form button, input[type="submit"] { | |
131 | cursor:pointer; | |
132 | background: #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: #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; | |
152 | } | |
153 | ||
154 | h2:after { | |
155 | content: ""; | |
156 | height: 4px; | |
157 | width: 70px; | |
158 | background: #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; | |
4744cb0e | 176 | width: 10em; |
943ac3c7 NL |
177 | left: 0; |
178 | text-align: right; | |
179 | background: #333; | |
36a733af | 180 | padding-top: 9.5em; |
943ac3c7 NL |
181 | height: 100%; |
182 | box-shadow:inset -4px 0 20px rgba(0,0,0,0.6); | |
b9fa7d2c | 183 | z-index: 15; |
943ac3c7 NL |
184 | } |
185 | ||
186 | #main { | |
4744cb0e | 187 | margin-left: 13em; |
943ac3c7 NL |
188 | position: relative; |
189 | z-index: 10; | |
190 | padding-right: 5%; | |
36a733af | 191 | padding-bottom: 1em; |
943ac3c7 NL |
192 | } |
193 | ||
194 | #links 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 a:hover, #links a:focus { | |
211 | background: #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; | |
4744cb0e | 231 | width: 10em; |
943ac3c7 NL |
232 | } |
233 | ||
234 | #links li:last-child a:before { | |
235 | font-size: 1.2em; | |
236 | position: relative; | |
237 | top: 2px; | |
238 | } | |
239 | ||
240 | ||
36a733af MR |
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 | .tablemode { | |
285 | background-image: url("../img/baggy/table.png"); | |
286 | background-repeat: no-repeat; | |
287 | background-position: bottom; | |
288 | } | |
289 | .listmode { | |
290 | background-image: url("../img/baggy/list.png"); | |
291 | background-repeat: no-repeat; | |
292 | background-position: bottom; | |
293 | } | |
294 | ||
295 | ||
943ac3c7 NL |
296 | /* ========================================================================== |
297 | 2 = Layout | |
298 | ========================================================================== */ | |
299 | ||
300 | #content { | |
301 | margin-top: 5em; | |
302 | min-height: 30em; | |
303 | } | |
304 | ||
305 | footer { | |
306 | text-align: right; | |
36a733af | 307 | position: relative; |
943ac3c7 NL |
308 | bottom: 0; |
309 | right: 5em; | |
310 | color: #999; | |
311 | font-size: 0.8em; | |
312 | font-style: italic; | |
565bb72d | 313 | z-index: 20; |
943ac3c7 NL |
314 | } |
315 | ||
316 | footer a { | |
317 | color: #999; | |
318 | font-weight: normal; | |
319 | } | |
320 | ||
321 | .list-entries { | |
322 | letter-spacing:-5px; | |
323 | } | |
324 | ||
4744cb0e TL |
325 | .listmode .entrie { |
326 | width: 100%!important; | |
327 | margin-left: 0!important; | |
328 | } | |
329 | ||
330 | .listmode .entrie p { | |
331 | display: none; | |
332 | } | |
333 | ||
943ac3c7 NL |
334 | .list-entries + .results { |
335 | margin-bottom: 2em; | |
336 | } | |
337 | ||
338 | .estimatedTime a { | |
339 | color: #999; | |
340 | font-style: italic; | |
341 | font-weight: normal; | |
342 | font-size: 0.9em; | |
343 | } | |
344 | ||
345 | .estimatedTime small { | |
346 | position: relative; | |
347 | top: -1px; | |
348 | } | |
349 | ||
350 | .entrie { | |
351 | background: #FFF; | |
352 | letter-spacing:normal; | |
353 | box-shadow: 0 3px 7px rgba(0,0,0,0.3); | |
354 | display: inline-block; | |
6e8030a0 | 355 | width: 32%; |
943ac3c7 NL |
356 | margin-bottom: 1.5em; |
357 | vertical-align: top; | |
6e8030a0 | 358 | margin-left: 1.5%; |
943ac3c7 NL |
359 | position: relative; |
360 | overflow: hidden; | |
361 | padding: 1.5em 1.5em 3em 1.5em; | |
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 | ||
369 | .entrie:before { | |
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 | ||
387 | .entrie:after { | |
388 | content: ""; | |
389 | position: absolute; | |
390 | height: 7px; | |
391 | width: 100%; | |
392 | bottom: 0; | |
393 | left: 0; | |
394 | background: #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 | ||
402 | .entrie:hover { | |
403 | box-shadow: 0 3px 10px rgba(0,0,0,1); | |
404 | } | |
405 | ||
406 | .entrie:hover:after { | |
407 | height: 40px; | |
408 | } | |
409 | ||
410 | .entrie:hover:before { | |
411 | bottom: 2.4em; | |
412 | } | |
413 | ||
414 | .entrie:hover h2 a { | |
415 | color: #666; | |
416 | } | |
417 | ||
418 | .entrie h2 { | |
419 | text-transform: none; | |
420 | margin-bottom: 0; | |
421 | } | |
422 | ||
423 | .entrie h2:after { | |
424 | content: none; | |
425 | } | |
426 | ||
06e1a9a9 | 427 | |
943ac3c7 NL |
428 | .entrie h2 a { |
429 | display: block; | |
430 | text-decoration: none; | |
431 | color: #000; | |
432 | word-wrap: break-word; | |
433 | -webkit-transition: all 0.5s ease; | |
434 | -moz-transition: all 0.5s ease; | |
435 | -ms-transition: all 0.5s ease; | |
436 | -o-transition: all 0.5s ease; | |
437 | transition: all 0.5s ease; | |
438 | } | |
06e1a9a9 | 439 | /* |
943ac3c7 NL |
440 | .entrie h2 a:after { |
441 | content: ""; | |
442 | position: absolute; | |
443 | top: 0; | |
444 | width: 100%; | |
445 | height: 100%; | |
446 | left: 0; | |
447 | } | |
06e1a9a9 | 448 | */ |
943ac3c7 NL |
449 | |
450 | .entrie p { | |
451 | color: #666; | |
452 | font-size: 0.9em; | |
453 | line-height: 1.7; | |
454 | } | |
455 | ||
456 | .entrie h2 a:first-letter { | |
457 | text-transform: uppercase; | |
458 | } | |
459 | ||
460 | .entrie:hover .tools { | |
461 | bottom: 0; | |
462 | } | |
463 | ||
464 | .entrie .tools { | |
465 | position: absolute; | |
466 | bottom: -50px; | |
467 | left: 0; | |
468 | width: 100%; | |
469 | z-index: 10; | |
470 | padding-right: 0.5em; | |
471 | text-align: right; | |
472 | -webkit-transition: all 0.5s ease; | |
473 | -moz-transition: all 0.5s ease; | |
474 | -ms-transition: all 0.5s ease; | |
475 | -o-transition: all 0.5s ease; | |
476 | transition: all 0.5s ease; | |
477 | } | |
478 | ||
479 | .entrie .tools a { | |
480 | color: #666; | |
481 | text-decoration: none; | |
482 | display: block; | |
483 | padding: 0.4em; | |
484 | } | |
485 | ||
486 | .entrie .tools a:hover { | |
487 | color: #FFF; | |
488 | } | |
489 | ||
490 | .entrie .tools li { | |
491 | display: inline-block; | |
492 | } | |
493 | ||
494 | .entrie:nth-child(3n+1) { | |
6e8030a0 | 495 | margin-left: 0; |
943ac3c7 NL |
496 | } |
497 | ||
498 | .results { | |
499 | letter-spacing: -5px; | |
500 | padding: 0 0 0.5em; | |
501 | } | |
502 | ||
503 | .results > * { | |
504 | display: inline-block; | |
505 | vertical-align: top; | |
506 | letter-spacing: normal; | |
507 | width: 50%; | |
508 | } | |
509 | ||
510 | .pagination { | |
511 | text-align: right; | |
fa37042b | 512 | margin-bottom:50px; |
943ac3c7 NL |
513 | } |
514 | ||
515 | .nb-results { | |
516 | text-align: left; | |
517 | font-style: italic; | |
518 | color: #999; | |
519 | } | |
520 | ||
521 | .pagination > * { | |
522 | display: inline-block; | |
523 | margin-left: 0.5em; | |
524 | } | |
525 | ||
526 | .pagination a { | |
527 | color: #999; | |
528 | text-decoration: none; | |
529 | } | |
530 | ||
531 | .pagination a:hover, .pagination a:focus { | |
532 | text-decoration: underline; | |
533 | } | |
534 | ||
535 | .pagination .disabled { | |
536 | display: none; | |
537 | } | |
538 | ||
6775da70 | 539 | /* ========================================================================== |
74e09e56 | 540 | 2.1 = "save a link" related styles |
6775da70 MR |
541 | ========================================================================== */ |
542 | ||
08f539f7 | 543 | #bagit-form, #search-form { |
6775da70 MR |
544 | background: rgba(0,0,0,0.5); |
545 | position: absolute; | |
4744cb0e TL |
546 | top: 0; |
547 | left: 10em; | |
548 | z-index: 20; | |
549 | height: 100%; | |
550 | width: 100%; | |
551 | margin: 0; | |
6775da70 | 552 | margin-top: -30%; |
4744cb0e TL |
553 | padding: 2em; |
554 | display: none; | |
6775da70 | 555 | border-left: 1px #EEE solid; |
4744cb0e TL |
556 | } |
557 | ||
08f539f7 | 558 | #bagit-form form, #search-form form { |
4744cb0e TL |
559 | background: #FFF; |
560 | position: absolute; | |
6775da70 MR |
561 | top: 0; |
562 | left: 0; | |
4744cb0e TL |
563 | z-index: 20; |
564 | border: 10px solid #000; | |
6775da70 MR |
565 | width: 400px; |
566 | height: 200px; | |
567 | /* margin: -150px 0 0 -300px; */ | |
4744cb0e TL |
568 | padding: 2em; |
569 | } | |
570 | ||
08f539f7 | 571 | a#bagit-form-close, a#search-form-close { |
6775da70 MR |
572 | background: #000; |
573 | color: #FFF; | |
574 | padding: 0.2em 0.5em; | |
575 | text-decoration: none; | |
576 | display: inline-block; | |
577 | float: right; | |
578 | font-size: 0.6em; | |
579 | } | |
08f539f7 | 580 | a#bagit-form-close:hover, a#search-form-close:hover { |
6775da70 MR |
581 | background: #999; |
582 | color: #000; | |
583 | } | |
584 | ||
585 | .active-current { | |
586 | background-color: #999; | |
587 | } | |
588 | ||
589 | .active-current:after { | |
590 | content: ""; | |
591 | width: 0; | |
592 | height: 0; | |
593 | position: absolute; | |
594 | border-style: solid; | |
595 | border-width: 10px; | |
596 | border-color: transparent #EEE transparent transparent; | |
597 | right: 0; | |
598 | top: 50%; | |
599 | margin-top: -10px; | |
600 | } | |
601 | ||
602 | .opacity03 { | |
603 | opacity: 0.3; | |
604 | } | |
605 | ||
606 | .add-to-wallabag-link-after { | |
607 | background-color: #000; | |
608 | color: #fff; | |
609 | padding: 0 3px 2px 3px; | |
610 | } | |
4744cb0e | 611 | |
74e09e56 | 612 | a.add-to-wallabag-link-after { |
613 | visibility: hidden; | |
614 | position: absolute; | |
615 | opacity: 0; | |
616 | transition-duration: 2s; | |
617 | transition-timing-function: ease-out; | |
618 | } | |
619 | ||
620 | #article article a:hover + a.add-to-wallabag-link-after, a.add-to-wallabag-link-after:hover { | |
621 | opacity: 1; | |
622 | visibility: visible; | |
623 | transition-duration: .3s; | |
624 | transition-timing-function: ease-in; | |
625 | } | |
626 | ||
627 | a.add-to-wallabag-link-after:after { | |
628 | content: "w"; | |
629 | } | |
630 | ||
3ee27ee6 MR |
631 | #add-link-result { |
632 | font-weight: bold; | |
3e870665 | 633 | font-size: 0.9em; |
3ee27ee6 MR |
634 | } |
635 | ||
2c4e7a1c | 636 | /* ========================================================================== |
637 | 2.2 = "search for articles" popup div related styles | |
638 | ========================================================================== */ | |
639 | #search-form { | |
640 | background: rgba(0,0,0,0.5); | |
641 | position: absolute; | |
642 | top: 0; | |
643 | left: 10em; | |
644 | z-index: 20; | |
645 | height: 100%; | |
646 | width: 100%; | |
647 | margin: 0; | |
648 | margin-top: -30%; | |
649 | padding: 2em; | |
650 | display: none; | |
651 | border-left: 1px #EEE solid; | |
652 | } | |
653 | ||
654 | #search-form form { | |
655 | background: #FFF; | |
656 | position: absolute; | |
657 | top: 0; | |
658 | left: 0; | |
659 | z-index: 20; | |
660 | border: 10px solid #000; | |
661 | width: 400px; | |
662 | height: 200px; | |
663 | /* margin: -150px 0 0 -300px; */ | |
664 | padding: 2em; | |
665 | } | |
666 | ||
667 | a#search-form-close { | |
668 | background: #000; | |
669 | color: #FFF; | |
670 | padding: 0.2em 0.5em; | |
671 | text-decoration: none; | |
672 | display: inline-block; | |
673 | float: right; | |
674 | font-size: 1.2em; | |
675 | } | |
676 | a#search-form-close:hover { | |
677 | background: #999; | |
678 | color: #000; | |
679 | } | |
680 | ||
681 | #submit-search{ | |
682 | margin-left: 4em; | |
683 | margin-top:1em; | |
684 | } | |
685 | ||
943ac3c7 NL |
686 | /* ========================================================================== |
687 | 3 = Pictos | |
688 | ========================================================================== */ | |
689 | ||
690 | @font-face { | |
691 | font-family: 'icomoon'; | |
cd425599 NL |
692 | src:url('../fonts/icomoon.eot?-s0mcsx'); |
693 | src:url('../fonts/icomoon.eot?#iefix-s0mcsx') format('embedded-opentype'), | |
694 | url('../fonts/icomoon.woff?-s0mcsx') format('woff'), | |
695 | url('../fonts/icomoon.ttf?-s0mcsx') format('truetype'), | |
696 | url('../fonts/icomoon.svg?-s0mcsx#icomoon') format('svg'); | |
943ac3c7 NL |
697 | font-weight: normal; |
698 | font-style: normal; | |
699 | } | |
700 | ||
701 | .icon span { | |
702 | position: absolute; | |
703 | top: -9999px; | |
704 | } | |
705 | ||
706 | [class^="icon-"]:before, [class*=" icon-"]:before { | |
707 | font-family: 'icomoon'; | |
708 | speak: none; | |
709 | font-style: normal; | |
710 | font-weight: normal; | |
711 | font-variant: normal; | |
712 | text-transform: none; | |
713 | line-height: 1; | |
714 | ||
715 | /* Better Font Rendering =========== */ | |
716 | -webkit-font-smoothing: antialiased; | |
717 | -moz-osx-font-smoothing: grayscale; | |
718 | } | |
719 | ||
720 | .icon-flattr:before { | |
721 | content: "\e800"; | |
722 | } | |
723 | .icon-mail:before { | |
724 | content: "\e80a"; | |
725 | } | |
726 | .icon-up-open:before { | |
727 | content: "\e80b"; | |
728 | } | |
729 | .icon-star:before { | |
730 | content: "\e805"; | |
731 | } | |
732 | .icon-check:before { | |
733 | content: "\e804"; | |
734 | } | |
735 | .icon-link:before { | |
736 | content: "\e801"; | |
737 | } | |
738 | .icon-reply:before { | |
739 | content: "\e806"; | |
740 | } | |
741 | .icon-menu:before { | |
742 | content: "\e802"; | |
743 | } | |
744 | .icon-clock:before { | |
745 | content: "\e803"; | |
746 | } | |
747 | .icon-twitter:before { | |
748 | content: "\e807"; | |
749 | } | |
750 | .icon-down-open:before { | |
751 | content: "\e809"; | |
752 | } | |
753 | .icon-trash:before { | |
754 | content: "\e80c"; | |
755 | } | |
756 | .icon-delete:before { | |
757 | content: "\e600"; | |
758 | } | |
759 | .icon-power:before { | |
760 | content: "\e601"; | |
761 | } | |
762 | .icon-arrow-up-thick:before { | |
763 | content: "\e602"; | |
764 | } | |
765 | .icon-rss:before { | |
766 | content: "\e808"; | |
767 | } | |
c2cf7075 MR |
768 | .icon-print:before { |
769 | content: "\e80d"; | |
770 | } | |
943ac3c7 NL |
771 | |
772 | /* ========================================================================== | |
773 | Icon selected | |
774 | ========================================================================== */ | |
775 | ||
776 | .icon-star.fav:before { | |
777 | color: #FFF; | |
778 | } | |
779 | ||
f56791e6 | 780 | .icon-check.archive:before { |
781 | color: #FFF; | |
782 | } | |
783 | ||
943ac3c7 NL |
784 | /* ========================================================================== |
785 | 4 = Messages | |
786 | ========================================================================== */ | |
787 | ||
788 | .messages { | |
032e0ca1 MR |
789 | text-align: left; |
790 | margin-top: 1em; | |
943ac3c7 NL |
791 | } |
792 | ||
793 | .messages > * { display: inline-block;} | |
794 | ||
795 | .closeMessage { | |
796 | background: #000; | |
797 | color: #FFF; | |
798 | padding: 0.2em 0.5em; | |
799 | text-decoration: none; | |
800 | } | |
801 | ||
802 | .closeMessage:hover, .closeMessage:focus { | |
803 | background: #FFF; | |
804 | color: #000; | |
805 | } | |
806 | ||
807 | .warning { | |
a4585f7e | 808 | /* font-size: 3em; |
943ac3c7 NL |
809 | color: #999; |
810 | font-style: italic; | |
811 | position: absolute; | |
812 | top: 50%; | |
813 | left: 0; | |
814 | width: 100%; | |
815 | text-align: center; | |
816 | padding-right: 5%; | |
a4585f7e MR |
817 | margin-top: -2em;*/ |
818 | font-weight: bold; | |
819 | display: block; | |
820 | width: 100%; | |
943ac3c7 NL |
821 | } |
822 | ||
823 | /* ========================================================================== | |
824 | 5 = Article | |
825 | ========================================================================== */ | |
826 | ||
827 | #article { | |
828 | width: 70%; | |
829 | margin-bottom: 3em; | |
3ee27ee6 | 830 | text-align: justify; |
943ac3c7 NL |
831 | } |
832 | ||
833 | #article .tags { | |
834 | margin-bottom: 1em; | |
835 | } | |
836 | ||
837 | #article i { | |
838 | font-style: normal; | |
839 | } | |
840 | ||
841 | blockquote { | |
842 | border:1px solid #999; | |
843 | background: #FFF; | |
844 | padding: 1em; | |
845 | margin: 0; | |
846 | } | |
847 | ||
848 | #article h2, #article h3, #article h4 { | |
849 | text-transform: none; | |
850 | } | |
851 | ||
852 | #article h2:after { | |
853 | content: none; | |
854 | } | |
855 | ||
856 | .topPosF { | |
857 | position: fixed; | |
858 | right: 20%; | |
859 | bottom: 2em; | |
860 | font-size: 1.5em; | |
861 | } | |
862 | ||
863 | #article_toolbar { | |
864 | margin-bottom: 1em; | |
865 | } | |
866 | ||
867 | #article_toolbar li { | |
868 | display: inline-block; | |
869 | } | |
870 | ||
871 | #article_toolbar a { | |
872 | background: #000; | |
873 | padding: 0.3em 0.5em 0.2em; | |
874 | color: #FFF; | |
875 | text-decoration: none; | |
876 | } | |
877 | ||
878 | #article_toolbar a:hover, #article_toolbar a:focus { | |
879 | background: #999; | |
880 | } | |
881 | ||
882 | .shaarli:before { | |
883 | content: "*"; | |
884 | } | |
885 | ||
886 | .return { | |
887 | text-decoration: none; | |
888 | margin-top: 1em; | |
889 | display: block; | |
890 | } | |
891 | ||
892 | .return:before { | |
893 | margin-right: 0.5em; | |
894 | } | |
895 | ||
896 | .notags { | |
897 | font-style: italic; | |
898 | color: #999; | |
899 | } | |
900 | ||
901 | .icon-rss { | |
902 | background: #000; | |
903 | color: #FFF; | |
904 | padding: 0.2em 0.5em; | |
905 | } | |
906 | ||
907 | .icon-rss:before { | |
908 | position: relative; | |
909 | top: 2px; | |
910 | } | |
911 | ||
912 | .list-tags li { | |
913 | margin-bottom: 0.5em; | |
914 | } | |
915 | ||
916 | .list-tags .icon-rss:hover, .list-tags .icon-rss:focus { | |
917 | background: #FFF; | |
918 | color: #000; | |
919 | text-decoration: none; | |
920 | } | |
921 | ||
922 | .list-tags a { | |
923 | text-decoration: none; | |
924 | } | |
925 | ||
926 | .list-tags a:hover, .list-tags a:focus { | |
927 | text-decoration: underline; | |
928 | } | |
929 | ||
9f8541ef MR |
930 | pre code { |
931 | font-family: "Courier New", Courier, monospace; | |
932 | border: 1px solid #ccc; | |
933 | font-size: 0.96em; | |
934 | } | |
935 | ||
936 | ||
943ac3c7 NL |
937 | /* ========================================================================== |
938 | 6 = Media Queries | |
939 | ========================================================================== */ | |
940 | ||
941 | @media screen and (max-width: 1050px) { | |
942 | .entrie { | |
943 | width: 49%; | |
944 | } | |
945 | .entrie:nth-child(3n+1) { | |
946 | margin-left: 1.5%; | |
947 | } | |
948 | .entrie:nth-child(2n+1) { | |
949 | margin-left: 0; | |
950 | } | |
951 | } | |
952 | ||
953 | @media screen and (max-width: 900px) { | |
954 | #article { | |
955 | width: 80%; | |
956 | } | |
957 | .topPosF { | |
958 | right: 2.5em; | |
959 | } | |
960 | } | |
961 | ||
962 | @media screen and (max-width: 700px) { | |
963 | .entrie { | |
964 | width: 100%; | |
965 | margin-left: 0; | |
966 | } | |
36a733af MR |
967 | #display-mode { |
968 | display: none; | |
969 | } | |
943ac3c7 NL |
970 | } |
971 | ||
972 | @media screen and (max-width: 500px) { | |
973 | .entrie { | |
974 | width: 100%; | |
975 | margin-left: 0; | |
976 | } | |
977 | body > header { | |
978 | background: #333; | |
979 | position: fixed; | |
980 | top: 0; | |
981 | width: 100%; | |
982 | height: 3em; | |
983 | z-index: 11; | |
984 | } | |
985 | #links li:last-child { | |
986 | position: static; | |
987 | width: auto; | |
988 | } | |
989 | #links li:last-child a:before { | |
990 | content: none; | |
991 | } | |
992 | .logo { | |
f61ffec3 GB |
993 | width: 1.25em; |
994 | height: 1.25em; | |
943ac3c7 NL |
995 | left: 0; |
996 | top: 0; | |
997 | } | |
998 | .login > header { | |
999 | position: static; | |
1000 | } | |
1001 | .login form { | |
1002 | width: 100%; | |
1003 | position: static; | |
1004 | margin-left: 0; | |
1005 | } | |
1006 | .login .logo { | |
1007 | width: auto; | |
1008 | height: auto; | |
1009 | top: 0.5em; | |
1010 | width: 75px; | |
1011 | height: 75px; | |
1012 | margin-left: -37.5px; | |
1013 | } | |
1014 | .desktopHide { | |
1015 | display: block; | |
1016 | position: fixed; | |
1017 | z-index: 20; | |
1018 | top: 0; | |
1019 | right: 0; | |
1020 | border:0; | |
1021 | width: 2.5em; | |
1022 | height: 2.5em; | |
1023 | cursor: pointer; | |
1024 | background: #999; | |
1025 | font-size: 1.2em; | |
1026 | } | |
1027 | .desktopHide:hover, .desktopHide:focus { | |
1028 | background: #FFF; | |
1029 | } | |
1030 | #links { | |
1031 | display: none; | |
1032 | width: 100%; | |
1033 | height: auto; | |
1034 | padding-top: 3em; | |
1035 | } | |
1036 | footer { | |
1037 | position: static; | |
1038 | margin-right: 3em; | |
1039 | } | |
1040 | #main { | |
1041 | margin-left: 1.5em; | |
1042 | padding-right: 1.5em; | |
1043 | position: static; | |
f61ffec3 | 1044 | margin-top: 3em; |
943ac3c7 NL |
1045 | } |
1046 | #article_toolbar .topPosF { | |
1047 | display: none; | |
1048 | } | |
1049 | ||
1050 | #article { | |
1051 | width: 100%; | |
1052 | } | |
1053 | ||
1054 | #article h1 { | |
1055 | font-size: 1.5em; | |
1056 | } | |
1057 | #article_toolbar a { | |
1058 | padding: 0.3em 0.4em 0.2em; | |
1059 | } | |
36a733af MR |
1060 | |
1061 | #display-mode { | |
1062 | display: none; | |
1063 | } | |
6775da70 | 1064 | |
08f539f7 | 1065 | #bagit-form, #search-form { |
6775da70 MR |
1066 | left: 0; |
1067 | } | |
032e0ca1 | 1068 | } |
9f8541ef | 1069 |