logo: fix migration issues #924

test installations shown an unwanted resize of the logo
This commit is contained in:
Sören Weber 2024-10-12 22:03:52 +02:00
parent 6b0a9fe2ce
commit d34d155e5d
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D
4 changed files with 12 additions and 6 deletions

View file

@ -2448,21 +2448,23 @@ html[dir="rtl"] #R-sidebar ul.collapsible-menu > li > label > i.fa-chevron-right
a#R-logo {
color: var(--MENU-SECTIONS-BG-color);
font-size: 1.875rem;
font-variation-settings: var(--INTERNAL-MAIN-TITLES-H4-font-variation-settings);
font-weight: var(--INTERNAL-MAIN-TITLES-H4-font-weight);
font-family: var(--INTERNAL-MAIN-TITLES-H4-font);
letter-spacing: var(--INTERNAL-MAIN-TITLES-H4-letter-spacing);
max-width: 60%;
text-transform: uppercase;
width: 14.125rem;
white-space: nowrap;
}
a#R-logo:hover {
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) {
a#R-logo {
a#R-logo.R-default {
font-size: 1.5625rem;
}
}

View file

@ -1,9 +1,13 @@
<style>
a#R-logo {
font-size: 1.875rem;
margin-top: -.8125rem;
max-width: 60%;
width: 14.125rem;
}
@media only all and (max-width: 59.999rem) {
a#R-logo {
font-size: 1.5625rem;
margin-top: -.1875rem;
}
}

View file

@ -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 }}
</a>

View file

@ -1 +1 @@
6.4.0+75d9839bd83ce70d38a2f516f9f564d40587dde7
6.4.0+6b0a9fe2ce84b5792b9597f6ca3894dee308e499