mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-03-03 11:27:09 +00:00
[FEAT] Styling improvements
This commit is contained in:
@@ -34,6 +34,11 @@ header.masthead .textbox-container {
|
|||||||
background-color: rgba(30, 30, 30, 0.2);
|
background-color: rgba(30, 30, 30, 0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
header.masthead > .row {
|
||||||
|
max-width: 1140px;
|
||||||
|
margin: auto;
|
||||||
|
}
|
||||||
|
|
||||||
@media (min-width: 768px) {
|
@media (min-width: 768px) {
|
||||||
header.masthead {
|
header.masthead {
|
||||||
padding-top: 1rem;
|
padding-top: 1rem;
|
||||||
|
|||||||
@@ -10,13 +10,13 @@
|
|||||||
{% block before_content %}
|
{% block before_content %}
|
||||||
|
|
||||||
{% get_media_prefix as MEDIA_URL %}
|
{% get_media_prefix as MEDIA_URL %}
|
||||||
<header class="container-fluid masthead text-white text-left {% if config.HOMEPAGE_HEADER_IMAGE_SHRINK %}masthead-shrink{% endif %}"
|
<header class="container-fluid masthead text-white text-left {% if config.HOMEPAGE_HEADER_IMAGE_SHRINK %}masthead-shrink{% endif %} py-2"
|
||||||
style="background-image: url('{{ MEDIA_URL }}{{ config.HOMEPAGE_HEADER_IMAGE }}')">
|
style="background-image: url('{{ MEDIA_URL }}{{ config.HOMEPAGE_HEADER_IMAGE }}')">
|
||||||
<div class="overlay"></div>
|
<div class="overlay"></div>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="mx-5 px-4 my-3 pt-3 pb-2 textbox-container">
|
<div class="px-4 my-3 pt-3 pb-2 textbox-container">
|
||||||
<h1 class="display-1">{{ settings.PROJECT_LONG_NAME }}</h1>
|
<h1>{{ settings.PROJECT_LONG_NAME }}</h1>
|
||||||
<p class="lead">{{ config.PROJECT_LEAD }}</p>
|
<p class="lead">{{ config.PROJECT_LEAD }}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user