mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
menu: fix footer in IE11 #177
This commit is contained in:
parent
c2bed887db
commit
a845d40071
2 changed files with 23 additions and 16 deletions
|
@ -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" . }}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue