mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-02-17 09:10:08 +00:00
docs: fix logo for IE11
This commit is contained in:
parent
4e46a809db
commit
df45fc6a13
1 changed files with 16 additions and 0 deletions
|
@ -1,11 +1,14 @@
|
||||||
<style>
|
<style>
|
||||||
#logo svg,
|
#logo svg,
|
||||||
#logo svg * {
|
#logo svg * {
|
||||||
|
color: #282828;
|
||||||
color: var(--MENU-SECTIONS-BG-color);
|
color: var(--MENU-SECTIONS-BG-color);
|
||||||
|
fill: #282828 !important;
|
||||||
fill: var(--MENU-SECTIONS-BG-color) !important;
|
fill: var(--MENU-SECTIONS-BG-color) !important;
|
||||||
opacity: .945;
|
opacity: .945;
|
||||||
}
|
}
|
||||||
a#logo {
|
a#logo {
|
||||||
|
color: #282828;
|
||||||
color: var(--MENU-SECTIONS-BG-color);
|
color: var(--MENU-SECTIONS-BG-color);
|
||||||
font-family: 'Work Sans', 'Helvetica', 'Tahoma', 'Geneva', 'Arial', sans-serif;
|
font-family: 'Work Sans', 'Helvetica', 'Tahoma', 'Geneva', 'Arial', sans-serif;
|
||||||
font-size: 30px;
|
font-size: 30px;
|
||||||
|
@ -15,6 +18,10 @@
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
a#logo:hover {
|
||||||
|
color: #282828;
|
||||||
|
color: var(--MENU-SECTIONS-BG-color);
|
||||||
|
}
|
||||||
#logo svg {
|
#logo svg {
|
||||||
margin-bottom: -20px;
|
margin-bottom: -20px;
|
||||||
margin-left: -23.5px;
|
margin-left: -23.5px;
|
||||||
|
@ -30,6 +37,15 @@
|
||||||
margin-left: -23px;
|
margin-left: -23px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@media all and (-ms-high-contrast:none) {
|
||||||
|
/* IE11s understanding of positioning is weird at best */
|
||||||
|
a#logo {
|
||||||
|
margin-top: -58px;
|
||||||
|
}
|
||||||
|
#logo svg {
|
||||||
|
margin-bottom: -62px;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
<a id="logo" href="{{ .Site.Params.landingPageURL | default "/" | relLangURL }}">
|
<a id="logo" href="{{ .Site.Params.landingPageURL | default "/" | relLangURL }}">
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64.044 64.044">
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64.044 64.044">
|
||||||
|
|
Loading…
Add table
Reference in a new issue