Style the slogan

This commit is contained in:
benjamin melançon 2019-08-01 09:17:46 -04:00
parent 19ab616868
commit d59cb7fdec
3 changed files with 15 additions and 1 deletions

View file

@ -50,3 +50,16 @@
font-size: 22px; font-size: 22px;
padding-top: 18px; padding-top: 18px;
} }
.slogan {
position: relative;
top: -36px;
height: 36px;
z-index: 30;
display: flex;
.title {
color: $green-gray;
font-size: 1.2rem;
margin: auto;
}
}

View file

@ -5,6 +5,7 @@ $blue: #4391E0;
$red: #a70c20; $red: #a70c20;
$light-green: #65AB1F; $light-green: #65AB1F;
$green: #478D00; $green: #478D00;
$green-gray: #8FB489;
// Update Bulma's global variables. // Update Bulma's global variables.
$primary: $green; $primary: $green;

View file

@ -37,7 +37,7 @@
{{ parent() }} {{ parent() }}
{% endblock navbar %} {% endblock navbar %}
{% block header %} {% block header %}
<h6 class="title">{{ site_slogan }}</h6> <p class="slogan"><strong class="title">{{ site_slogan }}</strong></p>
<section class="hero"> <section class="hero">
{% block header_and_search %} {% block header_and_search %}
{% if page.header %} {% if page.header %}