An open source, non-profit web search engine
Hide branding on small screens
Daoud Clarke619f7631d936
diff --git a/front-end/assets/css/global.css b/front-end/assets/css/global.cssindex 6ea0f2c..abd118a 100644--- a/front-end/assets/css/global.css+++ b/front-end/assets/css/global.css@@ -21,6 +21,12 @@ body {margin: 25px;}+@media screen and (max-width: 600px) {+ .branding {+ display: none;+ }+}+.brand-title {text-align: center;font-weight: var(--black-font-weight);diff --git a/mwmbl/templates/index.html b/mwmbl/templates/index.htmlindex 5daad86..c2da955 100644--- a/mwmbl/templates/index.html+++ b/mwmbl/templates/index.html@@ -45,11 +45,9 @@<body><mwmbl-app></mwmbl-app><header class="search-menu compact">- <a href="/">- <div class="branding">- <img class="brand-icon" src="/static/images/logo.svg" width="40" height="40" alt="mwmbl logo">- <span class="brand-title">Mwmbl</span>- </div>+ <a href="/" class="branding">+ <img class="brand-icon" src="/static/images/logo.svg" width="40" height="40" alt="mwmbl logo">+ <span class="brand-title">Mwmbl</span></a><form class="search-bar"><i class="ph-magnifying-glass-bold"></i>