MediaWiki:Common.css
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.
/* HR Wiki Twice — Main Page colors (from original hrwiki mainpagestyles / Common.css) */
/* Browse the knowledge base — soft green */
td.MainPageKnowledgeBaseBox,
.MainPageKnowledgeBaseBox {
background: #DEF0CF !important;
border: 1px solid #608050 !important;
vertical-align: top;
padding: 0 0 0.5em 0 !important;
}
td.MainPageKnowledgeBaseBox > h3,
.MainPageKnowledgeBaseBox > h3,
.MainPageKnowledgeBaseBox h3 {
background: #608050 !important;
color: #ffffff !important;
margin: 0 0 0.4em 0 !important;
padding: 0.35em 0.6em !important;
font-size: 125% !important;
font-weight: bold !important;
border: none !important;
}
td.MainPageKnowledgeBaseBox h3 .mw-headline,
.MainPageKnowledgeBaseBox h3 .mw-headline,
td.MainPageKnowledgeBaseBox h3 span,
.MainPageKnowledgeBaseBox h3 span {
color: #ffffff !important;
}
/* What's new — blue */
td.MainPageWhatsNewBox,
.MainPageWhatsNewBox {
background: #E8F0FA !important;
border: 1px solid #1C58A3 !important;
vertical-align: top;
padding: 0 0 0.5em 0 !important;
}
td.MainPageWhatsNewBox > h3,
.MainPageWhatsNewBox > h3,
.MainPageWhatsNewBox h3 {
background: #1C58A3 !important;
color: #ffffff !important;
margin: 0 0 0.4em 0 !important;
padding: 0.35em 0.6em !important;
font-size: 125% !important;
font-weight: bold !important;
border: none !important;
}
td.MainPageWhatsNewBox h3 .mw-headline,
.MainPageWhatsNewBox h3 .mw-headline,
td.MainPageWhatsNewBox h3 span,
.MainPageWhatsNewBox h3 span {
color: #ffffff !important;
}
/* Inner padding for box body content */
.MainPageKnowledgeBaseBox > div,
.MainPageWhatsNewBox > div,
.MainPageKnowledgeBaseBox > p,
.MainPageWhatsNewBox > p {
padding-left: 0.6em;
padding-right: 0.6em;
}
.MainPageKnowledgeBaseBox > h3 + div,
.MainPageWhatsNewBox > h3 + p,
.MainPageWhatsNewBox > h3 + div {
margin-top: 0.4em;
}
/* Featured content headers reuse knowledge-base green box */
.MainPageKnowledgeBaseBox h3 {
color: #fff !important;
}
/* What's-new thumbnail frames (inline often has border already) */
.iconlist {
line-height: 1.4;
}
.iconlist a {
text-decoration: none;
}
/* "view" / "watch" hover chips */
.hovul {
font-size: smaller;
background: #EEE;
border: 1px solid #999;
padding: 2px 0.5em;
white-space: nowrap;
}
.hovul a {
text-decoration: none;
}
.hovul a:hover {
text-decoration: underline;
}
/* Main page table spacing */
#bodyContent table[cellspacing="8"],
.mw-parser-output > div > table[cellspacing="8"],
.mw-parser-output table[cellspacing="8"] {
width: 100%;
border-collapse: separate;
border-spacing: 8px;
}
/* Headline edit junk if any */
.MainPageKnowledgeBaseBox .mw-editsection,
.MainPageWhatsNewBox .mw-editsection {
display: none !important;
}
/* Donation / notice strip already inline-styled; keep text readable */
.mw-parser-output a.extiw {
color: #3366bb;
}