source/scss/main.scss: Add style to blockquote tags

Bootstrap's default only styles blockquote tags that also have the
class "blockquote". As Hugo's Markdown syntax for blockquotes only
produces bare blockquote tags, we should apply the same style to
those as well, as this is most likely what users expect.
This commit is contained in:
Alan Orth 2017-03-16 15:38:59 +02:00
parent 7c1502ff3e
commit 132d659955
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
1 changed files with 9 additions and 0 deletions

View File

@ -170,6 +170,15 @@ section + #disqus_thread {
margin-top: 1rem;
}
// style all blockquotes, not just Bootstrap's default of class="blockquote"
// see: node_modules/bootstrap/scss/_type.scss
article blockquote {
padding: ($spacer / 2) $spacer;
margin-bottom: $spacer;
font-size: $blockquote-font-size;
border-left: $blockquote-border-width solid $blockquote-border-color;
}
/*
* Footer
*/