scss: make paragraph and ul respect lines height
This commit is contained in:
parent
404ae051cd
commit
5c9d7ee5d0
2 changed files with 34 additions and 0 deletions
|
@ -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; }
|
||||
|
|
|
@ -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; }
|
||||
|
||||
|
|
Loading…
Reference in a new issue