MediaWiki:Common.css
Appearance
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* 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; }