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