MediaWiki:Common.css: Difference between revisions
Appearance
imported>Admin No edit summary |
No edit summary Tag: Manual revert |
||
| (8 intermediate revisions by 2 users not shown) | |||
| Line 8: | Line 8: | ||
/* side-by-side layout */ | /* side-by-side layout */ | ||
#toc { float: left; width: 280px; margin: 0 16px 16px 0; } | #toc { | ||
.model-box { float: right; width: 340px; margin: 0 0 16px 16px; } | float: left; | ||
. | width: 280px; | ||
margin: 0 16px 16px 0; | |||
} | |||
.model-box { float:right; width:340px; margin:0 0 16px 16px; } | |||
.model-box, .model-box * { font-family: inherit; } /* keep site font */ | |||
.model-ib { /* the table */ | |||
width:100%; | |||
border:1px solid #a8c5da; /* outer border */ | |||
border-radius:4px; | |||
border-collapse: collapse; | |||
} | |||
.model-ib th { /* title row */ | |||
text-align:left; | |||
padding:8px 10px; | |||
background:#eaf4fb; /* light blue */ | |||
border-bottom:1px solid #a8c5da; | |||
font-weight:700; | |||
} | |||
.model-ib td { /* body rows */ | |||
padding:6px 10px; | |||
border-top:1px solid #eaecf0; /* subtle row lines */ | |||
} | |||
/* Hide "Category:" prefix in category page titles */ | |||
.category-page-title .firstHeading span.mw-page-title-prefix { | |||
display: none; | |||
} | |||
/* Always push the first H2 below any floated TOC/boxes */ | |||
.mw-parser-output h2:first-of-type { clear: both; } | |||
Latest revision as of 18:11, 17 November 2025
/* CSS placed here will be applied to all skins */
#p-logo a {
background-size: 160px auto !important;
width: 160px !important;
height: 160px !important;
}
/* side-by-side layout */
#toc {
float: left;
width: 280px;
margin: 0 16px 16px 0;
}
.model-box { float:right; width:340px; margin:0 0 16px 16px; }
.model-box, .model-box * { font-family: inherit; } /* keep site font */
.model-ib { /* the table */
width:100%;
border:1px solid #a8c5da; /* outer border */
border-radius:4px;
border-collapse: collapse;
}
.model-ib th { /* title row */
text-align:left;
padding:8px 10px;
background:#eaf4fb; /* light blue */
border-bottom:1px solid #a8c5da;
font-weight:700;
}
.model-ib td { /* body rows */
padding:6px 10px;
border-top:1px solid #eaecf0; /* subtle row lines */
}
/* Hide "Category:" prefix in category page titles */
.category-page-title .firstHeading span.mw-page-title-prefix {
display: none;
}
/* Always push the first H2 below any floated TOC/boxes */
.mw-parser-output h2:first-of-type { clear: both; }