diff --git a/config/mkdocs.common.yml b/config/mkdocs.common.yml index 4e06f3a1..a222d59f 100644 --- a/config/mkdocs.common.yml +++ b/config/mkdocs.common.yml @@ -16,15 +16,19 @@ extra: - name: English link: /en/ lang: en + icon: https://raw.githubusercontent.com/twitter/twemoji/master/assets/svg/1f1fa-1f1f8.svg - name: Français link: /fr/ lang: fr + icon: https://raw.githubusercontent.com/twitter/twemoji/master/assets/svg/1f1eb-1f1f7.svg - name: עִברִית link: /he/ lang: he + icon: https://raw.githubusercontent.com/twitter/twemoji/master/assets/svg/1f1ee-1f1f1.svg - name: Nederlands link: /nl/ lang: nl + icon: https://raw.githubusercontent.com/twitter/twemoji/master/assets/svg/1f1f3-1f1f1.svg repo_url: https://github.com/privacyguides/privacyguides.org repo_name: "" diff --git a/theme/assets/stylesheets/extra.css b/theme/assets/stylesheets/extra.css index d5ddbd24..400ed0c6 100644 --- a/theme/assets/stylesheets/extra.css +++ b/theme/assets/stylesheets/extra.css @@ -325,6 +325,18 @@ details[class="downloads annotate"] > p .md-annotation span span::before { width: 1rem; } +/* override language selector */ +.md-select button img.twemoji { + height: 1rem; + vertical-align: middle; +} + +.md-select__link img.twemoji { + height: 1rem; + vertical-align: text-bottom; + margin-right: 1%; +} + /* Custom header + nav */ .md-header >*, .md-tabs { background: none; diff --git a/theme/partials/header.html b/theme/partials/header.html index 24075c2f..acca7aa3 100644 --- a/theme/partials/header.html +++ b/theme/partials/header.html @@ -44,15 +44,19 @@ {% if config.extra.alternate %}