Merge pull request from erciccione/img-lang-sel

Navigation: add language img for language selector (desktop)
This commit is contained in:
luigi1111 2020-10-21 15:48:36 -05:00 committed by GitHub
commit 5aca54c75e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View file

@ -103,7 +103,7 @@
<a href="https://translate.getmonero.org" class="top-link">Translate</a>
<div href="#" class="dropdown top-link language-change">
<input class="burger-checkdropdown" id="langdrop" type="checkbox" tabindex="0">
<label for="langdrop">{{ site.data.languages.langs.[site.lang] }}
<label for="langdrop"><img src="/img/language.png" alt="Language selector icon" class="icon-language"/>{{ site.data.languages.langs.[site.lang] }}
<div class="arrow-down"></div></label>
<div class="dropdown-content text-center">
{% for lang in site.languages %}

View file

@ -1849,6 +1849,12 @@ img.monero-logo {
padding: 0.8rem 0.8rem 0.8rem 3.4rem;
}
img.icon-language {
width: 1rem;
padding-right: 0.2rem;
vertical-align: middle;
}
.topnav .topnav-list a, .topnav .topnav-list label {
color: #6B6B6B;
text-decoration: none;