Added info block styles

This commit is contained in:
Felipe M 2016-12-19 17:25:20 +01:00
parent 15f629b7ef
commit 255dfe1c1e
2 changed files with 13 additions and 1 deletions

View file

@ -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

View file

@ -12,7 +12,7 @@
{% from 'macros/comments.html' import disqus with context %}
{{ disqus() }}
{% else %}
<div class="center info">
<div class="center block-info">
Comments have been disabled in this post, if you want to contact me please <a href="{{ '/contact'|url }}">go ahead</a>!
</div>
{% endif %}