scss: customize padding instead of margin for titles

This commit is contained in:
Kazhnuz 2018-10-13 17:23:29 +02:00
parent 1363268709
commit 1661ac8f47
2 changed files with 7 additions and 21 deletions

View file

@ -110,49 +110,37 @@ h1, h2, h3, h4, h5, h6, h7 {
h1 {
font-size: 2em;
line-height: 1.5em;
padding: 0;
margin-top: 0em;
margin-bottom: 1em;
padding: 0em 0 1em 0;
font-weight: 600; }
h2 {
font-size: 1.8em;
line-height: 1.5em;
padding: 0;
margin-top: 0em;
margin-bottom: 0em;
padding: 0em 0 0em 0;
font-weight: 600; }
h3 {
font-size: 1.6em;
line-height: 1.5em;
padding: 0;
margin-top: 0em;
margin-bottom: 0em;
padding: 0em 0 0em 0;
font-weight: 600; }
h4 {
font-size: 1.4em;
line-height: 1.5em;
padding: 0;
margin-top: 0em;
margin-bottom: 0em;
padding: 0em 0 0em 0;
font-weight: 600; }
h5 {
font-size: 1.4em;
line-height: 1.5em;
padding: 0;
margin-top: 0em;
margin-bottom: 0em;
padding: 0em 0 0em 0;
font-weight: 400; }
h6 {
font-size: 1.2em;
line-height: 1.5em;
padding: 0;
margin-top: 0em;
margin-bottom: 0em;
padding: 0em 0 0em 0;
font-weight: 400; }
/* ------------------ HR ------------------- */

View file

@ -127,9 +127,7 @@ a {
@mixin title($size, $height, $top, $bottom, $weight) {
font-size: $size;
line-height: $height;
padding:0;
margin-top: $top;
margin-bottom: $bottom;
padding: $top 0 $bottom 0;
font-weight: $weight;
}