theme: remove HTML validator errors #329

This commit is contained in:
Sören Weber 2022-10-02 22:32:51 +02:00
parent 45875d5e73
commit c0f1f7fa60
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D
7 changed files with 13 additions and 8 deletions

View file

@ -1,5 +1,5 @@
<!-- Partial intended to be overwritten to add custom headers, like CSS or any other info
<style type="text/css">
<style>
/* Custom css */
</style>
-->

View file

@ -91,7 +91,7 @@
{{- $showBreadcrumb := (and (not .Params.disableBreadcrumb) (not .Site.Params.disableBreadcrumb)) }}
{{- if $showBreadcrumb }}
<ol class="links" itemscope itemtype="http://schema.org/BreadcrumbList">
<meta itemprop="itemListOrder" content="Descending" />
<meta itemprop="itemListOrder" content="Descending">
{{- template "breadcrumb" dict "page" . "depth" 0 }}
</ol>
{{- else }}
@ -121,6 +121,6 @@
{{- template "breadcrumb" dict "page" $parent "depth" $depth }}
{{- end }}
{{- if $ispublished }}
<li itemscope itemtype="https://schema.org/ListItem" itemprop="itemListElement"><meta itemprop="position" content="{{ $depth }}" /><a itemprop="item" href="{{ .page.RelPermalink }}"{{if not .depth}} aria-disabled="true"{{end}}><span itemprop="name">{{if .page.Title}}{{ .page.Title }}{{else}}{{ .page.Site.Title }}{{end}}</span></a>{{ if .depth }} > {{ end }}</li>
<li itemscope itemtype="https://schema.org/ListItem" itemprop="itemListElement"><meta itemprop="position" content="{{ $depth }}"><a itemprop="item" href="{{ .page.RelPermalink }}"{{if not .depth}} aria-disabled="true"{{end}}><span itemprop="name">{{if .page.Title}}{{ .page.Title }}{{else}}{{ .page.Site.Title }}{{end}}</span></a>{{ if .depth }} > {{ end }}</li>
{{- end }}
{{- end }}

View file

@ -56,7 +56,7 @@
<div id="prefooter" class="footerLangSwitch footerVariantSwitch footerVisitedLinks{{if $showlangswitch}} showLangSwitch{{end}}{{if $showvariantswitch}} showVariantSwitch{{end}}{{if $showvisitedlinks}} showVisitedLinks{{end}}">
<ul>
<li id="select-language-container" class="footerLangSwitch{{if $showlangswitch}} showLangSwitch{{end}}">
<a class="padding select-container">
<div class="padding select-container">
<i class="fas fa-language fa-fw"></i>
<span>&nbsp;</span>
<div class="select-style">
@ -77,10 +77,10 @@
</select>
</div>
<div class="select-clear"></div>
</a>
</div>
</li>
<li id="select-variant-container" class="footerVariantSwitch{{if $showvariantswitch}} showVariantSwitch{{end}}">
<a class="padding select-container">
<div class="padding select-container">
<i class="fas fa-paint-brush fa-fw"></i>
<span>&nbsp;</span>
<div class="select-style">
@ -99,7 +99,7 @@
</select>
</div>
<div class="select-clear"></div>
</a>
</div>
<script>window.variants && variants.markSelectedVariant();</script>
</li>
<li class="footerVisitedLinks{{if $showvisitedlinks}} showVisitedLinks{{end}}"><a class="padding" onclick="clearHistory();"><i class="fas fa-history fa-fw"></i> {{ T "Clear-History" }}</a></li>

View file

@ -38,12 +38,14 @@
}
#sidebar .collapsible-menu label:after,
#sidebar .select-container,
#sidebar a {
color: #bababa; /* var(--MENU-SECTIONS-LINK-color) */
}
#sidebar select:hover,
#sidebar .collapsible-menu label:hover:after,
#sidebar .select-container:hover,
#sidebar a:hover {
color: #ffffff; /* var(--MENU-SECTIONS-LINK-HOVER-color) */
}

View file

@ -163,6 +163,7 @@ body #sidebar ul.topics li.active > a {
body #sidebar select:hover,
body #sidebar label:hover,
body #sidebar .select-container:hover,
body #sidebar a:hover {
color: #fff;
text-shadow:

View file

@ -133,7 +133,7 @@ th {
z-index: 100;
}
#sidebar a.padding {
#sidebar .padding {
padding: 0 1rem;
}

View file

@ -136,12 +136,14 @@ a:hover,
}
#sidebar .collapsible-menu label:after,
#sidebar .select-container,
#sidebar a {
color: var(--INTERNAL-MENU-SECTIONS-LINK-color);
}
#sidebar select:hover,
#sidebar .collapsible-menu label:hover:after,
#sidebar .select-container:hover,
#sidebar a:hover {
color: var(--INTERNAL-MENU-SECTIONS-LINK-HOVER-color);
}