diff --git a/assets/scss/common/_dark.scss b/assets/scss/common/_dark.scss index 9aeadc3..9763e2b 100644 --- a/assets/scss/common/_dark.scss +++ b/assets/scss/common/_dark.scss @@ -75,9 +75,11 @@ $navbar-dark-active-color: $link-color-dark; background: $body-overlay-dark; } +/* [data-dark-mode] body .dropdown-menu { @extend .dropdown-menu-dark; } +*/ [data-dark-mode] body .navbar, [data-dark-mode] body .doks-subnavbar { @@ -468,6 +470,10 @@ $navbar-dark-active-color: $link-color-dark; } */ +[data-dark-mode] .dropdown-item { + color: $body-bg-dark; +} + [data-dark-mode] body hr.text-black-50 { color: $gray-600 !important; } diff --git a/assets/scss/layouts/_header.scss b/assets/scss/layouts/_header.scss index fe18e2f..cb85c32 100644 --- a/assets/scss/layouts/_header.scss +++ b/assets/scss/layouts/_header.scss @@ -431,3 +431,15 @@ button#doks-versions { .navbar-light .navbar-nav .active .nav-link { color: $primary; } + +.dropdown-divider { + border-top: 1px dashed $gray-200; +} + +.dropdown-item:hover { + background: $gray-100; +} + +.dropdown-item:active { + color: inherit; +} diff --git a/config/_default/config.toml b/config/_default/config.toml index 96455f2..1e87b85 100644 --- a/config/_default/config.toml +++ b/config/_default/config.toml @@ -11,7 +11,7 @@ rssLimit = 10 # Multilingual defaultContentLanguage = "en" -# disableLanguages = ["nl"] +disableLanguages = ["de", "nl"] # defaultContentLanguageInSubdir = true # add redirects/headers diff --git a/config/_default/languages.toml b/config/_default/languages.toml index 7cb4265..1f0ca3e 100644 --- a/config/_default/languages.toml +++ b/config/_default/languages.toml @@ -5,6 +5,13 @@ [en.params] languageISO = "EN" +[de] + languageName = "German" + contentDir = "content/de" + weight = 15 + [de.params] + languageISO = "DE" + [nl] languageName = "Nederlands" contentDir = "content/nl" diff --git a/config/_default/params.toml b/config/_default/params.toml index 2463566..b8f6e7e 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -76,5 +76,5 @@ editPage = false highLight = true kaTex = false collapsibleSidebar = true - multilingualMode = true + multilingualMode = false docsVersioning = false # Not yet functional diff --git a/content/nl/_index.md b/content/nl/_index.md index 009034f..58c6b69 100644 --- a/content/nl/_index.md +++ b/content/nl/_index.md @@ -8,4 +8,3 @@ draft: false images: [] --- -:cow: diff --git a/layouts/partials/header/header.html b/layouts/partials/header/header.html index 3d23a4e..8676cc1 100644 --- a/layouts/partials/header/header.html +++ b/layouts/partials/header/header.html @@ -57,28 +57,12 @@ {{ end -}} {{ if eq .Site.Params.options.multilingualMode true -}} - -