]>
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 | ||
943ac3c7 NL |
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; | |
1087b3cb | 118 | min-width: 12.5em; |
943ac3c7 NL |
119 | color: #666; |
120 | } | |
121 | ||
1087b3cb JS |
122 | label { |
123 | margin-right: 0.5em; | |
124 | } | |
125 | ||
943ac3c7 NL |
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 | ||
cd271fc4 | 194 | #links > li > a { |
943ac3c7 NL |
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 | ||
cd271fc4 | 210 | #links > li > a:hover, #links > li > a:focus { |
943ac3c7 NL |
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 | ||
943ac3c7 NL |
330 | .list-entries + .results { |
331 | margin-bottom: 2em; | |
332 | } | |
333 | ||
334 | .estimatedTime a { | |
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 | ||
346 | .entrie { | |
347 | background: #FFF; | |
348 | letter-spacing:normal; | |
349 | box-shadow: 0 3px 7px rgba(0,0,0,0.3); | |
350 | display: inline-block; | |
6e8030a0 | 351 | width: 32%; |
943ac3c7 NL |
352 | margin-bottom: 1.5em; |
353 | vertical-align: top; | |
6e8030a0 | 354 | margin-left: 1.5%; |
943ac3c7 NL |
355 | position: relative; |
356 | overflow: hidden; | |
357 | padding: 1.5em 1.5em 3em 1.5em; | |
c9e6fec4 JS |
358 | |
359 | /* Removing CSS transitions because they make the switch from list view to | |
360 | * table view jerky | |
361 | */ | |
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; */ | |
943ac3c7 NL |
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 | ||
b95a6f57 JS |
543 | #bagit-form, |
544 | #search-form { | |
6775da70 MR |
545 | background: rgba(0,0,0,0.5); |
546 | position: absolute; | |
4744cb0e TL |
547 | top: 0; |
548 | left: 10em; | |
549 | z-index: 20; | |
550 | height: 100%; | |
551 | width: 100%; | |
552 | margin: 0; | |
6775da70 | 553 | margin-top: -30%; |
4744cb0e TL |
554 | padding: 2em; |
555 | display: none; | |
6775da70 | 556 | border-left: 1px #EEE solid; |
4744cb0e TL |
557 | } |
558 | ||
b95a6f57 JS |
559 | #bagit-form form, |
560 | #search-form form { | |
561 | background: #FFF; | |
562 | position: absolute; | |
563 | top: 0; | |
564 | left: 0; | |
565 | z-index: 20; | |
566 | border: 10px solid #000; | |
567 | width: 400px; | |
568 | height: 200px; | |
569 | padding: 2em; | |
570 | } | |
4744cb0e | 571 | |
cd271fc4 JS |
572 | #bagit-form-form .addurl { |
573 | margin-left: 0; | |
574 | } | |
575 | ||
576 | .popup-close { | |
6775da70 MR |
577 | background: #000; |
578 | color: #FFF; | |
cd271fc4 JS |
579 | font-size: 1.4em; |
580 | line-height: 1.6em; | |
581 | width: 1.6em; | |
582 | height: 1.6em; | |
583 | text-align: center; | |
6775da70 | 584 | text-decoration: none; |
cd271fc4 JS |
585 | display: inline-block; |
586 | position: absolute; | |
587 | top: 0; | |
588 | right: 0; | |
6775da70 | 589 | } |
cd271fc4 JS |
590 | .popup-close:hover { |
591 | background: #999; | |
592 | color: #000; | |
593 | } | |
6775da70 MR |
594 | |
595 | .active-current { | |
596 | background-color: #999; | |
597 | } | |
598 | ||
599 | .active-current:after { | |
600 | content: ""; | |
601 | width: 0; | |
602 | height: 0; | |
603 | position: absolute; | |
604 | border-style: solid; | |
605 | border-width: 10px; | |
606 | border-color: transparent #EEE transparent transparent; | |
607 | right: 0; | |
608 | top: 50%; | |
609 | margin-top: -10px; | |
610 | } | |
611 | ||
612 | .opacity03 { | |
613 | opacity: 0.3; | |
614 | } | |
615 | ||
616 | .add-to-wallabag-link-after { | |
617 | background-color: #000; | |
618 | color: #fff; | |
619 | padding: 0 3px 2px 3px; | |
620 | } | |
4744cb0e | 621 | |
74e09e56 | 622 | a.add-to-wallabag-link-after { |
623 | visibility: hidden; | |
624 | position: absolute; | |
625 | opacity: 0; | |
626 | transition-duration: 2s; | |
627 | transition-timing-function: ease-out; | |
628 | } | |
629 | ||
630 | #article article a:hover + a.add-to-wallabag-link-after, a.add-to-wallabag-link-after:hover { | |
631 | opacity: 1; | |
632 | visibility: visible; | |
633 | transition-duration: .3s; | |
634 | transition-timing-function: ease-in; | |
635 | } | |
636 | ||
637 | a.add-to-wallabag-link-after:after { | |
638 | content: "w"; | |
639 | } | |
640 | ||
3ee27ee6 MR |
641 | #add-link-result { |
642 | font-weight: bold; | |
3e870665 | 643 | font-size: 0.9em; |
3ee27ee6 MR |
644 | } |
645 | ||
2c4e7a1c | 646 | /* ========================================================================== |
647 | 2.2 = "search for articles" popup div related styles | |
648 | ========================================================================== */ | |
2c4e7a1c | 649 | |
2c4e7a1c | 650 | #submit-search{ |
b95a6f57 JS |
651 | margin-left: 4em; |
652 | margin-top: 1em; | |
2c4e7a1c | 653 | } |
654 | ||
943ac3c7 NL |
655 | /* ========================================================================== |
656 | 3 = Pictos | |
657 | ========================================================================== */ | |
658 | ||
659 | @font-face { | |
660 | font-family: 'icomoon'; | |
cd425599 NL |
661 | src:url('../fonts/icomoon.eot?-s0mcsx'); |
662 | src:url('../fonts/icomoon.eot?#iefix-s0mcsx') format('embedded-opentype'), | |
663 | url('../fonts/icomoon.woff?-s0mcsx') format('woff'), | |
664 | url('../fonts/icomoon.ttf?-s0mcsx') format('truetype'), | |
665 | url('../fonts/icomoon.svg?-s0mcsx#icomoon') format('svg'); | |
943ac3c7 NL |
666 | font-weight: normal; |
667 | font-style: normal; | |
668 | } | |
669 | ||
670 | .icon span { | |
671 | position: absolute; | |
672 | top: -9999px; | |
673 | } | |
674 | ||
675 | [class^="icon-"]:before, [class*=" icon-"]:before { | |
676 | font-family: 'icomoon'; | |
677 | speak: none; | |
678 | font-style: normal; | |
679 | font-weight: normal; | |
680 | font-variant: normal; | |
681 | text-transform: none; | |
682 | line-height: 1; | |
683 | ||
684 | /* Better Font Rendering =========== */ | |
685 | -webkit-font-smoothing: antialiased; | |
686 | -moz-osx-font-smoothing: grayscale; | |
687 | } | |
688 | ||
689 | .icon-flattr:before { | |
690 | content: "\e800"; | |
691 | } | |
692 | .icon-mail:before { | |
693 | content: "\e80a"; | |
694 | } | |
695 | .icon-up-open:before { | |
696 | content: "\e80b"; | |
697 | } | |
698 | .icon-star:before { | |
699 | content: "\e805"; | |
700 | } | |
701 | .icon-check:before { | |
702 | content: "\e804"; | |
703 | } | |
704 | .icon-link:before { | |
705 | content: "\e801"; | |
706 | } | |
707 | .icon-reply:before { | |
708 | content: "\e806"; | |
709 | } | |
710 | .icon-menu:before { | |
711 | content: "\e802"; | |
712 | } | |
713 | .icon-clock:before { | |
714 | content: "\e803"; | |
715 | } | |
716 | .icon-twitter:before { | |
717 | content: "\e807"; | |
718 | } | |
719 | .icon-down-open:before { | |
720 | content: "\e809"; | |
721 | } | |
722 | .icon-trash:before { | |
723 | content: "\e80c"; | |
724 | } | |
725 | .icon-delete:before { | |
726 | content: "\e600"; | |
727 | } | |
728 | .icon-power:before { | |
729 | content: "\e601"; | |
730 | } | |
731 | .icon-arrow-up-thick:before { | |
732 | content: "\e602"; | |
733 | } | |
734 | .icon-rss:before { | |
735 | content: "\e808"; | |
736 | } | |
c2cf7075 MR |
737 | .icon-print:before { |
738 | content: "\e80d"; | |
739 | } | |
943ac3c7 NL |
740 | |
741 | /* ========================================================================== | |
742 | Icon selected | |
743 | ========================================================================== */ | |
744 | ||
745 | .icon-star.fav:before { | |
746 | color: #FFF; | |
747 | } | |
748 | ||
f56791e6 | 749 | .icon-check.archive:before { |
750 | color: #FFF; | |
751 | } | |
752 | ||
943ac3c7 NL |
753 | /* ========================================================================== |
754 | 4 = Messages | |
755 | ========================================================================== */ | |
756 | ||
757 | .messages { | |
032e0ca1 MR |
758 | text-align: left; |
759 | margin-top: 1em; | |
943ac3c7 NL |
760 | } |
761 | ||
762 | .messages > * { display: inline-block;} | |
763 | ||
764 | .closeMessage { | |
765 | background: #000; | |
766 | color: #FFF; | |
767 | padding: 0.2em 0.5em; | |
768 | text-decoration: none; | |
769 | } | |
770 | ||
771 | .closeMessage:hover, .closeMessage:focus { | |
772 | background: #FFF; | |
773 | color: #000; | |
774 | } | |
775 | ||
776 | .warning { | |
a4585f7e | 777 | /* font-size: 3em; |
943ac3c7 NL |
778 | color: #999; |
779 | font-style: italic; | |
780 | position: absolute; | |
781 | top: 50%; | |
782 | left: 0; | |
783 | width: 100%; | |
784 | text-align: center; | |
785 | padding-right: 5%; | |
a4585f7e MR |
786 | margin-top: -2em;*/ |
787 | font-weight: bold; | |
788 | display: block; | |
789 | width: 100%; | |
943ac3c7 NL |
790 | } |
791 | ||
792 | /* ========================================================================== | |
793 | 5 = Article | |
794 | ========================================================================== */ | |
795 | ||
796 | #article { | |
797 | width: 70%; | |
798 | margin-bottom: 3em; | |
3ee27ee6 | 799 | text-align: justify; |
943ac3c7 NL |
800 | } |
801 | ||
802 | #article .tags { | |
803 | margin-bottom: 1em; | |
804 | } | |
805 | ||
806 | #article i { | |
807 | font-style: normal; | |
808 | } | |
809 | ||
810 | blockquote { | |
811 | border:1px solid #999; | |
812 | background: #FFF; | |
813 | padding: 1em; | |
814 | margin: 0; | |
815 | } | |
816 | ||
817 | #article h2, #article h3, #article h4 { | |
818 | text-transform: none; | |
819 | } | |
820 | ||
821 | #article h2:after { | |
822 | content: none; | |
823 | } | |
824 | ||
825 | .topPosF { | |
826 | position: fixed; | |
827 | right: 20%; | |
828 | bottom: 2em; | |
829 | font-size: 1.5em; | |
830 | } | |
831 | ||
832 | #article_toolbar { | |
833 | margin-bottom: 1em; | |
834 | } | |
835 | ||
836 | #article_toolbar li { | |
837 | display: inline-block; | |
838 | } | |
839 | ||
840 | #article_toolbar a { | |
841 | background: #000; | |
842 | padding: 0.3em 0.5em 0.2em; | |
843 | color: #FFF; | |
844 | text-decoration: none; | |
845 | } | |
846 | ||
847 | #article_toolbar a:hover, #article_toolbar a:focus { | |
848 | background: #999; | |
849 | } | |
850 | ||
851 | .shaarli:before { | |
852 | content: "*"; | |
853 | } | |
854 | ||
855 | .return { | |
856 | text-decoration: none; | |
857 | margin-top: 1em; | |
858 | display: block; | |
859 | } | |
860 | ||
861 | .return:before { | |
862 | margin-right: 0.5em; | |
863 | } | |
864 | ||
865 | .notags { | |
866 | font-style: italic; | |
867 | color: #999; | |
868 | } | |
869 | ||
870 | .icon-rss { | |
871 | background: #000; | |
872 | color: #FFF; | |
873 | padding: 0.2em 0.5em; | |
874 | } | |
875 | ||
876 | .icon-rss:before { | |
877 | position: relative; | |
878 | top: 2px; | |
879 | } | |
880 | ||
881 | .list-tags li { | |
882 | margin-bottom: 0.5em; | |
883 | } | |
884 | ||
885 | .list-tags .icon-rss:hover, .list-tags .icon-rss:focus { | |
886 | background: #FFF; | |
887 | color: #000; | |
888 | text-decoration: none; | |
889 | } | |
890 | ||
891 | .list-tags a { | |
892 | text-decoration: none; | |
893 | } | |
894 | ||
895 | .list-tags a:hover, .list-tags a:focus { | |
896 | text-decoration: underline; | |
897 | } | |
898 | ||
9f8541ef MR |
899 | pre code { |
900 | font-family: "Courier New", Courier, monospace; | |
901 | border: 1px solid #ccc; | |
902 | font-size: 0.96em; | |
903 | } | |
904 | ||
905 | ||
943ac3c7 NL |
906 | /* ========================================================================== |
907 | 6 = Media Queries | |
908 | ========================================================================== */ | |
909 | ||
910 | @media screen and (max-width: 1050px) { | |
911 | .entrie { | |
912 | width: 49%; | |
913 | } | |
914 | .entrie:nth-child(3n+1) { | |
915 | margin-left: 1.5%; | |
916 | } | |
917 | .entrie:nth-child(2n+1) { | |
918 | margin-left: 0; | |
919 | } | |
920 | } | |
921 | ||
922 | @media screen and (max-width: 900px) { | |
923 | #article { | |
924 | width: 80%; | |
925 | } | |
926 | .topPosF { | |
927 | right: 2.5em; | |
928 | } | |
929 | } | |
930 | ||
931 | @media screen and (max-width: 700px) { | |
932 | .entrie { | |
933 | width: 100%; | |
934 | margin-left: 0; | |
935 | } | |
36a733af MR |
936 | #display-mode { |
937 | display: none; | |
938 | } | |
943ac3c7 NL |
939 | } |
940 | ||
941 | @media screen and (max-width: 500px) { | |
942 | .entrie { | |
943 | width: 100%; | |
944 | margin-left: 0; | |
945 | } | |
946 | body > header { | |
947 | background: #333; | |
948 | position: fixed; | |
949 | top: 0; | |
950 | width: 100%; | |
951 | height: 3em; | |
952 | z-index: 11; | |
953 | } | |
954 | #links li:last-child { | |
955 | position: static; | |
956 | width: auto; | |
957 | } | |
958 | #links li:last-child a:before { | |
959 | content: none; | |
960 | } | |
961 | .logo { | |
f61ffec3 GB |
962 | width: 1.25em; |
963 | height: 1.25em; | |
943ac3c7 NL |
964 | left: 0; |
965 | top: 0; | |
966 | } | |
967 | .login > header { | |
968 | position: static; | |
969 | } | |
970 | .login form { | |
971 | width: 100%; | |
972 | position: static; | |
973 | margin-left: 0; | |
974 | } | |
975 | .login .logo { | |
976 | width: auto; | |
977 | height: auto; | |
978 | top: 0.5em; | |
979 | width: 75px; | |
980 | height: 75px; | |
981 | margin-left: -37.5px; | |
982 | } | |
983 | .desktopHide { | |
984 | display: block; | |
985 | position: fixed; | |
986 | z-index: 20; | |
987 | top: 0; | |
988 | right: 0; | |
989 | border:0; | |
990 | width: 2.5em; | |
991 | height: 2.5em; | |
992 | cursor: pointer; | |
993 | background: #999; | |
994 | font-size: 1.2em; | |
995 | } | |
996 | .desktopHide:hover, .desktopHide:focus { | |
997 | background: #FFF; | |
998 | } | |
999 | #links { | |
1000 | display: none; | |
1001 | width: 100%; | |
1002 | height: auto; | |
1003 | padding-top: 3em; | |
1004 | } | |
1005 | footer { | |
1006 | position: static; | |
1007 | margin-right: 3em; | |
1008 | } | |
1009 | #main { | |
1010 | margin-left: 1.5em; | |
1011 | padding-right: 1.5em; | |
1012 | position: static; | |
f61ffec3 | 1013 | margin-top: 3em; |
943ac3c7 NL |
1014 | } |
1015 | #article_toolbar .topPosF { | |
1016 | display: none; | |
1017 | } | |
1018 | ||
1019 | #article { | |
1020 | width: 100%; | |
1021 | } | |
1022 | ||
1023 | #article h1 { | |
1024 | font-size: 1.5em; | |
1025 | } | |
1026 | #article_toolbar a { | |
1027 | padding: 0.3em 0.4em 0.2em; | |
1028 | } | |
36a733af MR |
1029 | |
1030 | #display-mode { | |
1031 | display: none; | |
1032 | } | |
6775da70 | 1033 | |
08f539f7 | 1034 | #bagit-form, #search-form { |
6775da70 MR |
1035 | left: 0; |
1036 | } | |
032e0ca1 | 1037 | } |
9f8541ef | 1038 |