mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
logo: fix migration issues #924
test installations shown an unwanted resize of the logo
This commit is contained in:
parent
6b0a9fe2ce
commit
d34d155e5d
4 changed files with 12 additions and 6 deletions
|
@ -2448,21 +2448,23 @@ html[dir="rtl"] #R-sidebar ul.collapsible-menu > li > label > i.fa-chevron-right
|
||||||
|
|
||||||
a#R-logo {
|
a#R-logo {
|
||||||
color: var(--MENU-SECTIONS-BG-color);
|
color: var(--MENU-SECTIONS-BG-color);
|
||||||
font-size: 1.875rem;
|
|
||||||
font-variation-settings: var(--INTERNAL-MAIN-TITLES-H4-font-variation-settings);
|
font-variation-settings: var(--INTERNAL-MAIN-TITLES-H4-font-variation-settings);
|
||||||
font-weight: var(--INTERNAL-MAIN-TITLES-H4-font-weight);
|
font-weight: var(--INTERNAL-MAIN-TITLES-H4-font-weight);
|
||||||
font-family: var(--INTERNAL-MAIN-TITLES-H4-font);
|
font-family: var(--INTERNAL-MAIN-TITLES-H4-font);
|
||||||
letter-spacing: var(--INTERNAL-MAIN-TITLES-H4-letter-spacing);
|
letter-spacing: var(--INTERNAL-MAIN-TITLES-H4-letter-spacing);
|
||||||
max-width: 60%;
|
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
width: 14.125rem;
|
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
a#R-logo:hover {
|
a#R-logo:hover {
|
||||||
color: var(--MENU-SECTIONS-BG-color);
|
color: var(--MENU-SECTIONS-BG-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* those sizes are for the default logo */
|
||||||
|
a#R-logo.R-default {
|
||||||
|
font-size: 1.875rem;
|
||||||
|
}
|
||||||
@media only all and (max-width: 59.999rem) {
|
@media only all and (max-width: 59.999rem) {
|
||||||
a#R-logo {
|
a#R-logo.R-default {
|
||||||
font-size: 1.5625rem;
|
font-size: 1.5625rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +1,13 @@
|
||||||
<style>
|
<style>
|
||||||
a#R-logo {
|
a#R-logo {
|
||||||
|
font-size: 1.875rem;
|
||||||
margin-top: -.8125rem;
|
margin-top: -.8125rem;
|
||||||
|
max-width: 60%;
|
||||||
|
width: 14.125rem;
|
||||||
}
|
}
|
||||||
@media only all and (max-width: 59.999rem) {
|
@media only all and (max-width: 59.999rem) {
|
||||||
a#R-logo {
|
a#R-logo {
|
||||||
|
font-size: 1.5625rem;
|
||||||
margin-top: -.1875rem;
|
margin-top: -.1875rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
<a id="R-logo" href="{{ partial "permalink.gotmpl" (dict "to" .Site.Home) }}">
|
<a id="R-logo" class="R-default" href="{{ partial "permalink.gotmpl" (dict "to" .Site.Home) }}">
|
||||||
{{ .Site.Params.linkTitle | default .Site.Title }}
|
{{ .Site.Params.linkTitle | default .Site.Title }}
|
||||||
</a>
|
</a>
|
|
@ -1 +1 @@
|
||||||
6.4.0+75d9839bd83ce70d38a2f516f9f564d40587dde7
|
6.4.0+6b0a9fe2ce84b5792b9597f6ca3894dee308e499
|
Loading…
Reference in a new issue