mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2024-12-19 00:52:19 +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:
parent
7c1502ff3e
commit
132d659955
@ -170,6 +170,15 @@ section + #disqus_thread {
|
|||||||
margin-top: 1rem;
|
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
|
* Footer
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user