From 255dfe1c1e7a713035e70936d7360304e18f5706 Mon Sep 17 00:00:00 2001 From: Felipe Martin Date: Mon, 19 Dec 2016 17:25:20 +0100 Subject: [PATCH] Added info block styles --- assets/static/sass/_layout.sass | 12 ++++++++++++ templates/blog/post.html | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/assets/static/sass/_layout.sass b/assets/static/sass/_layout.sass index 95e7c30..34e69d8 100644 --- a/assets/static/sass/_layout.sass +++ b/assets/static/sass/_layout.sass @@ -55,3 +55,15 @@ p:first-child .clearfloat clear: both + +.block-info + background-color: lightblue + padding: 12px + + &:before + color: darken(lightblue, 50) + content: '🛈' + float: left + font-size: 180% + line-height: 80% + padding-right: 6px diff --git a/templates/blog/post.html b/templates/blog/post.html index 22cae00..db2e57a 100644 --- a/templates/blog/post.html +++ b/templates/blog/post.html @@ -12,7 +12,7 @@ {% from 'macros/comments.html' import disqus with context %} {{ disqus() }} {% else %} -
+
Comments have been disabled in this post, if you want to contact me please go ahead!
{% endif %}