demo stylesheet, md fixes

This commit is contained in:
codecalm
2020-02-02 16:48:59 +01:00
parent 71ac502a45
commit 3738f63d8d
12 changed files with 31 additions and 33 deletions
+36
View File
@@ -0,0 +1,36 @@
.example {
padding: 2rem;
margin: 1rem 0 0;
border: 1px solid $border-color;
border-radius: 3px 3px 0 0;
}
.example-bg {
background: $body-bg;
}
.example-code {
margin-top: 0;
border-top: none;
pre {
margin: 0;
border-radius: 0 0 3px 3px;
}
}
.example-column {
margin: 0 auto;
> .card:last-of-type {
margin-bottom: 0;
}
}
.example-column-1 {
max-width: 20rem;
}
.example-column-2 {
max-width: 40rem;
}