#39, Finish columns shortcode, clean scss

This commit is contained in:
Alex Shpak
2019-05-23 16:30:26 +02:00
parent c80bd79dcd
commit 5437521798
16 changed files with 141 additions and 73 deletions
+11 -5
View File
@@ -8,12 +8,12 @@ $block-border-radius: 0.15rem;
h1, h2, h3, h4, h5 {
font-weight: 400;
line-height: 1.25;
}
// remove padding at the beginning of page
&> :first-child {
margin-top: 0;
line-height: 1em;
}
// remove padding at the beginning of page
> :first-child {
margin-top: 0;
line-height: 1;
}
b, optgroup, strong {
@@ -72,4 +72,10 @@ $block-border-radius: 0.15rem;
background: $gray-100;
}
}
hr {
height: $padding-1;
border: none;
background: $gray-200;
}
}
+8 -2
View File
@@ -1,10 +1,10 @@
@import "variables";
.markdown-inner {
:first-child {
> :first-child {
margin-top: 0;
}
:last-child {
> :last-child {
margin-bottom: 0;
}
}
@@ -50,3 +50,9 @@
display: block;
}
}
.book-columns > {
div + div {
margin-left: $padding-16 * 2;
}
}
-8
View File
@@ -34,14 +34,6 @@
margin: 0 auto;
}
.mr-auto {
margin-right: auto;
}
.hide {
display: none;
}
@mixin fixed {
position: fixed;
top: 0;
+1 -13
View File
@@ -149,21 +149,9 @@ ul.pagination {
}
}
.book-git-footer {
display: flex;
margin-top: $padding-16;
font-size: $font-size-14;
align-items: baseline;
img {
width: $font-size-14;
vertical-align: bottom;
}
}
.book-footer {
display: flex;
margin-top: $padding-16;
padding-top: $padding-16;
font-size: $font-size-14;
align-items: baseline;