]>
Commit | Line | Data |
---|---|---|
5ecdfcd0 TC |
1 | /* ========================================================================== |
2 | Sommaire | |
3 | ||
4 | 0 = Common | |
5 | 1 = Nav | |
6 | 2 = Side-nav | |
7 | 3 = Filters slider | |
8 | 4 = Cards | |
9 | 5 = Article | |
10 | 6 = Media queries | |
11 | 7 = Font | |
12 | 8 = Others | |
13 | ||
14 | ========================================================================== */ | |
15 | ||
16 | /* ========================================================================== | |
17 | 0 = Common | |
18 | ========================================================================== */ | |
19 | ||
34aa06a9 TC |
20 | /** |
21 | * | |
22 | * Material icons | |
23 | * | |
24 | */ | |
5ecdfcd0 TC |
25 | |
26 | @font-face { | |
27 | font-family: 'Material Icons'; | |
28 | font-style: normal; | |
29 | font-weight: 400; | |
30 | src: url(../fonts/MaterialIcons-Regular.eot); | |
1d4d9aaf | 31 | |
5ecdfcd0 TC |
32 | /* For IE6-8 */ |
33 | src: local("Material Icons"), local("MaterialIcons-Regular"), url(../fonts/MaterialIcons-Regular.woff2) format("woff2"), url(../fonts/MaterialIcons-Regular.woff) format("woff"), url(../fonts/MaterialIcons-Regular.ttf) format("truetype"); | |
34 | } | |
35 | ||
36 | .material-icons { | |
37 | font-family: 'Material Icons'; | |
38 | font-weight: normal; | |
39 | font-style: normal; | |
40 | font-size: 24px; /* Preferred icon size */ | |
41 | width: 1em; | |
42 | height: 1em; | |
43 | display: inline-block; | |
44 | line-height: 1; | |
45 | text-transform: none; | |
46 | letter-spacing: normal; | |
47 | word-wrap: normal; | |
48 | white-space: nowrap; | |
49 | direction: ltr; | |
50 | ||
51 | /* Support for all WebKit browsers. */ | |
52 | -webkit-font-smoothing: antialiased; | |
1d4d9aaf | 53 | |
5ecdfcd0 TC |
54 | /* Support for Safari and Chrome. */ |
55 | text-rendering: optimizeLegibility; | |
56 | ||
57 | /* Support for Firefox. */ | |
58 | -moz-osx-font-smoothing: grayscale; | |
59 | ||
60 | /* Support for IE. */ | |
61 | font-feature-settings: 'liga'; | |
62 | } | |
63 | ||
34aa06a9 TC |
64 | /* Rules for sizing the icon. */ |
65 | .material-icons.md-18 { font-size: 18px; } | |
66 | .material-icons.md-24 { font-size: 24px; } | |
67 | .material-icons.md-36 { font-size: 36px; } | |
68 | .material-icons.md-48 { font-size: 48px; } | |
69 | ||
70 | /* Rules for using icons as black on a light background. */ | |
71 | .material-icons.md-dark { color: rgba(0, 0, 0, 0.54); } | |
72 | .material-icons.md-dark.md-inactive { color: rgba(0, 0, 0, 0.26); } | |
73 | ||
74 | /* Rules for using icons as white on a dark background. */ | |
75 | .material-icons.md-light { color: rgba(255, 255, 255, 1); } | |
76 | .material-icons.md-light.md-inactive { color: rgba(255, 255, 255, 0.3); } | |
77 | ||
78 | /** | |
79 | * | |
80 | * Icomoon icons | |
81 | * | |
82 | */ | |
83 | ||
84 | @font-face { | |
85 | font-family: icomoon; | |
86 | src: url("../fonts/IcoMoon-Free.ttf"); | |
87 | font-weight: normal; | |
88 | font-style: normal; | |
89 | } | |
90 | ||
a494c33e TC |
91 | [class^="icon-"]::before, |
92 | [class*=" icon-"]::before { | |
5ecdfcd0 TC |
93 | font-family: icomoon; |
94 | speak: none; | |
95 | font-style: normal; | |
96 | font-weight: normal; | |
97 | font-variant: normal; | |
98 | text-transform: none; | |
99 | line-height: 1; | |
46d78f87 | 100 | background-size: 24px; |
5ecdfcd0 | 101 | |
a494c33e TC |
102 | /* Enable Ligatures ================ */ |
103 | letter-spacing: 0; | |
104 | -webkit-font-feature-settings: "liga"; | |
105 | -moz-font-feature-settings: "liga=1"; | |
106 | -moz-font-feature-settings: "liga"; | |
107 | -ms-font-feature-settings: "liga" 1; | |
108 | -o-font-feature-settings: "liga"; | |
109 | font-feature-settings: "liga"; | |
110 | ||
5ecdfcd0 TC |
111 | /* Better Font Rendering =========== */ |
112 | -webkit-font-smoothing: antialiased; | |
113 | -moz-osx-font-smoothing: grayscale; | |
114 | } | |
115 | ||
a494c33e | 116 | .icon-image { |
0c7f1ba7 | 117 | background-size: 16px; |
9f7d154e | 118 | background-repeat: no-repeat; |
a494c33e TC |
119 | padding-right: 1em !important; |
120 | padding-left: 1em !important; | |
121 | } | |
122 | ||
123 | .icon-eye::before { | |
124 | content: "\e9ce"; | |
125 | } | |
126 | ||
127 | .icon-no-eye::before { | |
128 | content: "\e9d1"; | |
129 | } | |
130 | ||
131 | .icon-calendar::before { | |
132 | content: "\e953"; | |
133 | } | |
134 | ||
0c7f1ba7 | 135 | .icon-mail::before { |
c10adc1f | 136 | content: "\ea86"; |
0c7f1ba7 NL |
137 | } |
138 | ||
a494c33e TC |
139 | .icon-time::before { |
140 | content: "\e952"; | |
141 | } | |
142 | ||
143 | /* Carrot (http://carrot.org) */ | |
144 | .icon-image--carrot { | |
145 | background-image: url("../../_global/img/icons/carrot-icon--black.png"); | |
146 | } | |
147 | ||
148 | /* Diaspora */ | |
149 | .icon-image--diaspora { | |
150 | background-image: url("../../_global/img/icons/diaspora-icon--black.png"); | |
151 | } | |
152 | ||
8a9604aa NL |
153 | /* Unmark.it */ |
154 | .icon-image--unmark { | |
155 | background-image: url("../../_global/img/icons/unmark-icon--black.png"); | |
156 | } | |
157 | ||
a494c33e TC |
158 | /* Shaarli */ |
159 | .icon-image--shaarli { | |
160 | background-image: url("../../_global/img/icons/shaarli.png"); | |
161 | } | |
162 | ||
5ecdfcd0 TC |
163 | body { |
164 | display: flex; | |
165 | min-height: 100vh; | |
166 | flex-direction: column; | |
5b69e03e | 167 | background: #fafafa; |
5ecdfcd0 TC |
168 | } |
169 | ||
170 | body.login main { | |
171 | padding: 0; | |
cdd3010b | 172 | min-height: 100vh; |
5ecdfcd0 TC |
173 | } |
174 | ||
175 | .border-bottom { | |
176 | border-bottom: 1px solid #ddd; | |
177 | } | |
178 | ||
179 | nav, | |
180 | main, | |
181 | footer { | |
182 | padding-left: 240px; | |
183 | } | |
184 | ||
185 | main, | |
186 | #content, | |
187 | .valign-wrapper { | |
188 | height: 100%; | |
189 | } | |
190 | ||
191 | #main { | |
192 | flex: 1 0 auto; | |
193 | } | |
194 | ||
195 | .results { | |
196 | height: 1em; | |
197 | line-height: 30px; | |
198 | } | |
199 | ||
200 | .results .nb-results, | |
201 | .results .pagination { | |
202 | margin: 15px; | |
203 | margin-bottom: 0; | |
204 | } | |
205 | ||
206 | .pagination { | |
1d4d9aaf | 207 | float: right; |
5ecdfcd0 TC |
208 | } |
209 | ||
210 | .pagination ul { | |
1d4d9aaf | 211 | margin: 0 !important; |
5ecdfcd0 TC |
212 | } |
213 | ||
214 | .pagination li { | |
215 | padding: 0; | |
216 | } | |
217 | ||
218 | .pagination a { | |
219 | padding: 0 10px; | |
220 | height: 30px; | |
221 | display: block; | |
222 | } | |
223 | ||
224 | .pagination .disabled { | |
1d4d9aaf TC |
225 | margin-right: 10px; |
226 | margin-left: 10px; | |
5ecdfcd0 TC |
227 | } |
228 | ||
229 | div.pagination ul .prev.disabled, | |
230 | div.pagination ul .next.disabled { | |
231 | display: none; | |
232 | } | |
233 | ||
234 | .pagination li.active span { | |
1d4d9aaf TC |
235 | padding: 0 10px; |
236 | height: 30px; | |
237 | display: block; | |
238 | color: #fff; | |
5ecdfcd0 TC |
239 | } |
240 | ||
d56d416d TC |
241 | .page-footer .footer-copyright { |
242 | min-width: 50px; | |
243 | height: auto !important; | |
244 | line-height: 1em !important; | |
245 | } | |
246 | ||
5ecdfcd0 | 247 | .page-footer .footer-copyright p { |
d56d416d TC |
248 | text-overflow: ellipsis; |
249 | white-space: nowrap; | |
250 | overflow: hidden; | |
251 | display: block; | |
5ecdfcd0 TC |
252 | } |
253 | ||
254 | .hidden { | |
255 | display: none; | |
256 | } | |
257 | ||
258 | .picker__date-display { | |
259 | display: none; | |
260 | } | |
261 | ||
262 | footer.page-footer { | |
263 | margin-top: 10px; | |
c146f694 | 264 | padding-top: 0; |
5ecdfcd0 TC |
265 | } |
266 | ||
267 | footer .row { | |
268 | margin-bottom: 10px; | |
269 | } | |
270 | ||
271 | /* ========================================================================== | |
272 | 1 = Nav | |
273 | ========================================================================== */ | |
274 | ||
275 | nav input { | |
276 | color: #aaa; | |
277 | } | |
278 | ||
279 | .nav-wrapper .button-collapse { | |
280 | padding: 0 15px; | |
281 | } | |
282 | ||
283 | .nav-input { | |
284 | display: none; | |
285 | } | |
286 | ||
287 | .nav-panels { | |
288 | overflow: hidden; | |
289 | } | |
290 | ||
291 | .nav-panel-buttom li { | |
292 | max-height: 64px; | |
293 | } | |
294 | ||
295 | .nav-panels { | |
296 | transition: background 0.2s ease; | |
297 | } | |
298 | ||
299 | .nav-panel-add .add, | |
300 | .nav-panel-search .search, | |
301 | .nav-panels .close { | |
302 | color: #444 !important; | |
303 | } | |
304 | ||
305 | .nav-panels .action { | |
306 | padding-left: 0.75rem; | |
307 | font-size: 2.1rem; | |
308 | white-space: nowrap; | |
309 | } | |
310 | ||
311 | .nav-panels .input-field input { | |
312 | display: block; | |
313 | line-height: inherit; | |
314 | padding-left: 4rem !important; | |
315 | width: calc(100% - 8rem); | |
316 | } | |
317 | ||
318 | .nav-panels .input-field input:focus { | |
319 | background-color: #fff; | |
320 | border: 0; | |
321 | box-shadow: none; | |
322 | color: #444; | |
323 | } | |
324 | ||
ee122a75 NL |
325 | .input-field.nav-panel-add label, |
326 | .input-field.nav-panel-search label { | |
5ecdfcd0 TC |
327 | left: 1rem; |
328 | } | |
329 | ||
ee122a75 NL |
330 | .input-field.nav-panel-add .close, |
331 | .input-field.nav-panel-search .close { | |
5ecdfcd0 TC |
332 | position: absolute; |
333 | top: 0; | |
334 | right: 1rem; | |
335 | color: transparent; | |
336 | cursor: pointer; | |
337 | font-size: 2rem; | |
338 | transition: 0.3s color; | |
339 | } | |
340 | ||
341 | #button_filters { | |
342 | display: none; | |
343 | } | |
344 | ||
345 | #button_export { | |
346 | display: none; | |
347 | } | |
348 | ||
c146f694 | 349 | .input-field.nav-panel-add, |
ee122a75 NL |
350 | .input-field.nav-panel-add form, |
351 | .input-field.nav-panel-search, | |
32f455c1 | 352 | .input-field.nav-panel-search form { |
c146f694 | 353 | height: 100%; |
cdd3010b JB |
354 | } |
355 | ||
5ecdfcd0 TC |
356 | /* ========================================================================== |
357 | 2 = Side-nav | |
358 | ========================================================================== */ | |
359 | ||
360 | .side-nav.fixed a { | |
361 | font-size: 13px; | |
362 | line-height: 44px; | |
363 | height: 44px; | |
364 | } | |
365 | ||
366 | .side-nav .collapsible-header, | |
367 | .side-nav.fixed .collapsible-header { | |
1d4d9aaf TC |
368 | height: 45px; |
369 | line-height: 44px; | |
370 | padding: 0 20px; | |
5ecdfcd0 TC |
371 | } |
372 | ||
373 | .bold > a { | |
374 | font-weight: bold; | |
375 | } | |
376 | ||
377 | .side-nav > li.logo { | |
378 | line-height: 0; | |
379 | text-align: center; | |
380 | } | |
381 | ||
382 | #main .logo a { | |
383 | height: 100pt; | |
384 | } | |
385 | ||
386 | #main .logo img { | |
387 | height: 100pt; | |
388 | width: 100pt; | |
389 | } | |
390 | ||
391 | #main .logo:hover { | |
392 | background: transparent; | |
393 | } | |
394 | ||
395 | .side-nav li { | |
396 | padding: 0; | |
397 | } | |
398 | ||
399 | .side-nav a { | |
400 | margin: 0 1rem; | |
401 | } | |
402 | ||
8315130a NL |
403 | span.numberItems { |
404 | float: right; | |
405 | } | |
406 | ||
38dc91be | 407 | nav ul a:hover { |
08f5a5b6 | 408 | background-color: initial; |
38dc91be AD |
409 | } |
410 | ||
5ecdfcd0 TC |
411 | /* ========================================================================== |
412 | * 3 = Filters slider | |
413 | * ========================================================================== */ | |
414 | ||
415 | #filters button { | |
416 | padding: 0; | |
417 | width: 100%; | |
418 | } | |
419 | ||
420 | .side-nav.fixed.right-aligned { | |
421 | right: -250px; | |
422 | left: auto !important; | |
423 | overflow-y: visible; | |
424 | } | |
425 | ||
426 | #filters div.with-checkbox { | |
427 | height: 3rem; | |
428 | margin-top: 0; | |
429 | } | |
430 | ||
431 | /* ========================================================================== | |
432 | 4 = Cards | |
433 | ========================================================================== */ | |
434 | ||
435 | main #content { | |
436 | padding: 0 0.5rem; | |
437 | } | |
438 | ||
439 | main ul.row { | |
440 | padding: 0 0.75rem; | |
441 | } | |
442 | ||
443 | .data .card .card-body { | |
34aa06a9 | 444 | height: 19em; |
5ecdfcd0 TC |
445 | overflow: hidden; |
446 | } | |
447 | ||
34aa06a9 TC |
448 | .card .card-content .card-title, |
449 | .card .card-reveal .card-title { | |
450 | line-height: 22.8px; | |
3221b2e4 | 451 | max-height: 80px; |
34aa06a9 TC |
452 | font-size: 19px; |
453 | font-family: roberto, "Helvetica Neue", Helvetica, Arial, sans-serif; | |
454 | color: #313131; | |
455 | } | |
456 | ||
457 | .card .card-content .activator, | |
458 | .card .card-reveal .activator { | |
459 | cursor: pointer; | |
460 | font-family: "Material Icons"; | |
cdd3010b JB |
461 | } |
462 | ||
c146f694 TC |
463 | .card .card-content i.right, |
464 | .card .card-reveal i.right { | |
465 | margin-left: 0; | |
5ecdfcd0 TC |
466 | } |
467 | ||
34aa06a9 TC |
468 | .card .card-content .original { |
469 | line-height: 24px; | |
470 | font-size: 15px; | |
471 | } | |
472 | ||
d56d416d TC |
473 | a.original { |
474 | text-overflow: ellipsis; | |
475 | white-space: nowrap; | |
476 | overflow: hidden; | |
477 | display: block; | |
478 | } | |
479 | ||
25dc07d3 | 480 | .card .card-entry-labels { |
1d4d9aaf TC |
481 | position: absolute; |
482 | top: 10px; | |
483 | z-index: 90; | |
484 | max-width: 50%; | |
25dc07d3 TC |
485 | } |
486 | ||
e0847780 JB |
487 | .card .card-entry-labels li, |
488 | .card-tag-labels li { | |
1d4d9aaf | 489 | margin: 10px 10px 10px auto; |
28bb4890 | 490 | padding: 5px 12px 5px 16px !important; |
1d4d9aaf TC |
491 | background-color: rgba(0, 151, 167, 0.85); |
492 | border-radius: 0 3px 3px 0; | |
493 | color: #fff; | |
494 | cursor: default; | |
495 | max-height: 2em; | |
496 | overflow: hidden; | |
497 | text-overflow: ellipsis; | |
498 | white-space: nowrap; | |
25dc07d3 TC |
499 | } |
500 | ||
501 | .card .card-entry-labels-hidden { | |
34aa06a9 | 502 | margin: 2.5px auto; |
25dc07d3 TC |
503 | } |
504 | ||
505 | .card .card-entry-labels-hidden li { | |
1d4d9aaf TC |
506 | display: inline-block; |
507 | background-color: rgba(0, 151, 167, 0.85); | |
508 | margin: 0 5px; | |
509 | padding: 5px 12px; | |
510 | border-radius: 3px; | |
511 | color: #fff; | |
512 | max-height: 2em; | |
513 | max-width: calc(100% - 15px); | |
514 | overflow: hidden; | |
515 | text-overflow: ellipsis; | |
516 | white-space: nowrap; | |
25dc07d3 TC |
517 | } |
518 | ||
7005b425 JB |
519 | .card .card-entry-labels-hidden li:first-child { |
520 | margin-left: 0; | |
521 | } | |
522 | ||
15f1352e TC |
523 | .card-entry-tags a, |
524 | .card-entry-labels a, | |
28bb4890 | 525 | .card-tag-labels a, |
15f1352e TC |
526 | .card-entry-labels-hidden a, |
527 | #list .chip a { | |
528 | text-decoration: none; | |
529 | font-weight: normal; | |
530 | color: #fff; | |
531 | } | |
532 | ||
5ecdfcd0 TC |
533 | .card .card-content .estimatedTime { |
534 | margin-bottom: 10px; | |
535 | } | |
536 | ||
34aa06a9 TC |
537 | .card .card-action { |
538 | padding: 10px 5px 10px 15px; | |
5ecdfcd0 TC |
539 | } |
540 | ||
541 | .card .card-action ul.links { | |
542 | margin: 0; | |
543 | font-size: 24px; | |
544 | line-height: 24px; | |
545 | } | |
546 | ||
77e2898a JB |
547 | .card .card-action ul.tools li a.tool { |
548 | margin-right: 5px !important; | |
549 | } | |
550 | ||
5ecdfcd0 | 551 | .card .card-action a { |
0f70abd6 | 552 | color: #fff; |
5ecdfcd0 TC |
553 | margin: 0; |
554 | } | |
555 | ||
556 | .card .card-action a:hover { | |
0f70abd6 NL |
557 | color: #fff; |
558 | } | |
559 | ||
34aa06a9 TC |
560 | .card .card-action .reading-time { |
561 | display: inline-flex; | |
562 | vertical-align: middle; | |
563 | } | |
564 | ||
9f7d154e TC |
565 | .quickstart .card .card-action a, |
566 | .quickstart .card .card-action a:hover { | |
567 | color: #fff !important; | |
5ecdfcd0 TC |
568 | } |
569 | ||
570 | .settings .div_tabs { | |
571 | padding-bottom: 15px; | |
572 | } | |
573 | ||
574 | .card.sw { | |
575 | max-width: 370px; | |
576 | margin-left: auto; | |
577 | margin-right: auto; | |
578 | } | |
579 | ||
580 | .card .card-image { | |
34aa06a9 | 581 | height: 10em; |
5ecdfcd0 TC |
582 | } |
583 | ||
8d7b4f0e JB |
584 | .card .card-fullimage { |
585 | height: 13.5em; | |
5ecdfcd0 TC |
586 | } |
587 | ||
8d7b4f0e JB |
588 | .card .card-image .preview, |
589 | .card .card-fullimage .preview { | |
5ecdfcd0 TC |
590 | height: 14em; |
591 | background-size: cover; | |
592 | background-repeat: no-repeat; | |
593 | background-position: 50%; | |
594 | } | |
595 | ||
596 | /* ========================================================================== | |
597 | 5 = Article | |
598 | ========================================================================== */ | |
599 | ||
600 | #article { | |
601 | font-size: 20px; | |
602 | margin: 0 auto; | |
5ea90fa8 | 603 | max-width: 45em; |
5ecdfcd0 TC |
604 | } |
605 | ||
5b69e03e KD |
606 | #article article { |
607 | color: #424242; | |
608 | } | |
609 | ||
610 | #article article h1, | |
611 | #article article h2, | |
612 | #article article h3, | |
613 | #article article h4, | |
614 | #article article h5, | |
615 | #article article h6 { | |
616 | color: #212121; | |
617 | } | |
618 | ||
7470a2f3 KD |
619 | #article article h1 strong, |
620 | #article article h2 strong, | |
621 | #article article h3 strong, | |
622 | #article article h4 strong, | |
623 | #article article h5 strong, | |
624 | #article article h6 strong { | |
625 | font-weight: 500; | |
626 | } | |
627 | ||
628 | #article article h6 { | |
629 | font-size: 1.2rem; | |
630 | } | |
631 | ||
632 | #article article h5 { | |
633 | font-size: 1.6rem; | |
634 | } | |
635 | ||
636 | #article article h4 { | |
637 | font-size: 1.9rem; | |
638 | } | |
639 | ||
640 | #article article h3 { | |
641 | font-size: 2.2rem; | |
642 | } | |
643 | ||
644 | #article article h2 { | |
645 | font-size: 2.5rem; | |
646 | } | |
647 | ||
648 | #article article h1 { | |
649 | font-size: 2.7rem; | |
650 | } | |
651 | ||
79efca1e JB |
652 | #article img, |
653 | #article figure { | |
5ecdfcd0 TC |
654 | max-width: 100%; |
655 | height: auto; | |
656 | } | |
657 | ||
858430c0 KD |
658 | #article article a { |
659 | border-bottom: 1px dotted #03a9f4; | |
660 | text-decoration: none; | |
661 | } | |
662 | ||
663 | #article article a:hover { | |
664 | border-bottom-style: solid; | |
665 | } | |
666 | ||
59cfd63c KD |
667 | #article article ul { |
668 | padding-left: 30px; | |
669 | } | |
670 | ||
671 | #article article ul, | |
672 | #article article ul li { | |
673 | list-style-type: disc; | |
674 | } | |
675 | ||
819c8f5b KD |
676 | #article article blockquote { |
677 | font-style: italic; | |
678 | } | |
679 | ||
680 | #article article strong { | |
681 | font-weight: bold; | |
682 | } | |
683 | ||
fdaa0443 KD |
684 | #article article pre { |
685 | box-sizing: border-box; | |
686 | margin: 0 0 1.75em; | |
687 | border: #e3f2fd 1px solid; | |
688 | width: 100%; | |
689 | padding: 10px; | |
690 | font-family: monospace; | |
691 | font-size: 0.8em; | |
692 | white-space: pre; | |
693 | overflow: auto; | |
694 | background: #f5f5f5; | |
695 | border-radius: 3px; | |
696 | } | |
697 | ||
a15022db | 698 | #article > header > h1 { |
34aa06a9 TC |
699 | font-size: 2em; |
700 | margin: 2.1rem 0 0.68rem; | |
a15022db TC |
701 | } |
702 | ||
5ecdfcd0 TC |
703 | .reader-mode { |
704 | width: 95px !important; | |
705 | transition: width 0.2s ease; | |
706 | } | |
707 | ||
708 | .reader-mode:hover { | |
709 | width: 240px !important; | |
710 | } | |
711 | ||
712 | .reader-mode .collapsible-body { | |
713 | height: 0; | |
714 | overflow: hidden; | |
715 | } | |
716 | ||
717 | .reader-mode:hover .collapsible-body { | |
718 | height: auto; | |
719 | } | |
720 | ||
721 | .reader-mode span { | |
722 | opacity: 0; | |
723 | transition: opacity 0.2s ease; | |
724 | } | |
725 | ||
726 | .reader-mode:hover span { | |
727 | opacity: 1; | |
728 | } | |
729 | ||
730 | .progress { | |
731 | position: fixed; | |
732 | top: 0; | |
733 | width: 100%; | |
734 | height: 3px; | |
735 | margin: 0; | |
736 | z-index: 9999; | |
737 | } | |
738 | ||
34aa06a9 | 739 | #article aside .tools { |
5ecdfcd0 | 740 | font-size: 0.8em; |
34aa06a9 TC |
741 | display: flex; |
742 | flex-flow: row wrap; | |
743 | margin: 0 auto; | |
744 | } | |
745 | ||
80302e5a | 746 | article aside .tools li { |
34aa06a9 TC |
747 | display: inline-flex; |
748 | vertical-align: middle; | |
34aa06a9 TC |
749 | } |
750 | ||
751 | #article aside .tools a { | |
752 | color: #000; | |
5ecdfcd0 TC |
753 | text-decoration: none; |
754 | } | |
755 | ||
756 | #article aside #list { | |
757 | float: right; | |
eef833d6 | 758 | margin: 0 15px 10px; |
5ecdfcd0 TC |
759 | } |
760 | ||
761 | #article aside .chip { | |
1d4d9aaf | 762 | background-color: rgba(0, 151, 167, 0.85); |
eef833d6 | 763 | padding: 0 15px 0 10px; |
34aa06a9 | 764 | margin: auto 2px; |
5ecdfcd0 TC |
765 | } |
766 | ||
34aa06a9 | 767 | #article aside .chip a, |
5ecdfcd0 TC |
768 | #article aside .chip i { |
769 | color: #fff; | |
770 | } | |
771 | ||
772 | /* ========================================================================== | |
773 | 6 = Media queries | |
774 | ========================================================================== */ | |
775 | ||
776 | @media only screen and (max-width: 992px) { | |
777 | header, | |
778 | main, | |
779 | footer { | |
780 | padding-left: 0; | |
781 | } | |
c146f694 | 782 | |
5ecdfcd0 TC |
783 | nav, |
784 | main, | |
785 | footer { | |
786 | padding-left: 0; | |
787 | } | |
c146f694 | 788 | |
5ecdfcd0 TC |
789 | .pagination { |
790 | width: auto; | |
1d4d9aaf | 791 | } |
c146f694 | 792 | |
38dc91be | 793 | #article { |
38dc91be AD |
794 | max-width: 35em; |
795 | margin-left: auto; | |
796 | margin-right: auto; | |
797 | font-size: 18px; | |
798 | } | |
799 | ||
800 | #article > header > h1 { | |
801 | font-size: 1.33em; | |
802 | } | |
803 | ||
5ecdfcd0 TC |
804 | .reader-mode { |
805 | width: 240px !important; | |
806 | } | |
c146f694 | 807 | |
5ecdfcd0 TC |
808 | .reader-mode span { |
809 | opacity: 1; | |
810 | } | |
c146f694 | 811 | |
5ecdfcd0 TC |
812 | .tabs { |
813 | display: inline-block; | |
814 | height: auto; | |
815 | } | |
c146f694 | 816 | |
5ecdfcd0 TC |
817 | .tab { |
818 | min-width: 100%; | |
819 | } | |
c146f694 | 820 | |
5ecdfcd0 TC |
821 | .indicator { |
822 | display: none; | |
823 | } | |
c146f694 | 824 | |
1d4d9aaf TC |
825 | .pagination li.prev, |
826 | .pagination li.next { | |
5ecdfcd0 TC |
827 | width: auto; |
828 | } | |
829 | } | |
830 | ||
831 | @media only screen and (min-width: 400px) { | |
832 | .nav-panel-buttom { | |
833 | float: right; | |
834 | } | |
835 | } | |
836 | ||
3221b2e4 TC |
837 | @media only screen and (min-width: 1200px) and (max-width: 1650px) { |
838 | .row .col.l3 { | |
839 | width: 33.33333%; | |
840 | margin-left: 0; | |
841 | } | |
842 | } | |
843 | ||
844 | @media only screen and (min-width: 993px) and (max-width: 1200px) { | |
5ecdfcd0 TC |
845 | .row .col.l1 { |
846 | width: 25%; | |
847 | margin-left: 0; | |
848 | } | |
c146f694 | 849 | |
5ecdfcd0 TC |
850 | .row .col.l2 { |
851 | width: 33.33333%; | |
852 | margin-left: 0; | |
853 | } | |
c146f694 | 854 | |
5ecdfcd0 TC |
855 | .row .col.l3 { |
856 | width: 41.66667%; | |
857 | margin-left: 0; | |
858 | } | |
c146f694 | 859 | |
5ecdfcd0 TC |
860 | .row .col.l4 { |
861 | width: 50%; | |
862 | margin-left: 0; | |
863 | } | |
c146f694 | 864 | |
5ecdfcd0 TC |
865 | .row .col.l5 { |
866 | width: 58.33333%; | |
867 | margin-left: 0; | |
868 | } | |
c146f694 | 869 | |
5ecdfcd0 TC |
870 | .row .col.l6 { |
871 | width: 66.66667%; | |
872 | margin-left: 0; | |
873 | } | |
c146f694 | 874 | |
5ecdfcd0 TC |
875 | .row .col.l7 { |
876 | width: 75%; | |
877 | margin-left: 0; | |
878 | } | |
c146f694 | 879 | |
5ecdfcd0 TC |
880 | .row .col.l8 { |
881 | width: 83.33333%; | |
882 | margin-left: 0; | |
883 | } | |
c146f694 | 884 | |
5ecdfcd0 TC |
885 | .row .col.l9 { |
886 | width: 91.66667%; | |
887 | margin-left: 0; | |
888 | } | |
c146f694 | 889 | |
5ecdfcd0 TC |
890 | .row .col.l10 { |
891 | width: 100%; | |
892 | margin-left: 0; | |
893 | } | |
894 | } | |
895 | ||
896 | @media only screen and (max-width: 350px) { | |
897 | .nb-results { | |
898 | display: none; | |
899 | } | |
34aa06a9 TC |
900 | |
901 | main ul.row { | |
902 | padding: 0; | |
903 | } | |
904 | ||
905 | .row .col { | |
906 | padding: 0; | |
907 | } | |
5ecdfcd0 TC |
908 | } |
909 | ||
910 | /* ========================================================================== | |
911 | 7 = Font | |
912 | ========================================================================== */ | |
913 | ||
914 | .icon-google-plus2::before { | |
915 | content: "\ea89"; | |
916 | } | |
917 | ||
918 | .icon-facebook2::before { | |
919 | content: "\ea8d"; | |
920 | } | |
921 | ||
922 | .icon-twitter::before { | |
a494c33e | 923 | content: "\ea96"; |
5ecdfcd0 TC |
924 | } |
925 | ||
926 | .icon-apple::before { | |
927 | content: "\eabf"; | |
928 | } | |
929 | ||
930 | .icon-android::before { | |
931 | content: "\eac1"; | |
932 | } | |
933 | ||
934 | .icon-chrome::before { | |
935 | content: "\eae5"; | |
936 | } | |
937 | ||
938 | .icon-firefox::before { | |
939 | content: "\eae6"; | |
940 | } | |
941 | ||
8e06720f | 942 | .icon-link::before { |
c146f694 | 943 | content: "\e9cb"; |
8e06720f NL |
944 | } |
945 | ||
5ecdfcd0 TC |
946 | footer [class^="icon-"], |
947 | footer [class*=" icon-"] { | |
948 | font-size: 2em; | |
949 | transition: text-shadow 0.2s ease; | |
950 | padding-right: 10px; | |
951 | } | |
952 | ||
1d4d9aaf TC |
953 | footer [class^="icon-"]:hover, |
954 | footer [class*=" icon-"]:hover { | |
5ecdfcd0 TC |
955 | text-shadow: 0 0 10px rgba(0, 0, 0, 0.3); |
956 | } | |
957 | ||
958 | /* ========================================================================== | |
959 | 8 = Others | |
960 | ========================================================================== */ | |
961 | ||
962 | /* force height on non-input field in the settings page */ | |
963 | div.settings div.input-field div, | |
964 | div.settings div.input-field ul { | |
965 | margin-top: 40px; | |
966 | } | |
967 | ||
968 | /* but avoid to kill all file input */ | |
969 | div.settings div.file-field div { | |
970 | margin-top: inherit; | |
971 | } | |
b1e0a586 NL |
972 | |
973 | .input-field label.active { | |
c146f694 | 974 | font-size: 1rem; |
b1e0a586 | 975 | } |
38dc91be AD |
976 | |
977 | nav .input-field input { | |
978 | margin: 0; | |
979 | } |