scss: introduce $font-line-height (#68540)
This commit is contained in:
parent
295d83386a
commit
2b78ac308c
|
@ -59,6 +59,11 @@ paramètre, la deuxième sa description et la troisième la valeur par défaut.
|
|||
valeur à <var>100%</var>.</p></td>
|
||||
<td><p><var>100%</var></p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><code>$font-line-height</code></p></td>
|
||||
<td><p>Hauteur de l'interlignage du corps de texte</p></td>
|
||||
<td><p><var>1.4</var></p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><code>$width</code></p></td>
|
||||
<td><p>Largeur maximale de la page</p></td>
|
||||
|
|
|
@ -2,6 +2,7 @@ $border-radius: null !default;
|
|||
$font-color: #333 !default;
|
||||
$font-family: sans-serif !default;
|
||||
$font-size: 100% !default;
|
||||
$font-line-height: 1.4;
|
||||
$link-color: #028 !default;
|
||||
$link-decoration: none !default;
|
||||
$link-hover-decoration: underline !default;
|
||||
|
@ -15,6 +16,14 @@ html {
|
|||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
main, footer {
|
||||
line-height: $font-line-height;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
a {
|
||||
color: $link-color;
|
||||
text-decoration: $link-decoration;
|
||||
|
|
|
@ -42,9 +42,6 @@ div.textcell {
|
|||
h3, h4, h5, p, table {
|
||||
margin: 0.7em 1rem;
|
||||
}
|
||||
p, table, ul, ol {
|
||||
line-height: 1.4;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and ($max-mobile-viewport) {
|
||||
|
|
Loading…
Reference in New Issue