From 94fceae42d7f4cd81e9dc0566895812dd8a42847 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Mon, 13 Sep 2021 19:24:37 +0200 Subject: [PATCH] theme: fix usage of

in menu #88 --- layouts/partials/menu.html | 2 +- static/css/theme-relearn.css | 2 +- static/css/theme.css | 11 ++++++++--- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/layouts/partials/menu.html b/layouts/partials/menu.html index 8b577c64f2..7075bb1ced 100644 --- a/layouts/partials/menu.html +++ b/layouts/partials/menu.html @@ -34,7 +34,7 @@ {{- $disableShortcutsTitle := .Site.Params.DisableShortcutsTitle }} {{- with .Site.Menus.shortcuts }}
-

{{ if not $disableShortcutsTitle }}{{ T "Shortcuts-Title" }}{{ end }}

+
    {{- range sort . "Weight" }}
  • {{ .Pre }}{{ safeHTML .Name }}{{ .Post }}
  • diff --git a/static/css/theme-relearn.css b/static/css/theme-relearn.css index 87dc195e01..b5b5c7dfd2 100644 --- a/static/css/theme-relearn.css +++ b/static/css/theme-relearn.css @@ -129,6 +129,6 @@ a:hover { color: var(--MENU-HOME-LINK-HOVER-color); } -#shortcuts h3 { +#sidebar .nav-title { color: var(--MENU-SECTIONS-LINK-HOVER-color) !important; } diff --git a/static/css/theme.css b/static/css/theme.css index 1159e9b999..9d0d2e6a7d 100644 --- a/static/css/theme.css +++ b/static/css/theme.css @@ -1127,11 +1127,16 @@ pre .copy-to-clipboard:hover { display: inline; } -#sidebar #shortcuts h3 { - font-family: "Novacento Sans Wide", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif; +#sidebar .nav-title { color: white ; - margin-top:1rem; + font-family: "Novacento Sans Wide", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif; + font-size: 2rem; + font-weight: 400; + letter-spacing: -1px; + line-height: 110% !important; + margin: 1rem 0 1rem 0; padding-left: 1rem; + text-rendering: optimizeLegibility; } #homelinks {