refactor(scss): add --section-separation and --small-card-padding variables

This commit is contained in:
Jimmy Cai
2020-08-24 20:28:17 +02:00
parent 174f52d812
commit 4e9a6f1421
9 changed files with 25 additions and 21 deletions
+3 -3
View File
@@ -49,7 +49,7 @@
&.sticky {
top: 30px;
}
@media (max-width: $on-desktop - 1) {
display: none;
}
@@ -136,14 +136,14 @@
.sidebar {
.widget {
&:not(:last-of-type) {
margin-bottom: 40px;
margin-bottom: var(--section-separation);
&:after {
content: "";
width: 100px;
height: 2px;
background-color: var(--body-text-color);
display: block;
margin-top: 40px;
margin-top: var(--section-separation);
}
}
}