Jump to content

MediaWiki:Vector-2022.css: Difference between revisions

From Niewulis Wiki
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 7: Line 7:
}
}


/* Scalable round logo */
.mw-logo,
.mw-logo-icon {
.mw-logo a,
     width: clamp(3rem, 6vw, 6rem) !important;
.vector-header-start {
    height: clamp(3rem, 6vw, 6rem) !important;
     overflow: visible !important;
    border-radius: 50%;
    overflow: hidden;
}
}


Line 19: Line 17:
     align-items: center;
     align-items: center;
     justify-content: center;
     justify-content: center;
    width: 100%;
    height: 100%;
}
.mw-logo-icon {
    width: 75% !important;
    height: 75% !important;
    max-width: 75%;
    object-fit: contain;
}
}

Latest revision as of 21:11, 27 April 2026

/* Hide site name, tagline, and any text */
.mw-wiki-title,
.vector-logo-tagline,
.mw-logo-wordmark,
.mw-logo-tagline {
    display: none !important;
}

.mw-logo,
.mw-logo a,
.vector-header-start {
    overflow: visible !important;
}

.mw-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.mw-logo-icon {
    width: 75% !important;
    height: 75% !important;
    max-width: 75%;
    object-fit: contain;
}