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;
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 {
background: #2484c1;
color: #fff; }

View file

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