Improve appearance of block level buttons (front page, tools, setup).

This commit is contained in:
Roberto Rosario
2015-07-13 00:59:31 -04:00
parent 1f213450c2
commit 34c1f1227d
2 changed files with 9 additions and 1 deletions

View File

@@ -136,6 +136,14 @@
margin-top: 5px;
margin-bottom: 11px;
}
.btn-block {
margin-bottom: 15px;
white-space: normal;
min-height: 120px;
padding-top: 20px;
padding-bottom: 1px;
}
</style>
{% block stylesheets %}{% endblock %}

View File

@@ -1,5 +1,5 @@
<div class="{% if div_class %}{{ div_class }}{% else %}col-xs-12 col-sm-6 col-md-4 col-lg-3{% endif %}">
<a class="btn btn-default btn-lg btn-block" href="{{ link.url }}" style="margin-bottom: 5px;">
<a class="btn btn-default btn-lg btn-block" href="{{ link.url }}">
<i class="{{ link.icon }} fa-2x"></i><br>
{{ link.text }}
</a>