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

@@ -41,18 +41,24 @@ p, var {
color: var(--color-texts);
}
/*sizes*/
aside {
font-size: .8rem;
}
main {
font-size: 1rem;
}
p {
font-size: 1.8rem;
line-height: 3rem;
font-size: 1.8em;
line-height: 1.5em;
}
h1 {
font-size: 2.5rem;
font-size: 2.5em;
}
h2 {
font-size: 2rem;
font-size: 2em;
}
.mini_text {
font-size: 1.5rem;
font-size: 0.8em;
}
/*specials settings*/
body p, body p *, body h1, body h1 *, body h2, body h2 * {
@@ -73,4 +79,7 @@ b, em {
p br, h1 br, h2 br {
margin: 0px;
}
h1 {
margin-bottom: 20px;
}