menu: fix footer in IE11 #177

This commit is contained in:
Sören Weber 2022-02-22 10:32:52 +01:00
parent c2bed887db
commit a845d40071
No known key found for this signature in database
GPG key ID: 07D17FF580AE7589
2 changed files with 23 additions and 16 deletions

View file

@ -6,9 +6,9 @@
var root_url="/";
var baseUri=root_url.replace(/\/$/, '');
</script>
<nav id="sidebar" class="default-animation {{ if $.Site.Params.showVisitedLinks }}showVisitedLinks{{ end }}">
{{- $showvisitedlinks := .Site.Params.showVisitedLinks }}
<nav id="sidebar" class="default-animation{{ if $showvisitedlinks }} showVisitedLinks{{ end }}">
{{- $currentNode := . }}
{{- $showvisitedlinks := .Site.Params.showVisitedLinks }}
<div id="header-wrapper" class="default-animation">
<div id="header" class="default-animation">
{{ partial "logo.html" . }}

View file

@ -1435,6 +1435,20 @@ h6 a {
clear: both;
}
.footerLangSwitch,
.footerVariantSwitch,
.footerVisitedLinks,
.footerFooter {
display: none;
}
.showLangSwitch,
.showVariantSwitch,
.showVisitedLinks,
.showFooter {
display: initial;
}
@media only all and (max-width: 47.938em) {
#breadcrumbs .links, #top-github-link-text {
display: none;
@ -1455,6 +1469,13 @@ h6 a {
/* clears the 'X' from Internet Explorer's search input */
input[type=search]::-ms-clear { display: none; width : 0; height: 0; }
input[type=search]::-ms-reveal { display: none; width : 0; height: 0; }
.showLangSwitch,
.showVariantSwitch,
.showVisitedLinks,
.showFooter {
display: block;
}
}
/* clears the 'X' from Chrome's search input */
@ -1462,17 +1483,3 @@ input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration { display: none; }
.footerLangSwitch,
.footerVariantSwitch,
.footerVisitedLinks,
.footerFooter {
display: none;
}
.showLangSwitch,
.showVariantSwitch,
.showVisitedLinks,
.showFooter {
display: initial;
}