Skip to content

Commit d15ac7c

Browse files
authored
Add files via upload
1 parent 184d2a3 commit d15ac7c

7 files changed

+1248
-0
lines changed

css/reset.css

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

0 commit comments

Comments
 (0)