1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2024-11-17 09:47:05 +01:00

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

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
*/