MediaWiki:Common.css: Difference between revisions

From Descendants of Darkness Wiki

No edit summary
No edit summary
Line 1: Line 1:
/* Make logo bigger for Vector skin (modern layout) */
/* Descendants of Darkness – bigger logo in left nav */
.mw-logo-icon,
.mw-wiki-navigation-logo {
.mw-logo-container img {
     width: 220px !important;     /* overall logo area width */
     width: 500px !important;
     height: 80px !important;     /* overall logo area height */
     height: auto !important;
}
}


/* Adjust header height if the logo overlaps navigation */
.mw-wiki-navigation-logo .mw-wiki-logo,
.vector-header {
a.mw-wiki-logo {
     min-height: 100px;
    display: block !important;
    width: 100% !important;      /* fill the container width */
    height: 100% !important;      /* fill the container height */
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: left center !important;
}
 
/* If the menu looks squashed vertically, give the whole nav a bit more height */
#site-navigation {
     min-height: 90px !important;
}
}

Revision as of 07:24, 9 November 2025

/* Descendants of Darkness – bigger logo in left nav */
.mw-wiki-navigation-logo {
    width: 220px !important;      /* overall logo area width */
    height: 80px !important;      /* overall logo area height */
}

.mw-wiki-navigation-logo .mw-wiki-logo,
a.mw-wiki-logo {
    display: block !important;
    width: 100% !important;       /* fill the container width */
    height: 100% !important;      /* fill the container height */
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: left center !important;
}

/* If the menu looks squashed vertically, give the whole nav a bit more height */
#site-navigation {
    min-height: 90px !important;
}