scss: make paragraph and ul respect lines height

This commit is contained in:
Kazhnuz 2018-10-13 17:35:10 +02:00
parent 404ae051cd
commit 5c9d7ee5d0
2 changed files with 34 additions and 0 deletions

View file

@ -56,6 +56,20 @@ a {
color: #2484c1; color: #2484c1;
text-decoration: none; } text-decoration: none; }
p {
padding: 0;
padding-bottom: 1.5em;
margin: 0; }
ul {
padding: 0;
padding-bottom: 1.5em;
margin: 0; }
ul ul {
padding-bottom: 0; }
ul li {
margin-left: 1.5em; }
::selection { ::selection {
background: #2484c1; background: #2484c1;
color: #fff; } color: #fff; }

View file

@ -47,6 +47,12 @@
/* ------------------ GLOBAL STYLE ------------------- */ /* ------------------ GLOBAL STYLE ------------------- */
@mixin paragraph() {
padding:0;
padding-bottom:1.5em;
margin:0;
}
body { body {
font-family: ClearSans, sans-serif; font-family: ClearSans, sans-serif;
text-align: left; text-align: left;
@ -73,6 +79,20 @@ a {
text-decoration:none; text-decoration:none;
} }
p {
@include paragraph();
}
ul {
@include paragraph();
ul {
padding-bottom:0;
}
li {
margin-left:1.5em;
}
}
::selection { background: #2484c1; color: #fff; } ::selection { background: #2484c1; color: #fff; }
::-moz-selection { background: #2484c1; color: #fff; } ::-moz-selection { background: #2484c1; color: #fff; }