docs fixes

This commit is contained in:
codecalm
2020-02-05 20:50:02 +01:00
parent 4096d77c6b
commit c7d7aea9ba
7 changed files with 30 additions and 11 deletions
+16 -2
View File
@@ -1,8 +1,18 @@
.example {
padding: 2rem;
margin: 1rem 0 0;
margin: 2rem 0;
border: 1px solid $border-color;
border-radius: 3px 3px 0 0;
min-height: 12rem;
display: flex;
align-items: center;
}
.example-content {
font-size: $font-size-base;
color: $body-color;
flex: 1;
}
.example-bg {
@@ -10,13 +20,17 @@
}
.example-code {
margin-top: 0;
margin: 2rem 0;
border-top: none;
pre {
margin: 0;
border-radius: 0 0 3px 3px;
}
.example + & {
margin-top: -2rem;
}
}
.example-column {
-2
View File
@@ -15,8 +15,6 @@ pre.highlight,
background: $dark;
border-radius: $border-radius;
color: #ffffff;
-webkit-font-smoothing: auto;
-moz-osx-font-smoothing: auto;
@include scrollbar(true);
}