ajout reglages rem et em en cours

This commit is contained in:
hugogogo
2021-02-27 16:57:10 +01:00
parent bb9d968c7f
commit 6b585f4312
4 changed files with 20 additions and 14 deletions

View File

@@ -26,9 +26,6 @@
/* colors buttons */
--primary-hue: 12;
--color-button: hsl(var(primary-hue), 1%, 1%);
/*space between content and screen*/
--screen-gap: 5vw;
}
@@ -38,10 +35,9 @@ html {
scroll-behavior: smooth;
font-size: 10px;
}
/*to keep a blank space between the content and the edges of the page*/
/*to keep a blank space between the content and the top of the page*/
body {
padding: var(--screen-gap);
width: calc(100% - 2 * var(screen-gap));
margin-top: 100px;
}
main {
min-height: calc(100vh - 70px);