ajout reglages rem et em en cours
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user