jekyll-theme-gouvfr 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,1711 +0,0 @@
1
- :root {
2
- /* Colors */
3
-
4
- /* Theme */
5
- }
6
-
7
- body {
8
- font-family: "Source Sans Pro", Arial, sans-serif;
9
- font-size: 16px;
10
- -webkit-font-smoothing: antialiased;
11
- -moz-osx-font-smoothing: grayscale;
12
- }
13
-
14
- h1,
15
- h2,
16
- h3,
17
- h4,
18
- h5,
19
- h6 {
20
- font-family: "Evolventa", "Trebuchet MS", sans-serif;
21
- }
22
-
23
- h1 {
24
- font-size: 2em;
25
- }
26
-
27
- h2 {
28
- font-size: 1.5em;
29
- }
30
-
31
- h3 {
32
- font-size: 1.25em;
33
- }
34
-
35
- h4 {
36
- font-size: 1em;
37
- }
38
-
39
- * + h1,
40
- * + h2,
41
- * + h3,
42
- * + h4,
43
- * + h5,
44
- * + h6 {
45
- margin-top: 2em;
46
- }
47
-
48
- .lead-text {
49
- font-size: 1.25em;
50
- }
51
-
52
- p {
53
- line-height: 1.5em;
54
- }
55
-
56
- .subtitle {
57
- color: #8393a7;
58
- }
59
-
60
- .text-left {
61
- text-align: left;
62
- }
63
-
64
- .text-center {
65
- text-align: center;
66
- }
67
-
68
- .text-right {
69
- text-align: right;
70
- }
71
-
72
- .text-quote {
73
- background-color: #ebeff3;
74
- border-left: 8px solid #c9d3df;
75
- padding: 4px 0 4px 25px;
76
- }
77
-
78
- .icon {
79
- display: inline-block;
80
- width: 1em;
81
- height: 1em;
82
- stroke-width: 0;
83
- stroke: currentColor;
84
- fill: currentColor;
85
- font-size: 16px;
86
- }
87
-
88
- #icon-search {
89
- fill: #adb9c9;
90
- }
91
-
92
- * {
93
- -webkit-box-sizing: border-box;
94
- box-sizing: border-box;
95
- }
96
-
97
- html,
98
- body {
99
- height: 100%;
100
- position: relative;
101
- }
102
-
103
- body {
104
- color: #26353f;
105
- padding: 0;
106
- margin: 0;
107
- overflow: auto;
108
- background: #ebeff3;
109
- }
110
-
111
- a,
112
- button {
113
- cursor: pointer;
114
- }
115
-
116
- a,
117
- a:hover,
118
- a:focus,
119
- a:visited,
120
- a:active {
121
- -webkit-transition: color 0.2s ease-out;
122
- transition: color 0.2s ease-out;
123
- color: currentColor;
124
- }
125
-
126
- small {
127
- font-size: 0.875em;
128
- }
129
-
130
- .modals .button {
131
- margin: auto;
132
- }
133
-
134
- .table {
135
- background: #fff;
136
- border: #c9d3df;
137
- border-radius: 2px;
138
- -webkit-box-shadow: 0 1px 4px #c9d3df;
139
- box-shadow: 0 1px 4px #c9d3df;
140
- position: relative;
141
- width: 100%;
142
- border-collapse: collapse;
143
- }
144
-
145
- .table td,
146
- .table th {
147
- padding: 1em;
148
- text-align: left;
149
- }
150
-
151
- .table td {
152
- border-top: 1px solid #adb9c9;
153
- }
154
-
155
- .table thead th {
156
- background: #fff;
157
- font-size: 0.875em;
158
- font-weight: 700;
159
- text-transform: uppercase;
160
- }
161
-
162
- .table tr:hover {
163
- background: #fafbfc;
164
- }
165
-
166
- pre {
167
- display: block;
168
- margin-top: 1em;
169
- }
170
-
171
- code {
172
- background: #ebeff3;
173
- border-radius: 3px;
174
- padding: 0 0.5em;
175
- font-family: 'Courier New';
176
- font-size: 0.9em;
177
- word-break: break-word;
178
- white-space: pre-wrap;
179
- vertical-align: middle;
180
- display: inline-block;
181
- max-width: 100%;
182
- overflow-x: auto;
183
- }
184
-
185
- pre code {
186
- padding: 1em;
187
- }
188
-
189
- a.button,
190
- a.button:focus,
191
- a.button:active,
192
- a.button:visited,
193
- button.button,
194
- button.button:focus,
195
- button.button:active,
196
- button.button:visited,
197
- input[type="submit"],
198
- input[type="submit"]:focus,
199
- input[type="submit"]:active,
200
- input[type="submit"]:visited,
201
- input[type="button"],
202
- input[type="button"]:focus,
203
- input[type="button"]:active,
204
- input[type="button"]:visited {
205
- display: inline-block;
206
- padding: 0.5em 2em;
207
- color: #fff;
208
- background-color: #0053b3;
209
- border-radius: 3px;
210
- border: 0;
211
- -webkit-box-shadow: 0 -2px inset #003b80;
212
- box-shadow: 0 -2px inset #003b80;
213
- font-family: "Source Sans Pro", Arial, sans-serif;
214
- font-size: 1em;
215
- position: relative;
216
- top: 0;
217
- overflow: hidden;
218
- text-decoration: none;
219
- }
220
-
221
- a.button:hover,
222
- button.button:hover,
223
- input[type="submit"]:hover,
224
- input[type="button"]:hover {
225
- background: #003b80;
226
- }
227
-
228
- a.button:active,
229
- button.button:active,
230
- input[type="submit"]:hover,
231
- input[type="button"]:hover {
232
- -webkit-transform: translateY(1px);
233
- transform: translateY(1px);
234
- border-bottom: 0;
235
- -webkit-box-shadow: none;
236
- box-shadow: none;
237
- }
238
-
239
- button::-moz-focus-inner {
240
- border: 0;
241
- }
242
-
243
- a.button-outline,
244
- a.button-outline:focus,
245
- a.button-outline:active,
246
- a.button-outline:visited,
247
- button.button-outline,
248
- button.button-outline:focus,
249
- button.button-outline:active,
250
- button.button-outline:visited {
251
- display: inline-block;
252
- padding: 0.5em 2em;
253
- border-radius: 3px;
254
- font-family: "Source Sans Pro", Arial, sans-serif;
255
- font-size: 1em;
256
- position: relative;
257
- top: 0;
258
- overflow: hidden;
259
- text-decoration: none;
260
- background: transparent;
261
- border: 1px solid #fff;
262
- color: #fff;
263
- }
264
-
265
- a.button-outline:hover,
266
- button.button-outline:hover,
267
- input[type="submit"].button-outline:hover,
268
- input[type="button"].button-outline:hover {
269
- border-color: #c9d3df;
270
- color: #c9d3df;
271
- }
272
-
273
- .button-outline.primary,
274
- a.button-outline.primary {
275
- border-color: #0053b3;
276
- color: #0053b3;
277
- }
278
-
279
- .button-outline.primary:hover,
280
- .button-outline.primary:active {
281
- border-color: #003b80;
282
- color: #003b80;
283
- }
284
-
285
- .button-outline.warning,
286
- a.button-outline.warning {
287
- border-color: #d63626;
288
- color: #d63626;
289
- }
290
-
291
- .button-outline.warning:hover,
292
- .button-outline.warning:active {
293
- border-color: #ab2b1e;
294
- color: #ab2b1e;
295
- }
296
-
297
- .button-outline.secondary,
298
- a.button-outline.secondary {
299
- border-color: #53657d;
300
- color: #53657d;
301
- }
302
-
303
- .button-outline.secondary:hover,
304
- .button-outline.secondary:active {
305
- border-color: #26353f;
306
- color: #26353f;
307
- }
308
-
309
- a.button.small,
310
- button.button.small,
311
- input[type="submit"].small,
312
- input[type="button"].small,
313
- a.button-outline.small,
314
- button.button-outline.small {
315
- font-size: 0.825em;
316
- padding: 0.25em 1em;
317
- }
318
-
319
- a.button.large,
320
- button.button.large,
321
- input[type="submit"].large,
322
- input[type="button"].large,
323
- a.button-outline.large,
324
- button.button-outline.large {
325
- font-size: 1.25em;
326
- }
327
-
328
- .button.warning,
329
- a.button.warning {
330
- background-color: #d63626;
331
- -webkit-box-shadow: 0 -2px inset #ab2b1e;
332
- box-shadow: 0 -2px inset #ab2b1e;
333
- }
334
-
335
- .button.warning:hover,
336
- .button.warning:active {
337
- background-color: #ab2b1e;
338
- }
339
-
340
- .button.secondary,
341
- a.button.secondary {
342
- background-color: #53657d;
343
- -webkit-box-shadow: 0 -2px inset #26353f;
344
- box-shadow: 0 -2px inset #26353f;
345
- }
346
-
347
- .button.secondary:hover,
348
- .button.secondary:active {
349
- background-color: #26353f;
350
- }
351
-
352
- .button + .button,
353
- .button-outline + .button-outline {
354
- margin-left: 1em;
355
- }
356
-
357
- .container {
358
- position: relative;
359
- width: 100%;
360
- max-width: 1000px;
361
- margin: 0 auto;
362
- padding: 0 20px;
363
- }
364
-
365
- .container h1:first-of-type {
366
- margin-top: 0;
367
- }
368
-
369
- .article__container {
370
- max-width: 35em;
371
- }
372
-
373
- @media (min-width: 400px) {
374
- .container {
375
- width: 85%;
376
- padding: 0;
377
- }
378
- }
379
-
380
- @media (min-width: 550px) {
381
- .container {
382
- width: 80%;
383
- }
384
- }
385
-
386
- @font-face {
387
- font-family: "Source Sans Pro";
388
- src: url("../fonts/Source Sans Pro/SourceSansPro-Regular.otf");
389
- font-weight: 400;
390
- }
391
-
392
- @font-face {
393
- font-family: "Source Sans Pro";
394
- src: url("../fonts/Source Sans Pro/SourceSansPro-Bold.otf");
395
- font-weight: 800;
396
- }
397
-
398
- @font-face {
399
- font-family: "Source Sans Pro";
400
- src: url("../fonts/Source Sans Pro/SourceSansPro-It.otf");
401
- font-style: italic;
402
- }
403
-
404
- @font-face {
405
- font-family: "Evolventa";
406
- src: url("../fonts/Evolventa/Evolventa-Regular.ttf");
407
- font-weight: 400;
408
- }
409
-
410
- @font-face {
411
- font-family: "Evolventa";
412
- src: url("../fonts/Evolventa/Evolventa-Bold.ttf");
413
- font-weight: 800;
414
- }
415
-
416
- .notification {
417
- background: #b4e1fa;
418
- border: 1px solid #006be6;
419
- border-radius: 3px;
420
- padding: 1em;
421
- margin-bottom: 1em;
422
- position: relative;
423
- }
424
-
425
- .notification .close {
426
- border: 0;
427
- background: 0;
428
- color: currentColor;
429
- position: absolute;
430
- right: 1em;
431
- }
432
-
433
- .notification .icon {
434
- fill: currentColor;
435
- width: 20px;
436
- height: 20px;
437
- }
438
-
439
- .notification.closable {
440
- padding-right: 3em;
441
- }
442
-
443
- .notification.full-width {
444
- width: 100%;
445
- margin-bottom: 0;
446
- text-align: center;
447
- border: 0;
448
- }
449
-
450
- .notification.full-width.closable .close {
451
- right: unset;
452
- }
453
-
454
- .notification.success {
455
- background: #daf5e7;
456
- border-color: #03bd5b;
457
- }
458
-
459
- .notification.warning {
460
- background: #fff0e4;
461
- border-color: #ff9947;
462
- }
463
-
464
- .notification.error {
465
- background: #efaca6;
466
- border-color: #d63626;
467
- }
468
-
469
- .footer {
470
- background: #26353f;
471
- color: #fff;
472
- padding: 2em 0;
473
- }
474
-
475
- .footer .container {
476
- display: -webkit-box;
477
- display: -ms-flexbox;
478
- display: flex;
479
- -webkit-box-orient: horizontal;
480
- -webkit-box-direction: normal;
481
- -ms-flex-flow: row wrap;
482
- flex-flow: row wrap;
483
- -webkit-box-pack: justify;
484
- -ms-flex-pack: justify;
485
- justify-content: space-between;
486
- }
487
-
488
- .footer ul {
489
- list-style-type: none;
490
- padding: 0;
491
- }
492
-
493
- .footer__social {
494
- margin-top: 1em;
495
- }
496
-
497
- .footer__social li {
498
- display: inline;
499
- margin-right: 1em;
500
- }
501
-
502
- .footer__social .icon {
503
- width: 35px;
504
- height: 35px;
505
- fill: #fff;
506
- }
507
-
508
- .footer__links {
509
- margin: 0;
510
- line-height: 2em;
511
- }
512
-
513
- .footer__links h2 {
514
- margin-top: 0;
515
- margin-bottom: 0.5em;
516
- }
517
-
518
- .footer__links a {
519
- color: #fff;
520
- text-decoration: none;
521
- }
522
-
523
- .footer__logo {
524
- width: 300px;
525
- height: auto;
526
- }
527
-
528
- .footer__logo img {
529
- max-height: 60px;
530
- }
531
-
532
- @media (max-width: 999px) {
533
- .footer .container {
534
- -webkit-box-orient: vertical;
535
- -webkit-box-direction: normal;
536
- -ms-flex-direction: column;
537
- flex-direction: column;
538
- }
539
- }
540
-
541
- .hero {
542
- width: 100%;
543
- color: #fff;
544
- background: #0053b3;
545
- }
546
-
547
- .hero__container {
548
- min-height: 38vh;
549
- display: -webkit-box;
550
- display: -ms-flexbox;
551
- display: flex;
552
- -webkit-box-orient: vertical;
553
- -webkit-box-direction: normal;
554
- -ms-flex-direction: column;
555
- flex-direction: column;
556
- -webkit-box-pack: center;
557
- -ms-flex-pack: center;
558
- justify-content: center;
559
- -webkit-box-align: center;
560
- -ms-flex-align: center;
561
- align-items: center;
562
- padding: 2em;
563
- }
564
-
565
- .hero__white-background {
566
- padding: 10px 1em;
567
- background-color: white;
568
- }
569
-
570
- h1.hero__white-background {
571
- color: #26353f;
572
- margin: 0;
573
- }
574
-
575
- .hero p {
576
- margin: 1em auto;
577
- color: #26353f;
578
- font-size: 1.2em;
579
- font-style: italic;
580
- }
581
-
582
- .navbar {
583
- border-bottom: 1px solid #c9d3df;
584
- -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
585
- box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
586
- width: 100%;
587
- background: #fff;
588
- z-index: 100;
589
- }
590
-
591
- .nav-fixed {
592
- position: fixed;
593
- top: 0;
594
- }
595
-
596
- .navbar__container {
597
- display: -webkit-box;
598
- display: -ms-flexbox;
599
- display: flex;
600
- -webkit-box-pack: justify;
601
- -ms-flex-pack: justify;
602
- justify-content: space-between;
603
- -ms-flex-wrap: wrap;
604
- flex-wrap: wrap;
605
- -webkit-box-align: center;
606
- -ms-flex-align: center;
607
- align-items: center;
608
- padding: 1em;
609
- }
610
-
611
- .navbar__home {
612
- height: 40px;
613
- }
614
-
615
- .navbar__logo {
616
- height: 100%;
617
- }
618
-
619
- .nav__links {
620
- display: inline-block;
621
- margin: 0;
622
- padding: 0;
623
- list-style-type: none;
624
- }
625
-
626
- .nav__item {
627
- padding: 0;
628
- display: inline-block;
629
- }
630
-
631
- .nav__item a,
632
- .nav__item .dropdown {
633
- text-decoration: none;
634
- color: #1c1c1c;
635
- padding: 0.4em 0.8em;
636
- border-radius: 3px;
637
- }
638
-
639
- .nav__links a::after {
640
- content: none;
641
- }
642
-
643
- .nav__item a:hover,
644
- .nav__item .dropdown:hover {
645
- background: #ebeff3;
646
- }
647
-
648
- .nav__item a.active {
649
- background: #0053b3;
650
- color: #fff;
651
- }
652
-
653
- a.navbar__home {
654
- font-family: 'Evolventa';
655
- display: -webkit-box;
656
- display: -ms-flexbox;
657
- display: flex;
658
- -webkit-box-align: center;
659
- -ms-flex-align: center;
660
- align-items: center;
661
- color: #26353f;
662
- letter-spacing: 0.05em;
663
- text-decoration: none;
664
- }
665
-
666
- .navbar__home img {
667
- vertical-align: middle;
668
- }
669
-
670
- .navbar__logo {
671
- margin-right: 0.8em;
672
- }
673
-
674
- .navbar__gouvfr {
675
- height: 100%;
676
- }
677
-
678
- span.navbar__domain {
679
- font-weight: 400;
680
- color: #26353f;
681
- -webkit-padding-after: 3px; /* fix the broken line-height in logo */
682
- }
683
-
684
- @media (max-width: 749px) {
685
- .navbar__container {
686
- -webkit-box-orient: vertical;
687
- -webkit-box-direction: normal;
688
- -ms-flex-direction: column;
689
- flex-direction: column;
690
- -webkit-box-align: start;
691
- -ms-flex-align: start;
692
- align-items: flex-start;
693
- }
694
-
695
- .nav__links {
696
- padding-top: 1em;
697
- }
698
- }
699
-
700
- .dropdown {
701
- position: relative;
702
- display: inline-block;
703
- }
704
-
705
- .dropdown-content {
706
- display: none;
707
- position: absolute;
708
- background-color: #fff;
709
- min-width: 110px;
710
- text-align: center;
711
- top: 2em;
712
- right: 0;
713
- -webkit-box-shadow: 0 8px 16px 0 rgba(0, 0, 0, .2);
714
- box-shadow: 0 8px 16px 0 rgba(0, 0, 0, .2);
715
- z-index: 1;
716
- }
717
-
718
- .dropdown-content a {
719
- color: black;
720
- padding: 12px 16px;
721
- text-decoration: none;
722
- display: block;
723
- }
724
-
725
- .dropdown-content a:hover {
726
- background-color: #c9d3df;
727
- }
728
-
729
- .dropdown:hover .dropdown-content {
730
- display: block;
731
- }
732
-
733
- .row {
734
- display: -webkit-box;
735
- display: -ms-flexbox;
736
- display: flex;
737
- -webkit-box-pack: justify;
738
- -ms-flex-pack: justify;
739
- justify-content: space-between;
740
- -webkit-box-align: stretch;
741
- -ms-flex-align: stretch;
742
- align-items: stretch;
743
- margin-left: -2em;
744
- margin-right: -2em;
745
- -webkit-box-orient: horizontal;
746
- -webkit-box-direction: normal;
747
- -ms-flex-direction: row;
748
- flex-direction: row;
749
- }
750
-
751
- .row > * {
752
- max-width: 50em;
753
- }
754
-
755
- .row > * {
756
- margin: 0 2em;
757
- }
758
-
759
- @media (max-width: 749px) {
760
- .row {
761
- -webkit-box-orient: vertical;
762
- -webkit-box-direction: normal;
763
- -ms-flex-direction: column;
764
- flex-direction: column;
765
- }
766
-
767
- .row > * {
768
- margin: 1em;
769
- }
770
- }
771
-
772
- .grid {
773
- display: grid;
774
- grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
775
- grid-gap: 1em;
776
- margin-top: 1em;
777
- justify-items: center;
778
- -webkit-box-pack: space-evenly;
779
- -ms-flex-pack: space-evenly;
780
- justify-content: space-evenly;
781
- }
782
-
783
- .grid .panel + .panel,
784
- .grid .card + .card {
785
- margin: 0;
786
- }
787
-
788
- .panel {
789
- background: #fff;
790
- border-radius: 2px;
791
- -webkit-box-shadow: 0 1px 4px #c9d3df;
792
- box-shadow: 0 1px 4px #c9d3df;
793
- padding: 2em;
794
- position: relative;
795
- border: 1px solid #c9d3df;
796
- }
797
-
798
- .panel + * {
799
- margin-top: 2em;
800
- }
801
-
802
- .panel > :first-child {
803
- margin-top: 0;
804
- }
805
-
806
- .panel > :last-child {
807
- margin-bottom: 0;
808
- }
809
-
810
- .panel__header::after {
811
- content: '';
812
- display: block;
813
- width: calc(100% + 4em);
814
- position: relative;
815
- left: -2em;
816
- border-bottom: 1px solid #c9d3df;
817
- margin-bottom: 2em;
818
- }
819
-
820
- .panel__header h3 {
821
- display: inline-block;
822
- }
823
-
824
- .panel__header h3:first-of-type {
825
- margin-top: 0;
826
- }
827
-
828
- .panel__header-extra {
829
- margin-left: 1em;
830
- color: #53657d;
831
- }
832
-
833
- .section {
834
- padding: 5em 0;
835
- }
836
-
837
- .section-white {
838
- background-color: #fff;
839
- }
840
-
841
- .section-grey {
842
- background-color: #ebeff3;
843
- }
844
-
845
- .section-dark {
846
- background-color: #1c1c1c;
847
- color: #fff;
848
- }
849
-
850
- .section-color {
851
- background-color: #003b80;
852
- color: #fff;
853
- }
854
-
855
- .section__subtitle {
856
- margin: 0 auto 2em;
857
- max-width: 640px;
858
- font-size: 1.3em;
859
- font-style: italic;
860
- text-align: center;
861
- margin-bottom: 0;
862
- }
863
-
864
- .section__subtitle:not(:last-child) {
865
- margin-bottom: 3em;
866
- }
867
-
868
- .section__title + .section__subtitle {
869
- margin-top: -3em;
870
- }
871
-
872
- .section__title {
873
- margin: 0 0 3em;
874
- text-align: center;
875
- }
876
-
877
- form {
878
- max-width: 520px;
879
- margin: 0 auto;
880
- }
881
-
882
- input,
883
- textarea,
884
- select {
885
- width: 100%;
886
- outline: none;
887
- padding: 8px 14px;
888
- font: inherit;
889
- line-height: 1.6;
890
- color: #1c1c1c;
891
- border-radius: 3px;
892
- border: 1px solid #adb9c9;
893
- background: #fff;
894
- vertical-align: middle;
895
- position: relative;
896
- }
897
-
898
- input:focus,
899
- textarea:focus,
900
- select:focus {
901
- border-color: #006be6;
902
- -webkit-transition: border-color 0.2s ease-out;
903
- transition: border-color 0.2s ease-out;
904
- }
905
-
906
- input:disabled,
907
- select:disabled {
908
- background-color: #ebeff3;
909
- }
910
-
911
- input[type=radio],
912
- input[type=checkbox] {
913
- margin-right: 6px;
914
- margin-top: 0;
915
- }
916
-
917
- input[type=radio] {
918
- height: 20px;
919
- width: 20px;
920
- border-radius: 50%;
921
- display: inline-block;
922
- -webkit-appearance: none;
923
- -moz-appearance: none;
924
- appearance: none;
925
- padding: 0;
926
- }
927
-
928
- input[type=radio]::before {
929
- content: '';
930
- border-color: #0053b3;
931
- border-radius: 50%;
932
- position: absolute;
933
- top: 5px;
934
- left: 5px;
935
- width: 8px;
936
- height: 8px;
937
- -webkit-transform: scale(0);
938
- transform: scale(0);
939
- }
940
-
941
- input[type=radio]:checked {
942
- background-color: #fff;
943
- border-color: #0053b3;
944
- opacity: 1;
945
- }
946
-
947
- input[type=radio]:checked::before {
948
- background-color: #0053b3;
949
- -webkit-transform: scale(1);
950
- transform: scale(1);
951
- -webkit-transition: -webkit-transform 0.2s ease-out;
952
- transition: -webkit-transform 0.2s ease-out;
953
- transition: transform 0.2s ease-out;
954
- transition: transform 0.2s ease-out, -webkit-transform 0.2s ease-out;
955
- }
956
-
957
- input[type="checkbox"] {
958
- -webkit-appearance: none;
959
- -moz-appearance: none;
960
- appearance: none;
961
- height: 22px;
962
- width: 22px;
963
- padding: 0;
964
- }
965
-
966
- input[type="checkbox"]:checked {
967
- background-color: #0053b3;
968
- border-color: #0053b3;
969
- opacity: 1;
970
- -webkit-transition: border-color 0.2s ease-in, background-color 0.2s ease-out;
971
- transition: border-color 0.2s ease-in, background-color 0.2s ease-out;
972
- }
973
-
974
- input[type="checkbox"]::before {
975
- -webkit-transform: scale(0);
976
- transform: scale(0);
977
- content: '';
978
- position: absolute;
979
- top: 3px;
980
- left: 3px;
981
- height: 14px;
982
- width: 14px;
983
- background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg"><path d="M14.23 1.304L6.112 9.501 2.767 6.117a1.029 1.029 0 0 0-1.464 0 1.054 1.054 0 0 0 0 1.479l4.055 4.101c.208.21.481.31.754.305.272.005.545-.095.753-.305l8.829-8.915a1.053 1.053 0 0 0 0-1.478 1.027 1.027 0 0 0-1.464 0z" fill="white" /></svg>') center center no-repeat;
984
- }
985
-
986
- input[type="checkbox"]:checked::before {
987
- color: #fff;
988
- display: block;
989
- -webkit-transform: scale(1);
990
- transform: scale(1);
991
- -webkit-transition: -webkit-transform 0.2s ease-out;
992
- transition: -webkit-transform 0.2s ease-out;
993
- transition: transform 0.2s ease-out;
994
- transition: transform 0.2s ease-out, -webkit-transform 0.2s ease-out;
995
- }
996
-
997
- select {
998
- -webkit-appearance: none;
999
- -moz-appearance: none;
1000
- appearance: none;
1001
- background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg"><path d="M1.254 2.518a.904.904 0 0 1 0-1.257.85.85 0 0 1 1.225 0l4.512 4.632 4.511-4.632a.85.85 0 0 1 1.225 0 .904.904 0 0 1 0 1.257L7.621 7.761a.848.848 0 0 1-.63.259.849.849 0 0 1-.631-.259L1.254 2.518z" fill="gray"/></svg>') no-repeat;
1002
- background-position: top 1em right 1em;
1003
- background-size: 15px;
1004
- padding-right: 45px;
1005
- border-radius: 3px;
1006
- width: auto;
1007
- }
1008
-
1009
- select:focus {
1010
- outline: none;
1011
- }
1012
-
1013
- select:-moz-focusring {
1014
- color: transparent;
1015
- text-shadow: 0 0 0 #000;
1016
- }
1017
-
1018
- label,
1019
- legend {
1020
- display: block;
1021
- margin-bottom: 0.5em;
1022
- color: #26353f;
1023
- }
1024
-
1025
- label.label-inline {
1026
- display: inline;
1027
- color: #1c1c1c;
1028
- }
1029
-
1030
- .label-inline + input[type=radio],
1031
- .label-inline + input[type=checkbox] {
1032
- margin-left: 10px;
1033
- }
1034
-
1035
- .form__container {
1036
- max-width: 30em;
1037
- margin: auto;
1038
- }
1039
-
1040
- .form__group {
1041
- position: relative;
1042
- display: block;
1043
- }
1044
-
1045
- .form__group + .form__group {
1046
- margin-top: 2em;
1047
- }
1048
-
1049
- fieldset {
1050
- border: none;
1051
- margin: 0;
1052
- padding: 0;
1053
- width: 100%;
1054
- }
1055
-
1056
- .overlay-button {
1057
- position: absolute;
1058
- right: 2em;
1059
- top: 1.25em;
1060
- background: 0;
1061
- border: 0;
1062
- width: 15px;
1063
- height: 15px;
1064
- }
1065
-
1066
- .search__group {
1067
- position: relative;
1068
- }
1069
-
1070
- .overlayed-button .icon-search {
1071
- height: 15px;
1072
- width: 15px;
1073
- }
1074
-
1075
- .input__group {
1076
- display: -webkit-box;
1077
- display: -ms-flexbox;
1078
- display: flex;
1079
- -webkit-box-orient: horizontal;
1080
- -webkit-box-direction: normal;
1081
- -ms-flex-direction: row;
1082
- flex-direction: row;
1083
- }
1084
-
1085
- .input__group .icon-button,
1086
- .input__group .icon-button:active {
1087
- margin-left: 1em;
1088
- padding: 0 0.8em;
1089
- }
1090
-
1091
- .input__group .icon-button .icon {
1092
- width: 16px;
1093
- height: 16px;
1094
- }
1095
-
1096
- .richtext img {
1097
- /* Prevent larger images to break layout */
1098
- max-width: 100%;
1099
-
1100
- /* Center images smaller than width */
1101
- margin: auto;
1102
- display: block;
1103
- }
1104
-
1105
- /* Allow images legends with the following syntax:
1106
- ![](path_to_image)
1107
- *image_caption* */
1108
- .richtext img + em {
1109
- display: block;
1110
- text-align: center;
1111
- margin: 0.3em 0.1em;
1112
- }
1113
-
1114
- /* Disable lists default indentation */
1115
- .richtext ol,
1116
- .richtext ul {
1117
- margin: 0;
1118
- padding: 0 0 0 1em;
1119
- }
1120
-
1121
- .richtext li {
1122
- padding-left: 0.5em;
1123
- }
1124
-
1125
- /* Lighter inline code element */
1126
- .richtext code {
1127
- padding: 0 0.1em;
1128
- border-radius: 0.2em;
1129
- }
1130
-
1131
- /* But <pre> block should be spaced */
1132
- .richtext pre {
1133
- padding: 1em;
1134
- margin: 0.5em 0;
1135
- border-radius: 3px;
1136
- background-color: #ebeff3;
1137
- }
1138
-
1139
- .documentation {
1140
- display: -webkit-box;
1141
- display: -ms-flexbox;
1142
- display: flex;
1143
- }
1144
-
1145
- .side-pane {
1146
- background: #ebeff3;
1147
- padding: 1.5em;
1148
- -webkit-box-flex: 0;
1149
- -ms-flex: 0 0 25%;
1150
- flex: 0 0 25%;
1151
- border-right: 1px solid #c9d3df;
1152
- }
1153
-
1154
- .side-pane h2 {
1155
- margin-top: 0;
1156
- padding: 0.5em;
1157
- }
1158
-
1159
- .side-pane .side-pane__menu {
1160
- list-style-type: none;
1161
- margin: 0;
1162
- padding: 0;
1163
- width: 100%;
1164
- max-width: 400px;
1165
- float: right;
1166
- }
1167
-
1168
- .side-pane__title {
1169
- padding: 0 1em;
1170
- }
1171
-
1172
- .side-pane__title h3 {
1173
- font-family: 'Source Sans Pro';
1174
- font-weight: 400;
1175
- font-size: 0.9em;
1176
- text-transform: uppercase;
1177
- padding-bottom: 1em;
1178
- border-bottom: 1px solid #adb9c9;
1179
- }
1180
-
1181
- .side-pane .side-pane__link {
1182
- padding: 0.5em 1em;
1183
- display: block;
1184
- width: 100%;
1185
- border-radius: 5px;
1186
- margin-bottom: 0.5em;
1187
- color: #26353f;
1188
- }
1189
-
1190
- .side-pane li:hover .side-pane__link {
1191
- background: #c9d3df;
1192
- }
1193
-
1194
- .side-pane li.active .side-pane__link {
1195
- background: #0053b3;
1196
- color: #fff;
1197
- }
1198
-
1199
- .side-pane li.side-pane__dropdown .side-pane__link {
1200
- background: url("../images/icons/external/arrow-right.svg") no-repeat;
1201
- background-position: center right 1em;
1202
- background-size: 15px 15px;
1203
- }
1204
-
1205
- .side-pane li.side-pane__dropdown:hover .side-pane__link {
1206
- background: #c9d3df url("../images/icons/external/arrow-right.svg") no-repeat;
1207
- background-position: center right 1em;
1208
- background-size: 15px 15px;
1209
- }
1210
-
1211
- .side-pane li.unfolded.side-pane__dropdown .side-pane__link,
1212
- .side-pane li.unfolded.side-pane__dropdown:hover .side-pane__link {
1213
- background-image: url("../images/icons/external/arrow-down-white.svg");
1214
- background-color: transparent;
1215
- }
1216
-
1217
- .side-pane li.unfolded.active.side-pane__dropdown .side-pane__link {
1218
- background-color: #0053b3;
1219
- }
1220
-
1221
- .side-pane__dropdown.unfolded .side-pane__submenu {
1222
- display: block;
1223
- }
1224
-
1225
- .side-pane__submenu {
1226
- padding-left: 2em;
1227
- margin-bottom: 0.5em;
1228
- display: none;
1229
- }
1230
-
1231
- .side-pane__sublink,
1232
- .side-pane__sublink:visited {
1233
- padding: 0.5em;
1234
- list-style-type: none;
1235
- color: #53657d;
1236
- border-radius: 5px;
1237
- text-decoration: none;
1238
- display: inline-block;
1239
- }
1240
-
1241
- .side-pane__submenu li {
1242
- list-style-type: none;
1243
- margin: 0.5em 0;
1244
- }
1245
-
1246
- .side-pane__submenu .side-pane__sublink:hover {
1247
- color: #26353f;
1248
- background: #c9d3df;
1249
- }
1250
-
1251
- .side-pane__submenu li.active {
1252
- list-style-type: disc;
1253
- color: #0053b3;
1254
- }
1255
-
1256
- .side-pane__submenu li.active .side-pane__sublink {
1257
- font-weight: 700;
1258
- color: #26353f;
1259
- }
1260
-
1261
- .main-pane {
1262
- padding: 3em 5em;
1263
- background: #fff;
1264
- -webkit-box-flex: 1;
1265
- -ms-flex: 1;
1266
- flex: 1;
1267
- }
1268
-
1269
- .main-pane h1:first-child {
1270
- margin-top: 0;
1271
- }
1272
-
1273
- @media (max-width: 749px) {
1274
- .documentation {
1275
- -webkit-box-orient: vertical;
1276
- -webkit-box-direction: normal;
1277
- -ms-flex-direction: column;
1278
- flex-direction: column;
1279
- }
1280
-
1281
- .side-pane {
1282
- border-right: none;
1283
- border-bottom: 1px solid #c9d3df;
1284
- -webkit-box-flex: 1;
1285
- -ms-flex: auto;
1286
- flex: auto;
1287
- }
1288
-
1289
- .side-pane .side-pane__menu {
1290
- max-width: unset;
1291
- float: none;
1292
- }
1293
- }
1294
-
1295
- @media (min-width: 1000px) {
1296
- .main-pane .markdown {
1297
- width: 80%;
1298
- }
1299
-
1300
- .side-pane {
1301
- -webkit-box-flex: 0;
1302
- -ms-flex: 0 0 350px;
1303
- flex: 0 0 350px;
1304
- }
1305
- }
1306
-
1307
- .dashboard {
1308
- display: -webkit-box;
1309
- display: -ms-flexbox;
1310
- display: flex;
1311
- -webkit-box-orient: horizontal;
1312
- -webkit-box-direction: normal;
1313
- -ms-flex-direction: row;
1314
- flex-direction: row;
1315
- -webkit-box-flex: 1;
1316
- -ms-flex: 1 1 auto;
1317
- flex: 1 1 auto;
1318
- min-height: calc(100vh - 73px);
1319
- }
1320
-
1321
- .dashboard .side-menu {
1322
- -webkit-box-flex: 1;
1323
- -ms-flex: 1 1 auto;
1324
- flex: 1 1 auto;
1325
- background: #fff;
1326
- }
1327
-
1328
- .dashboard .side-menu ul {
1329
- margin-top: 0;
1330
- padding: 0;
1331
- list-style-type: none;
1332
- }
1333
-
1334
- .dashboard .side-menu a {
1335
- padding: 1em 2em;
1336
- display: block;
1337
- width: 100%;
1338
- color: #26353f;
1339
- }
1340
-
1341
- .dashboard .side-menu a.active {
1342
- background: linear-gradient(to right, #0053b3, #0053b3 5px, #ebeff3 5px, #ebeff3);
1343
- }
1344
-
1345
- .dashboard .side-menu a:hover {
1346
- color: #0053b3;
1347
- }
1348
-
1349
- .dashboard .main {
1350
- padding: 2em;
1351
- -webkit-box-flex: 1;
1352
- -ms-flex: 1 1 75%;
1353
- flex: 1 1 75%;
1354
- background: #ebeff3;
1355
- }
1356
-
1357
- .dashboard .main > :first-child {
1358
- margin-top: 0;
1359
- }
1360
-
1361
- .dashboard table {
1362
- -webkit-box-shadow: none;
1363
- box-shadow: none;
1364
- }
1365
-
1366
- .article {
1367
- text-rendering: optimizeLegibility;
1368
- -webkit-font-smoothing: antialiased;
1369
- -moz-osx-font-smoothing: grayscale;
1370
- -moz-font-feature-settings: "liga" on;
1371
- padding: 0;
1372
- background: #fff;
1373
- color: #26353f;
1374
- line-height: 1.5;
1375
- margin: 0 auto;
1376
- }
1377
-
1378
- .article__hero {
1379
- height: 38vh;
1380
- width: 100%;
1381
- overflow: hidden;
1382
- position: relative;
1383
- display: -webkit-box;
1384
- display: -ms-flexbox;
1385
- display: flex;
1386
- -webkit-box-align: center;
1387
- -ms-flex-align: center;
1388
- align-items: center;
1389
- -webkit-box-pack: center;
1390
- -ms-flex-pack: center;
1391
- justify-content: center;
1392
- }
1393
-
1394
- .article__hero img {
1395
- width: 100%;
1396
- filter: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg"><filter id="filter"><feComponentTransfer color-interpolation-filters="sRGB"><feFuncR type="linear" slope="0.5" /><feFuncG type="linear" slope="0.5" /><feFuncB type="linear" slope="0.5" /></feComponentTransfer></filter></svg>#filter');
1397
- -webkit-filter: brightness(0.5);
1398
- filter: brightness(0.5);
1399
- position: absolute;
1400
- z-index: 5;
1401
- }
1402
-
1403
- .article__hero .article__container {
1404
- z-index: 10;
1405
- -webkit-box-align: start;
1406
- -ms-flex-align: start;
1407
- align-items: start;
1408
- width: 100%;
1409
- }
1410
-
1411
- .article__content {
1412
- margin: 0;
1413
- }
1414
-
1415
- .article__content .article__container {
1416
- margin: 0 auto;
1417
- padding: 2em 0 4em;
1418
- }
1419
-
1420
- .richtext + .article__author {
1421
- margin-top: 1em;
1422
- }
1423
-
1424
- .article__author-list {
1425
- padding-top: 1em;
1426
- display: -webkit-box;
1427
- display: -ms-flexbox;
1428
- display: flex;
1429
- -webkit-box-orient: horizontal;
1430
- -webkit-box-direction: normal;
1431
- -ms-flex-direction: row;
1432
- flex-direction: row;
1433
- -webkit-box-pack: justify;
1434
- -ms-flex-pack: justify;
1435
- justify-content: space-between;
1436
- }
1437
-
1438
- .article__author {
1439
- display: inline-block;
1440
- max-width: 270px;
1441
- padding: 1em;
1442
- font-size: 15px;
1443
- }
1444
-
1445
- .article__author + .article__author {
1446
- margin-left: 1em;
1447
- margin-top: 0;
1448
- }
1449
-
1450
- .article__author img {
1451
- height: 32px;
1452
- width: 32px;
1453
- border-radius: 50%;
1454
- display: inline-block;
1455
- float: right;
1456
- }
1457
-
1458
- .article__author-info {
1459
- display: inline-block;
1460
- }
1461
-
1462
- .article__author-name {
1463
- font-weight: 700;
1464
- }
1465
-
1466
- .article__author-role {
1467
- color: #53657d;
1468
- font-size: 0.9em;
1469
- line-height: 0.8em;
1470
- }
1471
-
1472
- .article__author-description p:last-child {
1473
- margin-bottom: 0;
1474
- }
1475
-
1476
- /* article list for blog and alike */
1477
- .article__preview {
1478
- margin: 0 auto;
1479
- padding: 2em;
1480
- }
1481
-
1482
- .article__preview + .article__preview {
1483
- margin-top: 2em;
1484
- }
1485
-
1486
- .article__preview .article__author {
1487
- width: auto;
1488
- padding: 0;
1489
- }
1490
-
1491
- .article__preview .article__author img {
1492
- float: none;
1493
- vertical-align: middle;
1494
- }
1495
-
1496
- .article__preview img + .article__author-name {
1497
- margin-left: 0.5em;
1498
- }
1499
-
1500
- a.article__link {
1501
- color: #26353f;
1502
- text-decoration: none;
1503
- }
1504
-
1505
- a.article__link:hover {
1506
- color: #0053b3;
1507
- }
1508
-
1509
- .article__title {
1510
- margin-bottom: 0;
1511
- }
1512
-
1513
- .article__meta {
1514
- margin-bottom: 1em;
1515
- }
1516
-
1517
- .article__thumbnail {
1518
- width: 100%;
1519
- height: 200px;
1520
- overflow: hidden;
1521
- position: relative;
1522
- }
1523
-
1524
- .article__thumbnail img {
1525
- width: 100%;
1526
- position: relative;
1527
- top: 50%;
1528
- -webkit-transform: translateY(-50%);
1529
- transform: translateY(-50%);
1530
- }
1531
-
1532
- @media (max-width: 549px) {
1533
- .article__container,
1534
- .article__hero .article__container {
1535
- width: 85%;
1536
- padding: 0;
1537
- }
1538
-
1539
- .article__author-list {
1540
- -webkit-box-orient: vertical;
1541
- -webkit-box-direction: normal;
1542
- -ms-flex-direction: column;
1543
- flex-direction: column;
1544
- }
1545
-
1546
- .article__author-list .article__author {
1547
- width: 100%;
1548
- margin-left: 0;
1549
- }
1550
-
1551
- .article__author-list .article__author + .article__author {
1552
- margin-top: 1em;
1553
- margin-left: 0;
1554
- }
1555
- }
1556
-
1557
- .card {
1558
- background: #fff;
1559
- border-radius: 2px;
1560
- -webkit-box-shadow: 0 1px 4px #c9d3df;
1561
- box-shadow: 0 1px 4px #c9d3df;
1562
- position: relative;
1563
- overflow: hidden;
1564
- display: -webkit-box;
1565
- display: -ms-flexbox;
1566
- display: flex;
1567
- -webkit-box-flex: 1;
1568
- -ms-flex: 1;
1569
- flex: 1;
1570
- -webkit-box-orient: vertical;
1571
- -webkit-box-direction: normal;
1572
- -ms-flex-direction: column;
1573
- flex-direction: column;
1574
- width: 100%;
1575
- }
1576
-
1577
- .row > .card + .card {
1578
- margin-left: 2em;
1579
- }
1580
-
1581
- @media (max-width: 749px) {
1582
- .row > .card + .card {
1583
- margin-left: 0;
1584
- margin-top: 2em;
1585
- }
1586
- }
1587
-
1588
- .card__cover {
1589
- height: 250px;
1590
- width: 100%;
1591
- overflow: hidden;
1592
- position: relative;
1593
- }
1594
-
1595
- .card__cover img {
1596
- -o-object-fit: cover;
1597
- object-fit: cover; /* will not work on IE and Edge < 16 */
1598
- height: 100%;
1599
- width: 100%;
1600
- }
1601
-
1602
- .card__content {
1603
- padding: 2em;
1604
- -webkit-box-flex: 1;
1605
- -ms-flex-positive: 1;
1606
- flex-grow: 1;
1607
- }
1608
-
1609
- .card__content h3 {
1610
- margin: 0;
1611
- }
1612
-
1613
- .card__content .card__meta {
1614
- color: #53657d;
1615
- }
1616
-
1617
- .card__content .card__meta time::after {
1618
- content: " • ";
1619
- }
1620
-
1621
- .card__content :last-child {
1622
- margin-bottom: 0;
1623
- }
1624
-
1625
- .card__extra {
1626
- border-top: 1px solid #adb9c9;
1627
- padding: 1em;
1628
- }
1629
-
1630
- .modal__backdrop {
1631
- position: fixed;
1632
- top: 0;
1633
- left: 0;
1634
- background: rgba(0, 0, 0, .5);
1635
- height: 100%;
1636
- width: 100%;
1637
- -webkit-box-pack: center;
1638
- -ms-flex-pack: center;
1639
- justify-content: center;
1640
- -webkit-box-align: center;
1641
- -ms-flex-align: center;
1642
- align-items: center;
1643
- display: none;
1644
- z-index: 10;
1645
- }
1646
-
1647
- /* no js modal */
1648
- .modal__backdrop:target {
1649
- display: -webkit-box;
1650
- display: -ms-flexbox;
1651
- display: flex;
1652
- }
1653
-
1654
- .modal {
1655
- border-radius: 3px;
1656
- -webkit-box-shadow: #c9d3df;
1657
- box-shadow: #c9d3df;
1658
- background: #fff;
1659
- padding: 2em;
1660
- max-width: 32em;
1661
- }
1662
-
1663
- .modal > :first-child {
1664
- margin-top: 0;
1665
- }
1666
-
1667
- .modal .button__group {
1668
- display: -webkit-box;
1669
- display: -ms-flexbox;
1670
- display: flex;
1671
- -webkit-box-pack: justify;
1672
- -ms-flex-pack: justify;
1673
- justify-content: space-between;
1674
- margin-top: 2em;
1675
- }
1676
-
1677
- .modal .button__group .button {
1678
- margin: 0;
1679
- }
1680
-
1681
- .modal .button__group .button + .button {
1682
- margin-left: 1em;
1683
- }
1684
-
1685
- .label-list {
1686
- padding: 0;
1687
- margin: 0;
1688
- }
1689
-
1690
- .label,
1691
- a.label {
1692
- background-color: #ebeff3;
1693
- border-radius: 3px;
1694
- display: inline-block;
1695
- padding: 0.3em 0.8em;
1696
- margin: 0.25em;
1697
- font-size: 0.875em;
1698
- text-decoration: none;
1699
- }
1700
-
1701
- .label--active {
1702
- background-color: #0053b3;
1703
- color: #fff;
1704
- }
1705
-
1706
- .label--inactive {
1707
- background-color: #fff;
1708
- border: 1px solid #adb9c9;
1709
- color: #53657d;
1710
- }
1711
-