CSS bugfix

This commit is contained in:
Jeremy Vyska 2022-02-23 07:31:30 +01:00
parent 1470a75676
commit 8157a3c268
2 changed files with 9 additions and 1 deletions

View file

@ -534,6 +534,10 @@ input[type="search"]::placeholder {
display: none; display: none;
} }
.show-mobile-inline {
display: none;
}
@media (max-width: 1299px) { @media (max-width: 1299px) {
.hero { .hero {
background: url("/images/hero-bg.webp") no-repeat; background: url("/images/hero-bg.webp") no-repeat;
@ -556,6 +560,10 @@ input[type="search"]::placeholder {
display: block; display: block;
} }
.show-mobile-inline {
display: inline;
}
.hero { .hero {
background: url("/images/hero-bg.webp") no-repeat; background: url("/images/hero-bg.webp") no-repeat;
background-size: cover; background-size: cover;

View file

@ -3,7 +3,7 @@
<a class="navbar-brand" href="{{ .Site.Home.RelPermalink }}"> <a class="navbar-brand" href="{{ .Site.Home.RelPermalink }}">
<img src="/images/alguidelines-bclogo-pattern-white.png" height="32px"> <img src="/images/alguidelines-bclogo-pattern-white.png" height="32px">
<span class="font-weight-bold show-desktop">{{ .Site.Title }}</span> <span class="font-weight-bold show-desktop">{{ .Site.Title }}</span>
<span class="font-weight-bold show-mobile" style="display: inline;">{{ .Site.Params.shorttitle }}</span> <span class="font-weight-bold show-mobile-inline">{{ .Site.Params.shorttitle }}</span>
</a> </a>
<div class="td-navbar-nav-scroll ml-md-auto" id="main_navbar"> <div class="td-navbar-nav-scroll ml-md-auto" id="main_navbar">
<ul class="navbar-nav mt-2 mt-lg-0"> <ul class="navbar-nav mt-2 mt-lg-0">