Navigation: add language img for language selector (desktop)

This commit is contained in:
erciccione 2020-10-01 17:41:13 +02:00
parent bd5a1cb5d6
commit 7bf14d3c22
No known key found for this signature in database
GPG key ID: 762AF8C608E56CDF
2 changed files with 7 additions and 1 deletions

View file

@ -71,7 +71,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;