~williamvds/website

979e2ce00eee46f38ca0e7a3481ff88c80a881df — williamvds 1 year, 8 months ago a4e5628
Style blockquotes and add quote shortcode
2 files changed, 17 insertions(+), 0 deletions(-)

M sass/site.sass
A templates/shortcodes/quote.html
M sass/site.sass => sass/site.sass +13 -0
@@ 80,6 80,19 @@ pre
	code
		padding: 0

blockquote
	border-left: $line-width solid $fg
	font-style: italic
	padding-left: $space-small

	margin: $space-medium $space-large

	@media (max-width: $small-thresh)
		margin: $space-large 0

	.source
		font-style: normal

.iconlink
	display: inline-block


A templates/shortcodes/quote.html => templates/shortcodes/quote.html +4 -0
@@ 0,0 1,4 @@
<blockquote>
    {{ body | markdown | safe }}
	<sub class=source>{{ source }}</sub>
</blockquote>