Some design improvements

This commit is contained in:
Anna Sidwell 2018-11-26 23:32:31 +00:00
parent 04b8ae7bf9
commit 4e86794a6c
3 changed files with 14 additions and 5 deletions

View File

@ -4,9 +4,14 @@
{% block stylesheets %} {% block stylesheets %}
{{ block.super }} {{ block.super }}
{% leaflet_css %} {% leaflet_css %}
<style>
.page-lead { border-left: 10px solid #4ac95d; }
</style>
{% endblock %} {% endblock %}
{% block page_title %}{% trans "Submit a Case Study" %} - {{ block.super }}{% endblock %} {% block page_title %}{% trans "New Case Study" %} - {{ block.super }}{% endblock %}
{% block title %}{% trans "New Case Study" %}{% endblock %}
{% block description %}{% trans "Here you can submit a case study for review and it will be added to the map." %}{% endblock %} {% block description %}{% trans "Here you can submit a case study for review and it will be added to the map." %}{% endblock %}
{% block inner %} {% block inner %}

View File

@ -1,3 +1,7 @@
h1 {
font-weight: bold;
}
/* Make sure that the footer doesn't have space after it */ /* Make sure that the footer doesn't have space after it */
.container { min-height: 60vh; } .container { min-height: 60vh; }

View File

@ -5,8 +5,8 @@
{{ block.super }} {{ block.super }}
<style> <style>
.page-lead { .page-lead {
padding: 40px 15px; padding: 5px 30px;
text-align: center; margin-bottom: 20px;
} }
</style> </style>
{% endblock %} {% endblock %}
@ -16,8 +16,8 @@
<div class="container"> <div class="container">
<div class="page-lead"> <div class="page-lead">
<h1 class="text-center">{% block title %}{% endblock %}</h1> <h1>{% block title %}{% endblock %}</h1>
<p class="lead text-center">{% block description %}{% endblock %}</p> <p class="lead">{% block description %}{% endblock %}</p>
</div> </div>
{% block inner %} {% block inner %}