fix: use correct selectors for header logo and name replacement
This commit is contained in:
parent
cea6f49df7
commit
1b951a3583
1 changed files with 17 additions and 37 deletions
|
|
@ -158,50 +158,30 @@ body:has(#itemDetailPage) html::after,
|
||||||
|
|
||||||
/* --- Custom Branding --- */
|
/* --- Custom Branding --- */
|
||||||
|
|
||||||
/* Replace Jellyfin header logo */
|
/* Replace Jellyfin header logo image using CSS content replacement */
|
||||||
.headerLogo {
|
|
||||||
background-image: url('https://git.mithraic.cloud/ad3laid3/Themepo/raw/branch/master/assets/Logo.png') !important;
|
|
||||||
background-size: contain;
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
background-position: center left;
|
|
||||||
width: 40px !important;
|
|
||||||
height: 40px !important;
|
|
||||||
}
|
|
||||||
.headerLogo img {
|
.headerLogo img {
|
||||||
display: none !important;
|
content: url('https://git.mithraic.cloud/ad3laid3/Themepo/raw/branch/master/assets/Logo.png') !important;
|
||||||
|
width: 36px !important;
|
||||||
|
height: 36px !important;
|
||||||
|
object-fit: contain !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Replace Jellyfin drawer logo */
|
/* Replace "Jellyfin" server name text in header with "The Ark" */
|
||||||
.adminDrawerLogo img,
|
.headerLeft .pageTitle {
|
||||||
.drawerHeaderLogo img {
|
visibility: hidden !important;
|
||||||
content: url('https://git.mithraic.cloud/ad3laid3/Themepo/raw/branch/master/assets/Logo.png');
|
position: relative;
|
||||||
width: 36px;
|
|
||||||
height: 36px;
|
|
||||||
object-fit: contain;
|
|
||||||
}
|
}
|
||||||
|
.headerLeft .pageTitle::after {
|
||||||
/* Replace "Jellyfin" name in drawer with "The Ark" */
|
|
||||||
.adminDrawerLogo .adminDrawerLogoName,
|
|
||||||
.serverNameContainer span,
|
|
||||||
.serverName {
|
|
||||||
font-size: 0 !important;
|
|
||||||
}
|
|
||||||
.adminDrawerLogo .adminDrawerLogoName::after,
|
|
||||||
.serverNameContainer span::after,
|
|
||||||
.serverName::after {
|
|
||||||
content: "The Ark";
|
content: "The Ark";
|
||||||
|
visibility: visible;
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: 50%;
|
||||||
|
transform: translateY(-50%);
|
||||||
font-family: var(--font-rune);
|
font-family: var(--font-rune);
|
||||||
font-size: 1rem;
|
font-size: 0.9rem;
|
||||||
letter-spacing: 0.15em;
|
letter-spacing: 0.15em;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
color: var(--mithral);
|
color: var(--mithral);
|
||||||
}
|
white-space: nowrap;
|
||||||
|
|
||||||
/* Replace login/splash logo */
|
|
||||||
.splashLogo,
|
|
||||||
.loginLogo {
|
|
||||||
background-image: url('https://git.mithraic.cloud/ad3laid3/Themepo/raw/branch/master/assets/Logo.png') !important;
|
|
||||||
background-size: contain;
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
background-position: center;
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue