Jump to content

MediaWiki:Common.css: Difference between revisions

From LarpOfHoi4 Wiki
Created page with "→CSS placed here will be applied to all skins: →Hide the large duplicate header logo in Vector 2022: .mw-logo-container .mw-logo-wordmark { display: none !important; }"
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
.mw-logo-container .mw-logo-wordmark {
.mw-logo-container .mw-logo-wordmark {
     display: none !important;
     display: none !important;
}
.infobox {
    border: 1px solid #444b59; /* Your main outer border color */
    border-collapse: collapse;
    width: 300px;
}
/* Adds padding inside every section */
.infobox th, .infobox td {
    padding: 8px;
    text-align: left;
    vertical-align: top;
}
/* Adds a subtle bottom line beneath the headers and image cells */
.infobox tr {
    border-bottom: 1px solid #2a2e38;
}
.infobox img {
    display: block;
    margin: 0 auto 8px auto;
    max-width: 100%;
    height: auto;
}
}

Latest revision as of 02:16, 28 August 2026

/* CSS placed here will be applied to all skins */
/* Hide the large duplicate header logo in Vector 2022 */
.mw-logo-container .mw-logo-wordmark {
    display: none !important;
}

.infobox {
    border: 1px solid #444b59; /* Your main outer border color */
    border-collapse: collapse;
    width: 300px;
}

/* Adds padding inside every section */
.infobox th, .infobox td {
    padding: 8px;
    text-align: left;
    vertical-align: top;
}

/* Adds a subtle bottom line beneath the headers and image cells */
.infobox tr {
    border-bottom: 1px solid #2a2e38; 
}

.infobox img {
    display: block;
    margin: 0 auto 8px auto;
    max-width: 100%;
    height: auto;
}