mirror of
https://github.com/FAUSheppy/flask-json-dream-website
synced 2025-12-06 08:11:35 +01:00
change wp responsiveness
This commit is contained in:
@@ -12,9 +12,28 @@ body {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.title-responsive{
|
||||||
|
font-size: 25px !important;
|
||||||
|
padding-left: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 1300px) {
|
||||||
|
.title-responsive{
|
||||||
|
font-size: 20px !important;
|
||||||
|
padding-left: unset;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 900px) {
|
||||||
|
.title-responsive{
|
||||||
|
font-size: 2.2vw !important;
|
||||||
|
padding-left: unset;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.masthead {
|
.masthead {
|
||||||
/*height: 50vh; */
|
/*height: 50vh; */
|
||||||
min-height: 250px;
|
/* min-height: 250px; */
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-position: center;
|
background-position: center;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
<div class="col-12 {% if not conf['NO_CENTER_TITLE'] %} text-center {% endif %}">
|
<div class="col-12 {% if not conf['NO_CENTER_TITLE'] %} text-center {% endif %}">
|
||||||
<div style="opacity: 0;"></div> <!-- TODO color for text configurable -->
|
<div style="opacity: 0;"></div> <!-- TODO color for text configurable -->
|
||||||
<div class="mt-5" style="opacity: 0;"></div>
|
<div class="mt-5" style="opacity: 0;"></div>
|
||||||
{% if "SITE_WELLCOME_TITLE" in conf %} <h1 class="font-weight-light" style="{{ conf['SITE_WELLCOME_TITLE_CSS'] | safe }}">{{ conf["SITE_WELLCOME_TITLE"] | safe }}</h1> {% endif %}
|
{% if "SITE_WELLCOME_TITLE" in conf %} <h1 class="title-responsive font-weight-light" style="{{ conf['SITE_WELLCOME_TITLE_CSS'] | safe }}">{{ conf["SITE_WELLCOME_TITLE"] | safe }}</h1> {% endif %}
|
||||||
{% if "SITE_WELLCOME_SUBTITLE" in conf %} <p class="lead">{{ conf["SITE_WELLCOME_SUBTITLE"] | safe }}</p> {% endif %}
|
{% if "SITE_WELLCOME_SUBTITLE" in conf %} <p class="lead">{{ conf["SITE_WELLCOME_SUBTITLE"] | safe }}</p> {% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user