MediaWiki:Common.css: Difference between revisions

From Descendants of Darkness Wiki

Created page with "body { background-image: url('https://i.imgur.com/IxqVRa3.png'); background-repeat: no-repeat; background-size: cover; or any other styling you prefer: }"
 
No edit summary
Tag: Manual revert
 
(34 intermediate revisions by the same user not shown)
Line 1: Line 1:
body {
/* Descendants of Darkness – bigger logo in left nav    */
     background-image: url('https://i.imgur.com/IxqVRa3.png');
.mw-wiki-navigation-logo {
     background-repeat: no-repeat;
     width: 250px !important;      /* overall logo area width */
     background-size: cover; /* or any other styling you prefer */
    height: 250px !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;
}
}

Latest revision as of 07:38, 14 November 2025

/* Descendants of Darkness – bigger logo in left nav    */
.mw-wiki-navigation-logo {
    width: 250px !important;      /* overall logo area width */
    height: 250px !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;
}