improve render of logos in mobile view
This commit is contained in:
parent
76cc657c51
commit
28bfe94362
|
@ -139,6 +139,17 @@ Disroot Media Queries
|
|||
float:right;
|
||||
}
|
||||
|
||||
/* remove margin from right logos */
|
||||
ul#nav li:nth-last-child(2) {
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
/* hide D logos */
|
||||
ul#nav li:first-child {
|
||||
visibility: hidden;
|
||||
height: 0px;
|
||||
}
|
||||
|
||||
ul#nav li {
|
||||
display: block;
|
||||
height: auto;
|
||||
|
|
|
@ -233,7 +233,6 @@ ul#nav {
|
|||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
/* center align the menu */
|
||||
text-align: right;
|
||||
padding: 0 2%;
|
||||
|
@ -249,7 +248,7 @@ ul#nav li:first-child {
|
|||
margin-right: 50px;
|
||||
}
|
||||
|
||||
ul#nav li:nth-last-child(3) {
|
||||
ul#nav li:nth-last-child(2) {
|
||||
margin-left: 50px;
|
||||
}
|
||||
|
||||
|
|
|
@ -75,8 +75,10 @@
|
|||
{% if config.plugins.login.enabled and grav.user.username %}
|
||||
<li><i class="fa fa-lock"></i> {% include 'partials/login-status.html.twig' %}</li>
|
||||
{% endif %}
|
||||
<li><div id="logo-parent"><a id="dash-logo" href="https://apps.disroot.org" target=_blank></a></div></li>
|
||||
<li><div id="logo-parent"><a id="state-logo" href="https://state.disroot.org" target=_blank></a></div></li>
|
||||
<li><div id="logo-parent">
|
||||
<a id="dash-logo" href="https://apps.disroot.org" target=_blank></a>
|
||||
<a id="state-logo" href="https://state.disroot.org" target=_blank></a>
|
||||
</div></li>
|
||||
<li> {% include 'partials/language-selector.html.twig' %}</li>
|
||||
</ul>
|
||||
|
||||
|
|
Loading…
Reference in New Issue