Left: | ||
Right: |
LEFT | RIGHT |
---|---|
1 @font-face | |
2 { | |
3 font-family: "Source Sans Pro"; | |
4 font-weight: 400; | |
5 font-style: normal; | |
6 src: url("../fonts/Source-Sans-Pro-400/Source-Sans-Pro-400.eot"); | |
juliandoucette
2018/02/13 18:32:06
I don't think this isn't necessary unless we want
ire
2018/02/14 08:43:42
Done.
| |
7 src: url("../fonts/Source-Sans-Pro-400/Source-Sans-Pro-400.eot?#iefix") format ("embedded-opentype"), | |
juliandoucette
2018/02/13 18:32:05
I don't think that this isn't necessary unless we
ire
2018/02/14 08:43:42
Done.
| |
8 local("Source Sans Pro"), | |
9 local("Source-Sans-Pro-400"), | |
10 url("../fonts/Source-Sans-Pro-400/Source-Sans-Pro-400.woff2") format("wof f2"), | |
11 url("../fonts/Source-Sans-Pro-400/Source-Sans-Pro-400.woff") format("woff "), | |
12 url("../fonts/Source-Sans-Pro-400/Source-Sans-Pro-400.ttf") format("truet ype"), | |
juliandoucette
2018/02/13 18:32:06
I don't think this is necessary unless we want to
ire
2018/02/14 08:43:42
Done.
| |
13 url("../fonts/Source-Sans-Pro-400/Source-Sans-Pro-400.svg#SourceSansPro") format("svg"); | |
juliandoucette
2018/02/13 18:32:06
I don't think that this is necessary unless we wan
ire
2018/02/14 08:43:42
Done.
| |
14 } | |
15 | |
16 @font-face | |
17 { | |
18 font-family: "Source Sans Pro"; | |
19 font-weight: 600; | |
20 font-style: normal; | |
21 src: url("../fonts/Source-Sans-Pro-600/Source-Sans-Pro-600.eot"); | |
22 src: url("../fonts/Source-Sans-Pro-600/Source-Sans-Pro-600.eot?#iefix") format ("embedded-opentype"), | |
23 local("Source Sans Pro Semibold"), | |
24 local("Source-Sans-Pro-600"), | |
25 url("../fonts/Source-Sans-Pro-600/Source-Sans-Pro-600.woff2") format("wof f2"), | |
26 url("../fonts/Source-Sans-Pro-600/Source-Sans-Pro-600.woff") format("woff "), | |
27 url("../fonts/Source-Sans-Pro-600/Source-Sans-Pro-600.ttf") format("truet ype"); | |
28 } | |
29 | |
30 body | 1 body |
31 { | 2 { |
32 font-family: "Source Sans Pro", Arial, sans-serif; | 3 font-family: "Source Sans Pro", Arial, sans-serif; |
33 font-size: 16px; | |
juliandoucette
2018/02/13 18:32:06
I think we can rely on website-defaults to set (or
ire
2018/02/14 08:43:42
Done.
| |
34 font-weight: 400; | |
35 margin: 0; | 4 margin: 0; |
5 /* Start below fixed navbar */ | |
6 padding-top: 4em; | |
36 line-height: 1.5; | 7 line-height: 1.5; |
37 } | 8 } |
38 | 9 |
39 #content | 10 #content, |
11 #blog | |
40 { | 12 { |
41 padding-bottom: 2em; | 13 padding-bottom: 2em; |
42 } | 14 } |
43 | 15 |
44 a img | 16 a img |
45 { | 17 { |
46 border: none; | 18 border: none; |
47 } | 19 } |
48 | 20 |
49 a:link, a:visited | 21 a:link, a:visited |
(...skipping 17 matching lines...) Expand all Loading... | |
67 padding: 1em; | 39 padding: 1em; |
68 overflow: auto; | 40 overflow: auto; |
69 } | 41 } |
70 | 42 |
71 .sprite | 43 .sprite |
72 { | 44 { |
73 display: inline-block; | 45 display: inline-block; |
74 font-size: 0px; /* fix for IE6 height bug */ | 46 font-size: 0px; /* fix for IE6 height bug */ |
75 background-image: url(../img/sprite-main.png); | 47 background-image: url(../img/sprite-main.png); |
76 background-repeat: no-repeat; | 48 background-repeat: no-repeat; |
77 } | |
78 | |
79 #adblock-browser-notification | |
80 { | |
81 text-align: center; | |
82 } | |
83 | |
84 #adblock-browser-notification a | |
85 { | |
86 font-weight: bold; | |
87 } | |
88 | |
89 #adblock-browser-notification img | |
90 { | |
91 vertical-align: bottom; | |
92 width: 25px; | |
93 height: 25px; | |
94 } | |
95 | |
96 #adblock-browser-notification span | |
97 { | |
98 white-space: nowrap; | |
99 margin-left: 1em; | |
100 } | |
101 | |
102 [dir="rtl"] #adblock-browser-notification span | |
103 { | |
104 margin-left: 0; | |
105 margin-right: 1em; | |
106 } | 49 } |
107 | 50 |
108 .toc | 51 .toc |
109 { | 52 { |
110 display: inline-block; | 53 display: inline-block; |
111 border: 1px solid #aaa; | 54 border: 1px solid #aaa; |
112 background: #fff; | 55 background: #fff; |
113 padding: 16px 20px; | 56 padding: 16px 20px; |
114 } | 57 } |
115 | 58 |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
192 .section | 135 .section |
193 { | 136 { |
194 padding: 2em 0; | 137 padding: 2em 0; |
195 } | 138 } |
196 | 139 |
197 /****************************************************************************** | 140 /****************************************************************************** |
198 * .content | 141 * .content |
199 *****************************************************************************/ | 142 *****************************************************************************/ |
200 | 143 |
201 .content h1, | 144 .content h1, |
145 .content .h1, | |
202 .content h2, | 146 .content h2, |
203 .content h3, | 147 .content h3, |
204 .content h4, | 148 .content h4, |
205 .content h5 | 149 .content h5 |
206 { | 150 { |
207 font-weight: bold; | 151 font-weight: bold; |
208 margin: 32px 0 16px 0; | 152 margin: 32px 0 16px 0; |
209 margin: 2rem 0 1rem 0; | 153 margin: 2rem 0 1rem 0; |
210 } | 154 line-height: 1.4; |
211 | 155 } |
212 .content h1 { font-size: 1.8em; } | 156 |
213 .content h2 { font-size: 1.4em; } | 157 .content h1, |
214 .content h3 { font-size: 1.3em; } | 158 .content .h1 { font-size: 1.4em; } |
215 .content h4 { font-size: 1.2em; } | 159 .content h2 { font-size: 1.3em; } |
216 .content h5 { font-size: 1.1em; } | 160 .content h3 { font-size: 1.2em; } |
161 .content h4 { font-size: 1.1em; } | |
162 .content h5 { font-size: 1em; } | |
163 | |
164 @media(min-width: 576px) | |
165 { | |
166 .content h1, | |
167 .content .h1 { font-size: 1.6em; } | |
168 .content h2 { font-size: 1.4em; } | |
169 .content h3 { font-size: 1.3em; } | |
170 .content h4 { font-size: 1.2em; } | |
171 .content h5 { font-size: 1.1em; } | |
172 } | |
217 | 173 |
218 @media(min-width: 768px) | 174 @media(min-width: 768px) |
219 { | 175 { |
220 .content h1 { font-size: 2.4em; } | 176 .content h1, |
177 .content .h1 | |
178 { | |
179 font-size: 2.4em; | |
180 line-height: 1.3; | |
181 } | |
182 | |
221 .content h2 { font-size: 1.6em; } | 183 .content h2 { font-size: 1.6em; } |
222 } | 184 } |
223 | 185 |
224 .content a, | 186 .content a, |
225 .content a:visited | 187 .content a:visited |
226 { | 188 { |
227 color: #c70d2c; | 189 color: #c70d2c; |
228 } | 190 } |
229 | 191 |
230 /* Buttons | 192 /* Buttons |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
263 .button.primary:hover | 225 .button.primary:hover |
264 { | 226 { |
265 background-color: #E00F32; | 227 background-color: #E00F32; |
266 } | 228 } |
267 | 229 |
268 .button.primary:active | 230 .button.primary:active |
269 { | 231 { |
270 background-color: #AD102A; | 232 background-color: #AD102A; |
271 } | 233 } |
272 | 234 |
273 .button.inverse, | 235 .button.accent, |
274 a.button.inverse | 236 .button.accent:visited |
275 { | 237 { |
276 background: none; | 238 background: #077CA6; |
277 color: #fff; | 239 color: #fff; |
278 margin-left: 2px; | 240 margin-left: 2px; |
279 margin-right: 2px; | 241 margin-right: 2px; |
280 border: 1px solid #fff; | 242 } |
281 } | 243 |
282 | 244 .button.accent:hover, |
283 .button.inverse:hover, | 245 .button.accent:active, |
284 .button.inverse:focus | 246 .button.accent:focus |
285 { | 247 { |
286 box-shadow: inset 0 0 0 2px #fff; | 248 box-shadow: inset 0 0 0 3px #005D80; |
287 } | 249 } |
288 | 250 |
289 .button.inverse:active | 251 /******************************************************************************* |
290 { | 252 * .fg-* utilities |
291 background-color: #fff; | 253 ******************************************************************************/ |
292 } | 254 |
293 | 255 .fg-accent |
294 .bg-accent .button.inverse:active | |
295 { | 256 { |
296 color: #077CA6; | 257 color: #077CA6; |
297 } | 258 } |
298 | 259 |
299 /******************************************************************************* | 260 .bg-secondary |
300 * .bg-* utilities | 261 { |
301 ******************************************************************************/ | 262 color: #000; |
302 | 263 background-color: #F4F4F4; |
303 .bg-accent | |
304 { | |
305 color: #fff; | |
306 background-color: #077CA6; | |
307 } | 264 } |
308 | 265 |
309 /******************************************************************************* | 266 /******************************************************************************* |
310 * #navbar | 267 * #navbar |
311 ******************************************************************************/ | 268 ******************************************************************************/ |
312 | 269 |
313 #navbar | 270 #navbar |
314 { | 271 { |
315 min-height: 4em; | 272 min-height: 4em; |
316 background-color: #c70d2c; | 273 background-color: #c70d2c; |
274 position: fixed; | |
275 z-index: 2; | |
276 width: 100%; | |
277 top: 0; | |
278 transition: top 0.2s ease-in-out; | |
317 } | 279 } |
318 | 280 |
319 @media(max-width: 991px) | 281 @media(max-width: 991px) |
320 { | 282 { |
321 #navbar | 283 #navbar |
322 { | 284 { |
323 overflow: auto; | 285 overflow: auto; |
324 } | 286 } |
325 } | 287 } |
326 | 288 |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
548 | 510 |
549 @media(max-width: 991px) | 511 @media(max-width: 991px) |
550 { | 512 { |
551 #navbar-menu | 513 #navbar-menu |
552 { | 514 { |
553 display: none; | 515 display: none; |
554 float: left; | 516 float: left; |
555 clear: both; | 517 clear: both; |
556 width: 100%; | 518 width: 100%; |
557 background-color: #292929; | 519 background-color: #292929; |
520 overflow-y: scroll; | |
521 max-height: 416px; | |
522 max-height: 80vh; | |
558 } | 523 } |
559 | 524 |
560 #navbar-menu.visible | 525 #navbar-menu.visible |
561 { | 526 { |
562 display: block; | 527 display: block; |
563 } | 528 } |
564 | 529 |
565 #navbar-menu li a | 530 #navbar-menu li a |
566 { | 531 { |
567 padding: 0.75em 1em; | 532 padding: 0.75em 1em; |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
735 { | 700 { |
736 display: none; | 701 display: none; |
737 } | 702 } |
738 | 703 |
739 /* overriding display:none above */ | 704 /* overriding display:none above */ |
740 #footer #social-list | 705 #footer #social-list |
741 { | 706 { |
742 display: block; | 707 display: block; |
743 } | 708 } |
744 } | 709 } |
710 | |
711 /* Video | |
712 ****************************************************************************/ | |
713 | |
714 .video-parent | |
715 { | |
716 position: relative; | |
717 display: block; | |
718 width: 100%; | |
719 padding: 0; | |
720 border: 1px solid #c9c9c9; | |
721 box-shadow: 1px 1px 0 0 #dbdbdb; | |
722 overflow: hidden; | |
723 } | |
724 | |
725 .video-parent.has-iframe::before | |
726 { | |
727 display: block; | |
728 content: ""; | |
729 padding-top: 56.25%; | |
730 } | |
731 | |
732 .video-parent iframe | |
733 { | |
734 position: absolute; | |
735 top: 0; | |
736 bottom: 0; | |
737 left: 0; | |
738 width: 100%; | |
739 height: 100%; | |
740 border: 0; | |
741 } | |
742 | |
743 .video-link | |
744 { | |
745 display: block; | |
746 position: relative; | |
747 } | |
748 | |
749 .video-thumbnail | |
750 { | |
751 width: 100%; | |
752 transition: opacity 0.8s; | |
753 opacity: 0.2; | |
754 } | |
755 | |
756 .hide-disclaimer .video-thumbnail | |
757 { | |
758 opacity: 1; | |
759 } | |
760 | |
761 .video-disclaimer | |
762 { | |
763 visibility: visible; | |
764 opacity: 1; | |
765 position: absolute; | |
766 bottom: 0; | |
767 left: 0; | |
768 padding: 1em; | |
769 background-color: #fff; | |
770 font-size: 0.9em; | |
771 text-align: center; | |
772 transition: opacity 0.8s; | |
773 } | |
774 | |
775 .hide-disclaimer .video-disclaimer | |
776 { | |
777 visibility: hidden; | |
778 opacity: 0; | |
779 } | |
780 | |
781 .video-play | |
782 { | |
783 position: absolute; | |
784 top: 50%; | |
785 left: 50%; | |
786 width: 80px; | |
787 margin-top: -60px; | |
788 margin-left: -40px; | |
789 } | |
790 | |
791 .hide-disclaimer .video-play | |
792 { | |
793 margin-top: -40px; | |
794 } | |
LEFT | RIGHT |