deploy fixes
[wolnelektury.git] / src / wolnelektury / static / 2022 / styles / vendors / _normalize.scss
1 /*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */
2
3 /* Document
4    ========================================================================== */
5
6 /**
7  * 1. Correct the line height in all browsers.
8  * 2. Prevent adjustments of font size after orientation changes in
9  *    IE on Windows Phone and in iOS.
10  */
11
12 html {
13   line-height: 1.15; /* 1 */
14   -ms-text-size-adjust: 100%; /* 2 */
15   -webkit-text-size-adjust: 100%; /* 2 */
16 }
17
18 /* Sections
19    ========================================================================== */
20
21 /**
22  * Remove the margin in all browsers (opinionated).
23  */
24
25 body {
26   margin: 0;
27 }
28
29 /**
30  * Add the correct display in IE 9-.
31  */
32
33 article,
34 aside,
35 footer,
36 header,
37 nav,
38 section {
39   display: block;
40 }
41
42 /**
43  * Correct the font size and margin on `h1` elements within `section` and
44  * `article` contexts in Chrome, Firefox, and Safari.
45  */
46
47 h1 {
48   font-size: 2em;
49   margin: 0.67em 0;
50 }
51
52 /* Grouping content
53    ========================================================================== */
54
55 /**
56  * Add the correct display in IE 9-.
57  * 1. Add the correct display in IE.
58  */
59
60 figcaption,
61 figure,
62 main { /* 1 */
63   display: block;
64 }
65
66 /**
67  * Add the correct margin in IE 8.
68  */
69
70 figure {
71   margin: 1em 40px;
72 }
73
74 /**
75  * 1. Add the correct box sizing in Firefox.
76  * 2. Show the overflow in Edge and IE.
77  */
78
79 hr {
80   box-sizing: content-box; /* 1 */
81   height: 0; /* 1 */
82   overflow: visible; /* 2 */
83 }
84
85 /**
86  * 1. Correct the inheritance and scaling of font size in all browsers.
87  * 2. Correct the odd `em` font sizing in all browsers.
88  */
89
90 pre {
91   font-family: monospace, monospace; /* 1 */
92   font-size: 1em; /* 2 */
93 }
94
95 /* Text-level semantics
96    ========================================================================== */
97
98 /**
99  * 1. Remove the gray background on active links in IE 10.
100  * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
101  */
102
103 a {
104   color: currentColor;
105   text-decoration: none;
106   background-color: transparent; /* 1 */
107   -webkit-text-decoration-skip: objects; /* 2 */
108   transition: color $ease-out 350ms, border-bottom-color $ease-out 350ms;
109   &:hover {
110     border-bottom-color: transparent;
111     color: $color-primary;
112   }
113 }
114
115 /**
116  * 1. Remove the bottom border in Chrome 57- and Firefox 39-.
117  * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
118  */
119
120 abbr[title] {
121   border-bottom: none; /* 1 */
122   text-decoration: underline; /* 2 */
123   text-decoration: underline dotted; /* 2 */
124 }
125
126 /**
127  * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
128  */
129
130 b,
131 strong {
132   font-weight: inherit;
133 }
134
135 /**
136  * Add the correct font weight in Chrome, Edge, and Safari.
137  */
138
139 b,
140 strong {
141   font-weight: bolder;
142 }
143
144 /**
145  * 1. Correct the inheritance and scaling of font size in all browsers.
146  * 2. Correct the odd `em` font sizing in all browsers.
147  */
148
149 code,
150 kbd,
151 samp {
152   font-family: monospace, monospace; /* 1 */
153   font-size: 1em; /* 2 */
154 }
155
156 /**
157  * Add the correct font style in Android 4.3-.
158  */
159
160 dfn {
161   font-style: italic;
162 }
163
164 /**
165  * Add the correct background and color in IE 9-.
166  */
167
168 mark {
169   background-color: #ff0;
170   color: #000;
171 }
172
173 /**
174  * Add the correct font size in all browsers.
175  */
176
177 small {
178   font-size: 80%;
179 }
180
181 /**
182  * Prevent `sub` and `sup` elements from affecting the line height in
183  * all browsers.
184  */
185
186 sub,
187 sup {
188   font-size: 75%;
189   line-height: 0;
190   position: relative;
191   vertical-align: baseline;
192 }
193
194 sub {
195   bottom: -0.25em;
196 }
197
198 sup {
199   top: -0.5em;
200 }
201
202 /* Embedded content
203    ========================================================================== */
204
205 /**
206  * Add the correct display in IE 9-.
207  */
208
209 audio,
210 video {
211   display: inline-block;
212 }
213
214 /**
215  * Add the correct display in iOS 4-7.
216  */
217
218 audio:not([controls]) {
219   display: none;
220   height: 0;
221 }
222
223 /**
224  * Remove the border on images inside links in IE 10-.
225  */
226
227 img {
228   border-style: none;
229 }
230
231 /**
232  * Hide the overflow in IE.
233  */
234
235 svg:not(:root) {
236   overflow: hidden;
237 }
238
239 /* Forms
240    ========================================================================== */
241
242 /**
243  * 1. Change the font styles in all browsers (opinionated).
244  * 2. Remove the margin in Firefox and Safari.
245  */
246
247 button,
248 input,
249 optgroup,
250 select,
251 textarea {
252   font-family: sans-serif; /* 1 */
253   font-size: 100%; /* 1 */
254   line-height: 1.15; /* 1 */
255   margin: 0; /* 2 */
256 }
257
258 /**
259  * Show the overflow in IE.
260  * 1. Show the overflow in Edge.
261  */
262
263 button,
264 input { /* 1 */
265   overflow: visible;
266 }
267
268 /**
269  * Remove the inheritance of text transform in Edge, Firefox, and IE.
270  * 1. Remove the inheritance of text transform in Firefox.
271  */
272
273 button,
274 select { /* 1 */
275   text-transform: none;
276 }
277
278 /**
279  * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
280  *    controls in Android 4.
281  * 2. Correct the inability to style clickable types in iOS and Safari.
282  */
283
284 button,
285 html [type="button"], /* 1 */
286 [type="reset"],
287 [type="submit"] {
288   -webkit-appearance: button; /* 2 */
289 }
290
291 /**
292  * Remove the inner border and padding in Firefox.
293  */
294
295 button::-moz-focus-inner,
296 [type="button"]::-moz-focus-inner,
297 [type="reset"]::-moz-focus-inner,
298 [type="submit"]::-moz-focus-inner {
299   border-style: none;
300   padding: 0;
301 }
302
303 /**
304  * Restore the focus styles unset by the previous rule.
305  */
306 /* WL: removed */
307
308 /**
309  * Correct the padding in Firefox.
310  */
311
312 fieldset {
313   padding: 0.35em 0.75em 0.625em;
314 }
315
316 /**
317  * 1. Correct the text wrapping in Edge and IE.
318  * 2. Correct the color inheritance from `fieldset` elements in IE.
319  * 3. Remove the padding so developers are not caught out when they zero out
320  *    `fieldset` elements in all browsers.
321  */
322
323 legend {
324   box-sizing: border-box; /* 1 */
325   color: inherit; /* 2 */
326   display: table; /* 1 */
327   max-width: 100%; /* 1 */
328   padding: 0; /* 3 */
329   white-space: normal; /* 1 */
330 }
331
332 /**
333  * 1. Add the correct display in IE 9-.
334  * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
335  */
336
337 progress {
338   display: inline-block; /* 1 */
339   vertical-align: baseline; /* 2 */
340 }
341
342 /**
343  * Remove the default vertical scrollbar in IE.
344  */
345
346 textarea {
347   overflow: auto;
348 }
349
350 /**
351  * 1. Add the correct box sizing in IE 10-.
352  * 2. Remove the padding in IE 10-.
353  */
354
355 [type="checkbox"],
356 [type="radio"] {
357   box-sizing: border-box; /* 1 */
358   padding: 0; /* 2 */
359 }
360
361 /**
362  * Correct the cursor style of increment and decrement buttons in Chrome.
363  */
364
365 [type="number"]::-webkit-inner-spin-button,
366 [type="number"]::-webkit-outer-spin-button {
367   height: auto;
368 }
369
370 /**
371  * 1. Correct the odd appearance in Chrome and Safari.
372  * 2. Correct the outline style in Safari.
373  */
374
375 [type="search"] {
376   -webkit-appearance: textfield; /* 1 */
377   outline-offset: -2px; /* 2 */
378 }
379
380 /**
381  * Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
382  */
383
384 [type="search"]::-webkit-search-cancel-button,
385 [type="search"]::-webkit-search-decoration {
386   -webkit-appearance: none;
387 }
388
389 /**
390  * 1. Correct the inability to style clickable types in iOS and Safari.
391  * 2. Change font properties to `inherit` in Safari.
392  */
393
394 ::-webkit-file-upload-button {
395   -webkit-appearance: button; /* 1 */
396   font: inherit; /* 2 */
397 }
398
399 /* Interactive
400    ========================================================================== */
401
402 /*
403  * Add the correct display in IE 9-.
404  * 1. Add the correct display in Edge, IE, and Firefox.
405  */
406
407 details, /* 1 */
408 menu {
409   display: block;
410 }
411
412 /*
413  * Add the correct display in all browsers.
414  */
415
416 summary {
417   display: list-item;
418 }
419
420 /* Scripting
421    ========================================================================== */
422
423 /**
424  * Add the correct display in IE 9-.
425  */
426
427 canvas {
428   display: inline-block;
429 }
430
431 /**
432  * Add the correct display in IE.
433  */
434
435 template {
436   display: none;
437 }
438
439 /* Hidden
440    ========================================================================== */
441
442 /**
443  * Add the correct display in IE 10-.
444  */
445
446 [hidden] {
447   display: none;
448 }