Merge branch 'task/6261/add_mobile_black_logo' into 'master'

6261: Add mobile black logo

See merge request ungleich-public/dynamicweb!685
This commit is contained in:
pcoder116 2019-01-09 22:26:20 +01:00
commit 42f01b37d8
3 changed files with 72 additions and 3 deletions

View file

@ -403,3 +403,23 @@ body {
.blog-content img { .blog-content img {
width: 100%; width: 100%;
} }
#logoBlack {
display: none;
}
#logoWhite {
display: block;
}
@media (max-width: 767px) {
#logoBlack {
display: block;
}
#logoWhite {
display: none;
}
}
.custom-black-logo {
padding: 8px 15px;
}

View file

@ -0,0 +1,50 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 22.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="130px" height="40px" viewBox="0 0 130 40" enable-background="new 0 0 130 40" xml:space="preserve">
<g>
<path d="M36.4,29.9c0-0.5,0.2-1,0.5-1.5c0.4-0.5,0.9-0.9,1.6-1.3V27c-0.4-0.2-0.7-0.5-0.9-0.8c-0.3-0.3-0.4-0.8-0.4-1.3
c0-0.4,0.1-0.9,0.4-1.3c0.3-0.4,0.7-0.8,1.2-1.2v-0.1c-0.5-0.3-0.9-0.8-1.2-1.4c-0.3-0.6-0.5-1.2-0.5-2c0-0.7,0.1-1.4,0.4-2
c0.3-0.6,0.7-1.1,1.1-1.5c0.5-0.4,1-0.7,1.7-0.9c0.6-0.2,1.3-0.3,2-0.3c0.7,0,1.4,0.1,2,0.3h5.3v2h-3.2c0.3,0.3,0.5,0.6,0.7,1.1
c0.2,0.4,0.3,0.9,0.3,1.4c0,0.7-0.1,1.3-0.4,1.9c-0.3,0.6-0.6,1-1.1,1.4c-0.5,0.4-1,0.7-1.6,0.9c-0.6,0.2-1.3,0.3-2,0.3
c-0.3,0-0.7,0-1-0.1c-0.4-0.1-0.7-0.2-1.1-0.3c-0.6,0.4-0.9,0.8-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c0.4,0,0.7,0,1.1-0.1c0.4-0.1,0.8-0.2,1.2-0.4l0.6,2
c-0.3,0.1-0.6,0.2-0.9,0.3c-0.3,0.1-0.6,0.2-0.8,0.2c-0.3,0.1-0.6,0.1-0.9,0.2c-0.3,0-0.7,0.1-1,0.1c-1.5,0-2.6-0.4-3.3-1.3
c-0.8-0.8-1.1-2-1.1-3.6V5.7h-4.3l6.9-4.9"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.3 KiB

View file

@ -10,9 +10,8 @@
<span class="icon-bar"></span> <span class="icon-bar"></span>
<span class="icon-bar"></span> <span class="icon-bar"></span>
</button> </button>
<a class="navbar-brand" href="https://www.ungleich.ch"> <a href="/" id="logoBlack" class="navbar-brand custom-black-logo"><img src="{% static "blog.ungleich.ch/img/logo_black.svg" %}"></a>
<img src="{% static "blog.ungleich.ch/img/logo_white.svg" %}" /> <a href="/" id="logoWhite" class="navbar-brand"><img src="{% static "blog.ungleich.ch/img/logo_white.svg" %}"></a>
</a>
</div> </div>
<!-- Collect the nav links, forms, and other content for toggling --> <!-- Collect the nav links, forms, and other content for toggling -->