MediaWiki:Common.css: Difference between revisions
Appearance
imported>Admin No edit summary |
imported>Admin No edit summary |
||
| Line 14: | Line 14: | ||
} | } | ||
.model-box { | .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 */ | |||
border: 1px solid #a8c5da; /* | width:100%; | ||
border-radius: 4px; | 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 */ | |||
} | } | ||
. | /* Always push the first H2 below any floated TOC/boxes */ | ||
.mw-parser-output h2:first-of-type { clear: both; } | |||
} | |||
Revision as of 16:08, 16 September 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 */
}
/* Always push the first H2 below any floated TOC/boxes */
.mw-parser-output h2:first-of-type { clear: both; }