mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 01:33:04 +00:00
theme: fix usage of <h3> in menu #88
This commit is contained in:
parent
65cb38aec3
commit
94fceae42d
3 changed files with 10 additions and 5 deletions
|
@ -34,7 +34,7 @@
|
|||
{{- $disableShortcutsTitle := .Site.Params.DisableShortcutsTitle }}
|
||||
{{- with .Site.Menus.shortcuts }}
|
||||
<div id="shortcuts">
|
||||
<h3>{{ if not $disableShortcutsTitle }}{{ T "Shortcuts-Title" }}{{ end }}</h3>
|
||||
<div class="nav-title">{{ if not $disableShortcutsTitle }}{{ T "Shortcuts-Title" }}{{ end }}</div>
|
||||
<ul>
|
||||
{{- range sort . "Weight" }}
|
||||
<li>{{ .Pre }}<a class="padding" href="{{ .URL | absLangURL }}">{{ safeHTML .Name }}</a>{{ .Post }}</li>
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue