]>
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 | ||
92 | form input[type="text"], select, form input[type="password"], form input[type="url"] { | |
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; | |
176 | width: 9em; | |
177 | left: 0; | |
178 | text-align: right; | |
179 | background: #333; | |
180 | padding-top: 9em; | |
181 | height: 100%; | |
182 | box-shadow:inset -4px 0 20px rgba(0,0,0,0.6); | |
183 | z-index: 10; | |
184 | } | |
185 | ||
186 | #main { | |
187 | margin-left: 12em; | |
188 | position: relative; | |
189 | z-index: 10; | |
190 | padding-right: 5%; | |
191 | } | |
192 | ||
193 | #links a { | |
194 | display: block; | |
195 | padding: 0.5em 2em 0.5em 1em; | |
196 | color: #FFF; | |
197 | position: relative; | |
198 | text-transform: uppercase; | |
199 | text-decoration: none; | |
200 | font-weight: normal; | |
201 | font-family: 'PT Sans', sans-serif; | |
202 | -webkit-transition: all 0.5s ease; | |
203 | -moz-transition: all 0.5s ease; | |
204 | -ms-transition: all 0.5s ease; | |
205 | -o-transition: all 0.5s ease; | |
206 | transition: all 0.5s ease; | |
207 | } | |
208 | ||
209 | #links a:hover, #links a:focus { | |
210 | background: #999; | |
211 | color: #000; | |
212 | } | |
213 | ||
214 | #links .current:after { | |
215 | content: ""; | |
216 | width: 0; | |
217 | height: 0; | |
218 | position: absolute; | |
219 | border-style: solid; | |
220 | border-width: 10px; | |
221 | border-color: transparent #EEE transparent transparent; | |
222 | right: 0; | |
223 | top: 50%; | |
224 | margin-top: -10px; | |
225 | } | |
226 | ||
227 | #links li:last-child { | |
228 | position: fixed; | |
229 | bottom: 1em; | |
230 | width: 10%; | |
231 | } | |
232 | ||
233 | #links li:last-child a:before { | |
234 | font-size: 1.2em; | |
235 | position: relative; | |
236 | top: 2px; | |
237 | } | |
238 | ||
239 | ||
240 | /* ========================================================================== | |
241 | 2 = Layout | |
242 | ========================================================================== */ | |
243 | ||
244 | #content { | |
245 | margin-top: 5em; | |
246 | min-height: 30em; | |
247 | } | |
248 | ||
249 | footer { | |
250 | text-align: right; | |
251 | position: fixed; | |
252 | bottom: 0; | |
253 | right: 5em; | |
254 | color: #999; | |
255 | font-size: 0.8em; | |
256 | font-style: italic; | |
565bb72d | 257 | z-index: 20; |
943ac3c7 NL |
258 | } |
259 | ||
260 | footer a { | |
261 | color: #999; | |
262 | font-weight: normal; | |
263 | } | |
264 | ||
265 | .list-entries { | |
266 | letter-spacing:-5px; | |
267 | } | |
268 | ||
269 | .list-entries + .results { | |
270 | margin-bottom: 2em; | |
271 | } | |
272 | ||
273 | .estimatedTime a { | |
274 | color: #999; | |
275 | font-style: italic; | |
276 | font-weight: normal; | |
277 | font-size: 0.9em; | |
278 | } | |
279 | ||
280 | .estimatedTime small { | |
281 | position: relative; | |
282 | top: -1px; | |
283 | } | |
284 | ||
285 | .entrie { | |
286 | background: #FFF; | |
287 | letter-spacing:normal; | |
288 | box-shadow: 0 3px 7px rgba(0,0,0,0.3); | |
289 | display: inline-block; | |
290 | width: 32%; | |
291 | margin-bottom: 1.5em; | |
292 | vertical-align: top; | |
293 | margin-left: 1.5%; | |
294 | position: relative; | |
295 | overflow: hidden; | |
296 | padding: 1.5em 1.5em 3em 1.5em; | |
297 | -webkit-transition: all 0.5s ease; | |
298 | -moz-transition: all 0.5s ease; | |
299 | -ms-transition: all 0.5s ease; | |
300 | -o-transition: all 0.5s ease; | |
301 | transition: all 0.5s ease; | |
302 | } | |
303 | ||
304 | .entrie:before { | |
305 | content: ""; | |
306 | width: 0; | |
307 | height: 0; | |
308 | border-style:solid; | |
309 | border-color: transparent transparent #000 transparent; | |
310 | border-width: 10px; | |
311 | position: absolute; | |
312 | bottom: 0.3em; | |
313 | z-index: 10; | |
314 | right: 1.5em; | |
315 | -webkit-transition: all 0.5s ease; | |
316 | -moz-transition: all 0.5s ease; | |
317 | -ms-transition: all 0.5s ease; | |
318 | -o-transition: all 0.5s ease; | |
319 | transition: all 0.5s ease; | |
320 | } | |
321 | ||
322 | .entrie:after { | |
323 | content: ""; | |
324 | position: absolute; | |
325 | height: 7px; | |
326 | width: 100%; | |
327 | bottom: 0; | |
328 | left: 0; | |
329 | background: #000; | |
330 | -webkit-transition: all 0.5s ease; | |
331 | -moz-transition: all 0.5s ease; | |
332 | -ms-transition: all 0.5s ease; | |
333 | -o-transition: all 0.5s ease; | |
334 | transition: all 0.5s ease; | |
335 | } | |
336 | ||
337 | .entrie:hover { | |
338 | box-shadow: 0 3px 10px rgba(0,0,0,1); | |
339 | } | |
340 | ||
341 | .entrie:hover:after { | |
342 | height: 40px; | |
343 | } | |
344 | ||
345 | .entrie:hover:before { | |
346 | bottom: 2.4em; | |
347 | } | |
348 | ||
349 | .entrie:hover h2 a { | |
350 | color: #666; | |
351 | } | |
352 | ||
353 | .entrie h2 { | |
354 | text-transform: none; | |
355 | margin-bottom: 0; | |
356 | } | |
357 | ||
358 | .entrie h2:after { | |
359 | content: none; | |
360 | } | |
361 | ||
362 | .entrie h2 a { | |
363 | display: block; | |
364 | text-decoration: none; | |
365 | color: #000; | |
366 | word-wrap: break-word; | |
367 | -webkit-transition: all 0.5s ease; | |
368 | -moz-transition: all 0.5s ease; | |
369 | -ms-transition: all 0.5s ease; | |
370 | -o-transition: all 0.5s ease; | |
371 | transition: all 0.5s ease; | |
372 | } | |
373 | ||
374 | .entrie h2 a:after { | |
375 | content: ""; | |
376 | position: absolute; | |
377 | top: 0; | |
378 | width: 100%; | |
379 | height: 100%; | |
380 | left: 0; | |
381 | } | |
382 | ||
383 | .entrie p { | |
384 | color: #666; | |
385 | font-size: 0.9em; | |
386 | line-height: 1.7; | |
387 | } | |
388 | ||
389 | .entrie h2 a:first-letter { | |
390 | text-transform: uppercase; | |
391 | } | |
392 | ||
393 | .entrie:hover .tools { | |
394 | bottom: 0; | |
395 | } | |
396 | ||
397 | .entrie .tools { | |
398 | position: absolute; | |
399 | bottom: -50px; | |
400 | left: 0; | |
401 | width: 100%; | |
402 | z-index: 10; | |
403 | padding-right: 0.5em; | |
404 | text-align: right; | |
405 | -webkit-transition: all 0.5s ease; | |
406 | -moz-transition: all 0.5s ease; | |
407 | -ms-transition: all 0.5s ease; | |
408 | -o-transition: all 0.5s ease; | |
409 | transition: all 0.5s ease; | |
410 | } | |
411 | ||
412 | .entrie .tools a { | |
413 | color: #666; | |
414 | text-decoration: none; | |
415 | display: block; | |
416 | padding: 0.4em; | |
417 | } | |
418 | ||
419 | .entrie .tools a:hover { | |
420 | color: #FFF; | |
421 | } | |
422 | ||
423 | .entrie .tools li { | |
424 | display: inline-block; | |
425 | } | |
426 | ||
427 | .entrie:nth-child(3n+1) { | |
428 | margin-left: 0; | |
429 | } | |
430 | ||
431 | .results { | |
432 | letter-spacing: -5px; | |
433 | padding: 0 0 0.5em; | |
434 | } | |
435 | ||
436 | .results > * { | |
437 | display: inline-block; | |
438 | vertical-align: top; | |
439 | letter-spacing: normal; | |
440 | width: 50%; | |
441 | } | |
442 | ||
443 | .pagination { | |
444 | text-align: right; | |
fa37042b | 445 | margin-bottom:50px; |
943ac3c7 NL |
446 | } |
447 | ||
448 | .nb-results { | |
449 | text-align: left; | |
450 | font-style: italic; | |
451 | color: #999; | |
452 | } | |
453 | ||
454 | .pagination > * { | |
455 | display: inline-block; | |
456 | margin-left: 0.5em; | |
457 | } | |
458 | ||
459 | .pagination a { | |
460 | color: #999; | |
461 | text-decoration: none; | |
462 | } | |
463 | ||
464 | .pagination a:hover, .pagination a:focus { | |
465 | text-decoration: underline; | |
466 | } | |
467 | ||
468 | .pagination .disabled { | |
469 | display: none; | |
470 | } | |
471 | ||
472 | /* ========================================================================== | |
473 | 3 = Pictos | |
474 | ========================================================================== */ | |
475 | ||
476 | @font-face { | |
477 | font-family: 'icomoon'; | |
cd425599 NL |
478 | src:url('../fonts/icomoon.eot?-s0mcsx'); |
479 | src:url('../fonts/icomoon.eot?#iefix-s0mcsx') format('embedded-opentype'), | |
480 | url('../fonts/icomoon.woff?-s0mcsx') format('woff'), | |
481 | url('../fonts/icomoon.ttf?-s0mcsx') format('truetype'), | |
482 | url('../fonts/icomoon.svg?-s0mcsx#icomoon') format('svg'); | |
943ac3c7 NL |
483 | font-weight: normal; |
484 | font-style: normal; | |
485 | } | |
486 | ||
487 | .icon span { | |
488 | position: absolute; | |
489 | top: -9999px; | |
490 | } | |
491 | ||
492 | [class^="icon-"]:before, [class*=" icon-"]:before { | |
493 | font-family: 'icomoon'; | |
494 | speak: none; | |
495 | font-style: normal; | |
496 | font-weight: normal; | |
497 | font-variant: normal; | |
498 | text-transform: none; | |
499 | line-height: 1; | |
500 | ||
501 | /* Better Font Rendering =========== */ | |
502 | -webkit-font-smoothing: antialiased; | |
503 | -moz-osx-font-smoothing: grayscale; | |
504 | } | |
505 | ||
506 | .icon-flattr:before { | |
507 | content: "\e800"; | |
508 | } | |
509 | .icon-mail:before { | |
510 | content: "\e80a"; | |
511 | } | |
512 | .icon-up-open:before { | |
513 | content: "\e80b"; | |
514 | } | |
515 | .icon-star:before { | |
516 | content: "\e805"; | |
517 | } | |
518 | .icon-check:before { | |
519 | content: "\e804"; | |
520 | } | |
521 | .icon-link:before { | |
522 | content: "\e801"; | |
523 | } | |
524 | .icon-reply:before { | |
525 | content: "\e806"; | |
526 | } | |
527 | .icon-menu:before { | |
528 | content: "\e802"; | |
529 | } | |
530 | .icon-clock:before { | |
531 | content: "\e803"; | |
532 | } | |
533 | .icon-twitter:before { | |
534 | content: "\e807"; | |
535 | } | |
536 | .icon-down-open:before { | |
537 | content: "\e809"; | |
538 | } | |
539 | .icon-trash:before { | |
540 | content: "\e80c"; | |
541 | } | |
542 | .icon-delete:before { | |
543 | content: "\e600"; | |
544 | } | |
545 | .icon-power:before { | |
546 | content: "\e601"; | |
547 | } | |
548 | .icon-arrow-up-thick:before { | |
549 | content: "\e602"; | |
550 | } | |
551 | .icon-rss:before { | |
552 | content: "\e808"; | |
553 | } | |
554 | ||
555 | /* ========================================================================== | |
556 | Icon selected | |
557 | ========================================================================== */ | |
558 | ||
559 | .icon-star.fav:before { | |
560 | color: #FFF; | |
561 | } | |
562 | ||
563 | /* ========================================================================== | |
564 | 4 = Messages | |
565 | ========================================================================== */ | |
566 | ||
567 | .messages { | |
032e0ca1 MR |
568 | text-align: left; |
569 | margin-top: 1em; | |
943ac3c7 NL |
570 | } |
571 | ||
572 | .messages > * { display: inline-block;} | |
573 | ||
574 | .closeMessage { | |
575 | background: #000; | |
576 | color: #FFF; | |
577 | padding: 0.2em 0.5em; | |
578 | text-decoration: none; | |
579 | } | |
580 | ||
581 | .closeMessage:hover, .closeMessage:focus { | |
582 | background: #FFF; | |
583 | color: #000; | |
584 | } | |
585 | ||
586 | .warning { | |
587 | font-size: 3em; | |
588 | color: #999; | |
589 | font-style: italic; | |
590 | position: absolute; | |
591 | top: 50%; | |
592 | left: 0; | |
593 | width: 100%; | |
594 | text-align: center; | |
595 | padding-right: 5%; | |
596 | margin-top: -2em; | |
597 | } | |
598 | ||
599 | /* ========================================================================== | |
600 | 5 = Article | |
601 | ========================================================================== */ | |
602 | ||
603 | #article { | |
604 | width: 70%; | |
605 | margin-bottom: 3em; | |
606 | } | |
607 | ||
608 | #article .tags { | |
609 | margin-bottom: 1em; | |
610 | } | |
611 | ||
612 | #article i { | |
613 | font-style: normal; | |
614 | } | |
615 | ||
616 | blockquote { | |
617 | border:1px solid #999; | |
618 | background: #FFF; | |
619 | padding: 1em; | |
620 | margin: 0; | |
621 | } | |
622 | ||
623 | #article h2, #article h3, #article h4 { | |
624 | text-transform: none; | |
625 | } | |
626 | ||
627 | #article h2:after { | |
628 | content: none; | |
629 | } | |
630 | ||
631 | .topPosF { | |
632 | position: fixed; | |
633 | right: 20%; | |
634 | bottom: 2em; | |
635 | font-size: 1.5em; | |
636 | } | |
637 | ||
638 | #article_toolbar { | |
639 | margin-bottom: 1em; | |
640 | } | |
641 | ||
642 | #article_toolbar li { | |
643 | display: inline-block; | |
644 | } | |
645 | ||
646 | #article_toolbar a { | |
647 | background: #000; | |
648 | padding: 0.3em 0.5em 0.2em; | |
649 | color: #FFF; | |
650 | text-decoration: none; | |
651 | } | |
652 | ||
653 | #article_toolbar a:hover, #article_toolbar a:focus { | |
654 | background: #999; | |
655 | } | |
656 | ||
657 | .shaarli:before { | |
658 | content: "*"; | |
659 | } | |
660 | ||
661 | .return { | |
662 | text-decoration: none; | |
663 | margin-top: 1em; | |
664 | display: block; | |
665 | } | |
666 | ||
667 | .return:before { | |
668 | margin-right: 0.5em; | |
669 | } | |
670 | ||
671 | .notags { | |
672 | font-style: italic; | |
673 | color: #999; | |
674 | } | |
675 | ||
676 | .icon-rss { | |
677 | background: #000; | |
678 | color: #FFF; | |
679 | padding: 0.2em 0.5em; | |
680 | } | |
681 | ||
682 | .icon-rss:before { | |
683 | position: relative; | |
684 | top: 2px; | |
685 | } | |
686 | ||
687 | .list-tags li { | |
688 | margin-bottom: 0.5em; | |
689 | } | |
690 | ||
691 | .list-tags .icon-rss:hover, .list-tags .icon-rss:focus { | |
692 | background: #FFF; | |
693 | color: #000; | |
694 | text-decoration: none; | |
695 | } | |
696 | ||
697 | .list-tags a { | |
698 | text-decoration: none; | |
699 | } | |
700 | ||
701 | .list-tags a:hover, .list-tags a:focus { | |
702 | text-decoration: underline; | |
703 | } | |
704 | ||
705 | /* ========================================================================== | |
706 | 6 = Media Queries | |
707 | ========================================================================== */ | |
708 | ||
709 | @media screen and (max-width: 1050px) { | |
710 | .entrie { | |
711 | width: 49%; | |
712 | } | |
713 | .entrie:nth-child(3n+1) { | |
714 | margin-left: 1.5%; | |
715 | } | |
716 | .entrie:nth-child(2n+1) { | |
717 | margin-left: 0; | |
718 | } | |
719 | } | |
720 | ||
721 | @media screen and (max-width: 900px) { | |
722 | #article { | |
723 | width: 80%; | |
724 | } | |
725 | .topPosF { | |
726 | right: 2.5em; | |
727 | } | |
728 | } | |
729 | ||
730 | @media screen and (max-width: 700px) { | |
731 | .entrie { | |
732 | width: 100%; | |
733 | margin-left: 0; | |
734 | } | |
735 | } | |
736 | ||
737 | @media screen and (max-width: 500px) { | |
738 | .entrie { | |
739 | width: 100%; | |
740 | margin-left: 0; | |
741 | } | |
742 | body > header { | |
743 | background: #333; | |
744 | position: fixed; | |
745 | top: 0; | |
746 | width: 100%; | |
747 | height: 3em; | |
748 | z-index: 11; | |
749 | } | |
750 | #links li:last-child { | |
751 | position: static; | |
752 | width: auto; | |
753 | } | |
754 | #links li:last-child a:before { | |
755 | content: none; | |
756 | } | |
757 | .logo { | |
758 | width: 1.5em; | |
759 | height: 1.5em; | |
760 | left: 0; | |
761 | top: 0; | |
762 | } | |
763 | .login > header { | |
764 | position: static; | |
765 | } | |
766 | .login form { | |
767 | width: 100%; | |
768 | position: static; | |
769 | margin-left: 0; | |
770 | } | |
771 | .login .logo { | |
772 | width: auto; | |
773 | height: auto; | |
774 | top: 0.5em; | |
775 | width: 75px; | |
776 | height: 75px; | |
777 | margin-left: -37.5px; | |
778 | } | |
779 | .desktopHide { | |
780 | display: block; | |
781 | position: fixed; | |
782 | z-index: 20; | |
783 | top: 0; | |
784 | right: 0; | |
785 | border:0; | |
786 | width: 2.5em; | |
787 | height: 2.5em; | |
788 | cursor: pointer; | |
789 | background: #999; | |
790 | font-size: 1.2em; | |
791 | } | |
792 | .desktopHide:hover, .desktopHide:focus { | |
793 | background: #FFF; | |
794 | } | |
795 | #links { | |
796 | display: none; | |
797 | width: 100%; | |
798 | height: auto; | |
799 | padding-top: 3em; | |
800 | } | |
801 | footer { | |
802 | position: static; | |
803 | margin-right: 3em; | |
804 | } | |
805 | #main { | |
806 | margin-left: 1.5em; | |
807 | padding-right: 1.5em; | |
808 | position: static; | |
809 | } | |
810 | #article_toolbar .topPosF { | |
811 | display: none; | |
812 | } | |
813 | ||
814 | #article { | |
815 | width: 100%; | |
816 | } | |
817 | ||
818 | #article h1 { | |
819 | font-size: 1.5em; | |
820 | } | |
821 | #article_toolbar a { | |
822 | padding: 0.3em 0.4em 0.2em; | |
823 | } | |
032e0ca1 | 824 | } |