fichier reset.css au lieu de sass
continuous-integration/drone/push Build is passing Details

This commit is contained in:
pikselkraft 2020-05-26 12:47:02 +02:00
parent 66bff55af9
commit 6914c52647
2 changed files with 14 additions and 11 deletions

View File

@ -1,4 +1,5 @@
@import "./variables" @import "./variables"
@import "./reset"
@import "./html" @import "./html"
@import "./a11y" @import "./a11y"
@import "./content" @import "./content"

View File

@ -1,9 +1,11 @@
/* Reset CSS */ /*********
Reset CSS
*********/
/* Box sizing rules */ /* Box sizing rules */
*, *,
*::before, *::before,
*::after { *::after {
box-sizing: border-box box-sizing: border-box;
} }
/* Remove default margin */ /* Remove default margin */
@ -22,18 +24,18 @@ figcaption,
blockquote, blockquote,
dl, dl,
dd { dd {
margin: 0 margin: 0;
} }
/* Make images easier to work with */ /* Make images easier to work with */
img { img {
max-width: 100% max-width: 100%;
display: block display: block;
} }
/* Natural flow and rhythm in articles by default */ /* Natural flow and rhythm in articles by default */
article > * + * { article > * + * {
margin-top: 1em margin-top: 1em;
} }
/* Inherit fonts for inputs and buttons */ /* Inherit fonts for inputs and buttons */
@ -41,15 +43,15 @@ input,
button, button,
textarea, textarea,
select { select {
font: inherit font: inherit;
} }
/* Remove all animations and transitions for people that prefer not to see them */ /* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) { @media (prefers-reduced-motion: reduce) {
* { * {
animation-duration: 0.01ms !important animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important transition-duration: 0.01ms !important;
scroll-behavior: auto !important scroll-behavior: auto !important;
} }
} }