MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 34: | Line 34: | ||
border-top:1px solid #eaecf0; /* subtle row lines */ | border-top:1px solid #eaecf0; /* subtle row lines */ | ||
} | } | ||
.category-page-title .firstHeading span. | |||
/* Hide "Category:" prefix in category page titles */ | |||
.category-page-title .firstHeading span.mw-page-title-prefix { | |||
display: none; | display: none; | ||
} | } | ||
Revision as of 14:56, 13 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; }