From 6715821694499c001410841b3da51a39c4aa2609 Mon Sep 17 00:00:00 2001 From: anarsec Date: Thu, 21 Nov 2024 16:32:39 -0500 Subject: [PATCH] globe icon css --- config.toml | 2 ++ themes/DeepThought/sass/deep-thought.sass | 21 ++++++++++++++----- themes/DeepThought/templates/base.html | 2 +- .../templates/partials/language_switcher.html | 8 ++++--- 4 files changed, 24 insertions(+), 9 deletions(-) diff --git a/config.toml b/config.toml index bafdc0e..0cc3dd0 100644 --- a/config.toml +++ b/config.toml @@ -20,6 +20,7 @@ internal_level = "error" [translations] language_name = "en" language_selection = "Language" +search = "Search" published = "Published on" edited = "Last edited on" letter = "Letter booklet" @@ -53,6 +54,7 @@ title = "AnarSec" [languages.fr.translations] language_name = "fr" language_selection = "Langue" +search = "Recherche" published = "Publié le" edited = "Modifié le" letter = "Brochure Letter" diff --git a/themes/DeepThought/sass/deep-thought.sass b/themes/DeepThought/sass/deep-thought.sass index 91e9f70..724cb8c 100644 --- a/themes/DeepThought/sass/deep-thought.sass +++ b/themes/DeepThought/sass/deep-thought.sass @@ -529,7 +529,6 @@ section max-height: calc(100vh - 48px) overflow-y: scroll - div.column.is-2.is-hidden-mobile padding-right: 0px !important @@ -586,12 +585,21 @@ a li.lang-switcher list-style: none +.lang-switcher .lang-switcher-icon + width: 1.25rem + height: 1.25rem + margin-top: 0.35rem + +.dropdown .dropdown-content + padding-inline-start:.5rem + padding-inline-end:.5rem + text-align: center + left:50% + transform: translatex(-50%) !important + .dropdown-content position: absolute !important -summary - list-style: none - code color: #AE3B8B @@ -608,10 +616,13 @@ code .icon-text align-items: center -summary +summary:not(.nav) cursor: pointer margin-top: 0.5em +summary.nav + list-style: none + summary > p display: inline diff --git a/themes/DeepThought/templates/base.html b/themes/DeepThought/templates/base.html index 4652c9b..6e088f2 100644 --- a/themes/DeepThought/templates/base.html +++ b/themes/DeepThought/templates/base.html @@ -62,7 +62,7 @@ {% endfor %} {% endif %} {% endfor %} - + diff --git a/themes/DeepThought/templates/partials/language_switcher.html b/themes/DeepThought/templates/partials/language_switcher.html index 06119e6..a53d3f6 100644 --- a/themes/DeepThought/templates/partials/language_switcher.html +++ b/themes/DeepThought/templates/partials/language_switcher.html @@ -1,7 +1,7 @@ -
  • +