~jan0sch/smederee
~jan0sch/smederee/modules/hub/src/main/resources/assets/purecss/3.0.0/base.css
~jan0sch/smederee/modules/hub/src/main/resources/assets/purecss/3.0.0/base.css
0 | /*! |
1 | Pure v3.0.0 |
2 | Copyright 2013 Yahoo! |
3 | Licensed under the BSD License. |
4 | https://github.com/pure-css/pure/blob/master/LICENSE |
5 | */ |
6 | /*! |
7 | normalize.css v | MIT License | https://necolas.github.io/normalize.css/ |
8 | Copyright (c) Nicolas Gallagher and Jonathan Neal |
9 | */ |
10 | /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */ |
11 |
|
12 | /* Document |
13 | ========================================================================== */ |
14 |
|
15 | /** |
16 | * 1. Correct the line height in all browsers. |
17 | * 2. Prevent adjustments of font size after orientation changes in iOS. |
18 | */ |
19 |
|
20 | html { |
21 | line-height: 1.15; /* 1 */ |
22 | -webkit-text-size-adjust: 100%; /* 2 */ |
23 | } |
24 |
|
25 | /* Sections |
26 | ========================================================================== */ |
27 |
|
28 | /** |
29 | * Remove the margin in all browsers. |
30 | */ |
31 |
|
32 | body { |
33 | margin: 0; |
34 | } |
35 |
|
36 | /** |
37 | * Render the `main` element consistently in IE. |
38 | */ |
39 |
|
40 | main { |
41 | display: block; |
42 | } |
43 |
|
44 | /** |
45 | * Correct the font size and margin on `h1` elements within `section` and |
46 | * `article` contexts in Chrome, Firefox, and Safari. |
47 | */ |
48 |
|
49 | h1 { |
50 | font-size: 2em; |
51 | margin: 0.67em 0; |
52 | } |
53 |
|
54 | /* Grouping content |
55 | ========================================================================== */ |
56 |
|
57 | /** |
58 | * 1. Add the correct box sizing in Firefox. |
59 | * 2. Show the overflow in Edge and IE. |
60 | */ |
61 |
|
62 | hr { |
63 | box-sizing: content-box; /* 1 */ |
64 | height: 0; /* 1 */ |
65 | overflow: visible; /* 2 */ |
66 | } |
67 |
|
68 | /** |
69 | * 1. Correct the inheritance and scaling of font size in all browsers. |
70 | * 2. Correct the odd `em` font sizing in all browsers. |
71 | */ |
72 |
|
73 | pre { |
74 | font-family: monospace, monospace; /* 1 */ |
75 | font-size: 1em; /* 2 */ |
76 | } |
77 |
|
78 | /* Text-level semantics |
79 | ========================================================================== */ |
80 |
|
81 | /** |
82 | * Remove the gray background on active links in IE 10. |
83 | */ |
84 |
|
85 | a { |
86 | background-color: transparent; |
87 | } |
88 |
|
89 | /** |
90 | * 1. Remove the bottom border in Chrome 57- |
91 | * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. |
92 | */ |
93 |
|
94 | abbr[title] { |
95 | border-bottom: none; /* 1 */ |
96 | text-decoration: underline; /* 2 */ |
97 | -webkit-text-decoration: underline dotted; |
98 | text-decoration: underline dotted; /* 2 */ |
99 | } |
100 |
|
101 | /** |
102 | * Add the correct font weight in Chrome, Edge, and Safari. |
103 | */ |
104 |
|
105 | b, |
106 | strong { |
107 | font-weight: bolder; |
108 | } |
109 |
|
110 | /** |
111 | * 1. Correct the inheritance and scaling of font size in all browsers. |
112 | * 2. Correct the odd `em` font sizing in all browsers. |
113 | */ |
114 |
|
115 | code, |
116 | kbd, |
117 | samp { |
118 | font-family: monospace, monospace; /* 1 */ |
119 | font-size: 1em; /* 2 */ |
120 | } |
121 |
|
122 | /** |
123 | * Add the correct font size in all browsers. |
124 | */ |
125 |
|
126 | small { |
127 | font-size: 80%; |
128 | } |
129 |
|
130 | /** |
131 | * Prevent `sub` and `sup` elements from affecting the line height in |
132 | * all browsers. |
133 | */ |
134 |
|
135 | sub, |
136 | sup { |
137 | font-size: 75%; |
138 | line-height: 0; |
139 | position: relative; |
140 | vertical-align: baseline; |
141 | } |
142 |
|
143 | sub { |
144 | bottom: -0.25em; |
145 | } |
146 |
|
147 | sup { |
148 | top: -0.5em; |
149 | } |
150 |
|
151 | /* Embedded content |
152 | ========================================================================== */ |
153 |
|
154 | /** |
155 | * Remove the border on images inside links in IE 10. |
156 | */ |
157 |
|
158 | img { |
159 | border-style: none; |
160 | } |
161 |
|
162 | /* Forms |
163 | ========================================================================== */ |
164 |
|
165 | /** |
166 | * 1. Change the font styles in all browsers. |
167 | * 2. Remove the margin in Firefox and Safari. |
168 | */ |
169 |
|
170 | button, |
171 | input, |
172 | optgroup, |
173 | select, |
174 | textarea { |
175 | font-family: inherit; /* 1 */ |
176 | font-size: 100%; /* 1 */ |
177 | line-height: 1.15; /* 1 */ |
178 | margin: 0; /* 2 */ |
179 | } |
180 |
|
181 | /** |
182 | * Show the overflow in IE. |
183 | * 1. Show the overflow in Edge. |
184 | */ |
185 |
|
186 | button, |
187 | input { /* 1 */ |
188 | overflow: visible; |
189 | } |
190 |
|
191 | /** |
192 | * Remove the inheritance of text transform in Edge, Firefox, and IE. |
193 | * 1. Remove the inheritance of text transform in Firefox. |
194 | */ |
195 |
|
196 | button, |
197 | select { /* 1 */ |
198 | text-transform: none; |
199 | } |
200 |
|
201 | /** |
202 | * Correct the inability to style clickable types in iOS and Safari. |
203 | */ |
204 |
|
205 | button, |
206 | [type="button"], |
207 | [type="reset"], |
208 | [type="submit"] { |
209 | -webkit-appearance: button; |
210 | } |
211 |
|
212 | /** |
213 | * Remove the inner border and padding in Firefox. |
214 | */ |
215 |
|
216 | button::-moz-focus-inner, |
217 | [type="button"]::-moz-focus-inner, |
218 | [type="reset"]::-moz-focus-inner, |
219 | [type="submit"]::-moz-focus-inner { |
220 | border-style: none; |
221 | padding: 0; |
222 | } |
223 |
|
224 | /** |
225 | * Restore the focus styles unset by the previous rule. |
226 | */ |
227 |
|
228 | button:-moz-focusring, |
229 | [type="button"]:-moz-focusring, |
230 | [type="reset"]:-moz-focusring, |
231 | [type="submit"]:-moz-focusring { |
232 | outline: 1px dotted ButtonText; |
233 | } |
234 |
|
235 | /** |
236 | * Correct the padding in Firefox. |
237 | */ |
238 |
|
239 | fieldset { |
240 | padding: 0.35em 0.75em 0.625em; |
241 | } |
242 |
|
243 | /** |
244 | * 1. Correct the text wrapping in Edge and IE. |
245 | * 2. Correct the color inheritance from `fieldset` elements in IE. |
246 | * 3. Remove the padding so developers are not caught out when they zero out |
247 | * `fieldset` elements in all browsers. |
248 | */ |
249 |
|
250 | legend { |
251 | box-sizing: border-box; /* 1 */ |
252 | color: inherit; /* 2 */ |
253 | display: table; /* 1 */ |
254 | max-width: 100%; /* 1 */ |
255 | padding: 0; /* 3 */ |
256 | white-space: normal; /* 1 */ |
257 | } |
258 |
|
259 | /** |
260 | * Add the correct vertical alignment in Chrome, Firefox, and Opera. |
261 | */ |
262 |
|
263 | progress { |
264 | vertical-align: baseline; |
265 | } |
266 |
|
267 | /** |
268 | * Remove the default vertical scrollbar in IE 10+. |
269 | */ |
270 |
|
271 | textarea { |
272 | overflow: auto; |
273 | } |
274 |
|
275 | /** |
276 | * 1. Add the correct box sizing in IE 10. |
277 | * 2. Remove the padding in IE 10. |
278 | */ |
279 |
|
280 | [type="checkbox"], |
281 | [type="radio"] { |
282 | box-sizing: border-box; /* 1 */ |
283 | padding: 0; /* 2 */ |
284 | } |
285 |
|
286 | /** |
287 | * Correct the cursor style of increment and decrement buttons in Chrome. |
288 | */ |
289 |
|
290 | [type="number"]::-webkit-inner-spin-button, |
291 | [type="number"]::-webkit-outer-spin-button { |
292 | height: auto; |
293 | } |
294 |
|
295 | /** |
296 | * 1. Correct the odd appearance in Chrome and Safari. |
297 | * 2. Correct the outline style in Safari. |
298 | */ |
299 |
|
300 | [type="search"] { |
301 | -webkit-appearance: textfield; /* 1 */ |
302 | outline-offset: -2px; /* 2 */ |
303 | } |
304 |
|
305 | /** |
306 | * Remove the inner padding in Chrome and Safari on macOS. |
307 | */ |
308 |
|
309 | [type="search"]::-webkit-search-decoration { |
310 | -webkit-appearance: none; |
311 | } |
312 |
|
313 | /** |
314 | * 1. Correct the inability to style clickable types in iOS and Safari. |
315 | * 2. Change font properties to `inherit` in Safari. |
316 | */ |
317 |
|
318 | ::-webkit-file-upload-button { |
319 | -webkit-appearance: button; /* 1 */ |
320 | font: inherit; /* 2 */ |
321 | } |
322 |
|
323 | /* Interactive |
324 | ========================================================================== */ |
325 |
|
326 | /* |
327 | * Add the correct display in Edge, IE 10+, and Firefox. |
328 | */ |
329 |
|
330 | details { |
331 | display: block; |
332 | } |
333 |
|
334 | /* |
335 | * Add the correct display in all browsers. |
336 | */ |
337 |
|
338 | summary { |
339 | display: list-item; |
340 | } |
341 |
|
342 | /* Misc |
343 | ========================================================================== */ |
344 |
|
345 | /** |
346 | * Add the correct display in IE 10+. |
347 | */ |
348 |
|
349 | template { |
350 | display: none; |
351 | } |
352 |
|
353 | /** |
354 | * Add the correct display in IE 10. |
355 | */ |
356 |
|
357 | [hidden] { |
358 | display: none; |
359 | } |
360 |
|
361 | /*csslint important:false*/ |
362 |
|
363 | /* ========================================================================== |
364 | Pure Base Extras |
365 | ========================================================================== */ |
366 |
|
367 | /** |
368 | * Extra rules that Pure adds on top of Normalize.css |
369 | */ |
370 |
|
371 | html { |
372 | font-family: sans-serif; |
373 | } |
374 |
|
375 | /** |
376 | * Always hide an element when it has the `hidden` HTML attribute. |
377 | */ |
378 |
|
379 | .hidden, |
380 | [hidden] { |
381 | display: none !important; |
382 | } |
383 |
|
384 | /** |
385 | * Add this class to an image to make it fit within it's fluid parent wrapper while maintaining |
386 | * aspect ratio. |
387 | */ |
388 | .pure-img { |
389 | max-width: 100%; |
390 | height: auto; |
391 | display: block; |
392 | } |