@import "../bootstrap/scss/print";
// Include fonts
-@import "fonts";
+@import "_fonts.scss";
// Custom stuff
@import "icons";
}
}
-.user-content {
- .user-content-header {
+.blog-post {
+ .blog-header {
h4 {
margin-bottom: 0;
}
}
- .user-content-body {
+ .blog-content {
h1, h2, h3, h4, h5, h6 {
font-size: 1.375rem;
font-weight: $headings-font-weight;
}
&.lightning-wire-labs {
- .user-content-header {
+ .blog-header {
h5 {
a {
color: $lwl;
}
}
- .user-content-body {
+ .blog-content {
a {
color: $lwl;
}
}
}
+.wiki-content {
+ h1, h2, h3, h4, h5, h6 {
+ font-weight: $headings-font-weight;
+ line-height: $headings-line-height;
+ margin-bottom: 0.25rem;
+ }
+
+ h1 {
+ font-size: $h4-font-size;
+ }
+
+ h2 {
+ font-size: $h5-font-size;
+ }
+
+ h3, h4, h5, h6 {
+ font-size: $h6-font-size;
+ }
+
+ img {
+ @include img-fluid;
+
+ // Center all images
+ display: block;
+ margin-left: auto;
+ margin-right: auto;
+
+ // Add some extra margin to the top & bottom
+ padding: ($spacer * 2) 0 ($spacer * 2) 0;
+ }
+
+ blockquote {
+ @extend .blockquote;
+ }
+
+ table {
+ @extend .table;
+ @extend .table-sm;
+ }
+}
+
hr.divider {
border-color: rgba($dark, .15);
margin-top: 2rem;