Work in progress — This wiki is an active migration / mirror of Homestar Runner Wiki and is not finished yet. Account registration and public editing are turned off until the migration is further along. For status updates, see the migration thread on the forums.

MediaWiki:Common.css: Difference between revisions

From HR Wiki Twice
Jump to navigationJump to search
No edit summary
 
Main Page box colors from original mainpagestyles.css
 
Line 1: Line 1:
/* HR Wiki Twice Main Page colors (from original hrwiki mainpagestyles / Common.css) */
/* HR Wiki original mainpagestyles.css mapped to 2024 class names
  Colors from archived hrwiki.org/temporary_files/mainpagestyles.css */


/* Browse the knowledge base — soft green */
/* ---- Browse the knowledge base (green) ---- */
td.MainPageKnowledgeBaseBox,
td.MainPageKnowledgeBaseBox,
.MainPageKnowledgeBaseBox {
.mp-browse {
background: #DEF0CF !important;
background: #DEF0CF !important;
border: 1px solid #608050 !important;
border: 1px solid #608050 !important;
vertical-align: top;
vertical-align: top;
padding: 0 0 0.5em 0 !important;
padding: 0 !important;
}
}


td.MainPageKnowledgeBaseBox > h3,
td.MainPageKnowledgeBaseBox > h3,
.MainPageKnowledgeBaseBox > h3,
td.MainPageKnowledgeBaseBox h3,
.MainPageKnowledgeBaseBox h3 {
.mp-browse-header {
background: #608050 !important;
background: #608050 !important;
color: #ffffff !important;
color: #ffffff !important;
margin: 0 0 0.4em 0 !important;
margin: 0 !important;
padding: 0.35em 0.6em !important;
padding: 4px 8px !important;
font-size: 125% !important;
font-size: 125% !important;
font-weight: bold !important;
font-weight: bold !important;
border: none !important;
border: none !important;
border-bottom: none !important;
}
}


td.MainPageKnowledgeBaseBox h3,
td.MainPageKnowledgeBaseBox h3 .mw-headline,
td.MainPageKnowledgeBaseBox h3 .mw-headline,
.MainPageKnowledgeBaseBox h3 .mw-headline,
td.MainPageKnowledgeBaseBox h3 span {
td.MainPageKnowledgeBaseBox h3 span,
.MainPageKnowledgeBaseBox h3 span {
color: #ffffff !important;
color: #ffffff !important;
}
}


/* What's new blue */
/* ---- What's new (blue) ---- */
td.MainPageWhatsNewBox,
td.MainPageWhatsNewBox,
.MainPageWhatsNewBox {
.MainPageWhatsNewBox,
background: #E8F0FA !important;
.mp-whatsnew {
background: #E3E8F2 !important;
border: 1px solid #1C58A3 !important;
border: 1px solid #1C58A3 !important;
vertical-align: top;
vertical-align: top;
padding: 0 0 0.5em 0 !important;
padding: 0 !important;
}
}


td.MainPageWhatsNewBox > h3,
td.MainPageWhatsNewBox > h3,
td.MainPageWhatsNewBox h3,
.MainPageWhatsNewBox > h3,
.MainPageWhatsNewBox > h3,
.MainPageWhatsNewBox h3 {
.MainPageWhatsNewBox h3,
.mp-whatsnew-header {
background: #1C58A3 !important;
background: #1C58A3 !important;
color: #ffffff !important;
color: #ffffff !important;
margin: 0 0 0.4em 0 !important;
margin: 0 !important;
padding: 0.35em 0.6em !important;
padding: 4px 8px !important;
font-size: 125% !important;
font-size: 125% !important;
font-weight: bold !important;
font-weight: bold !important;
Line 50: Line 54:
}
}


td.MainPageWhatsNewBox h3,
td.MainPageWhatsNewBox h3 .mw-headline,
td.MainPageWhatsNewBox h3 .mw-headline,
td.MainPageWhatsNewBox h3 span,
.MainPageWhatsNewBox h3,
.MainPageWhatsNewBox h3 .mw-headline,
.MainPageWhatsNewBox h3 .mw-headline,
td.MainPageWhatsNewBox h3 span,
.MainPageWhatsNewBox h3 span {
.MainPageWhatsNewBox h3 span {
color: #ffffff !important;
color: #ffffff !important;
}
}


/* Inner padding for box body content */
/* ---- Featured content (pink/red) — only the full-width DIV uses this class ---- */
.MainPageKnowledgeBaseBox > div,
div.MainPageKnowledgeBaseBox,
.MainPageWhatsNewBox > div,
.mp-featured {
.MainPageKnowledgeBaseBox > p,
background: #FFE9E5 !important;
.MainPageWhatsNewBox > p {
border: 1px solid #A50901 !important;
padding-left: 0.6em;
margin: 0 0 0.5em 0 !important;
padding-right: 0.6em;
padding: 0 !important;
overflow: hidden;
}
 
div.MainPageKnowledgeBaseBox > h3,
div.MainPageKnowledgeBaseBox h3,
.mp-featured-header {
background: #A50901 !important;
color: #ffffff !important;
margin: 0 !important;
padding: 4px 8px !important;
font-size: 125% !important;
font-weight: bold !important;
border: none !important;
}
}


.MainPageKnowledgeBaseBox > h3 + div,
div.MainPageKnowledgeBaseBox h3,
.MainPageWhatsNewBox > h3 + p,
div.MainPageKnowledgeBaseBox h3 .mw-headline,
.MainPageWhatsNewBox > h3 + div {
div.MainPageKnowledgeBaseBox h3 span {
margin-top: 0.4em;
color: #ffffff !important;
}
}


/* Featured content headers reuse knowledge-base green box */
/* Body padding inside colored boxes */
.MainPageKnowledgeBaseBox h3 {
td.MainPageKnowledgeBaseBox > div,
color: #fff !important;
td.MainPageKnowledgeBaseBox > p,
td.MainPageWhatsNewBox > div,
td.MainPageWhatsNewBox > p,
div.MainPageKnowledgeBaseBox > div,
div.MainPageKnowledgeBaseBox > p,
.mp-content {
padding-left: 8px !important;
padding-right: 8px !important;
padding-bottom: 4px;
}
}


/* What's-new thumbnail frames (inline often has border already) */
td.MainPageWhatsNewBox > p:first-of-type,
td.MainPageWhatsNewBox h3 + p {
padding-top: 4px;
}
 
/* Date headers inside What's new */
td.MainPageWhatsNewBox h4,
.MainPageWhatsNewBox h4 {
margin: 0.6em 8px 0.2em 8px !important;
padding: 0 !important;
border: none !important;
font-size: 110% !important;
background: transparent !important;
color: #000 !important;
}
 
td.MainPageWhatsNewBox ul,
.MainPageWhatsNewBox ul {
margin: 0.2em 8px 0.4em 1.5em !important;
}
 
/* Thumbnail frames in What's new */
.iconlist {
.iconlist {
line-height: 1.4;
line-height: 1.4;
Line 83: Line 131:
.iconlist a {
.iconlist a {
text-decoration: none;
text-decoration: none;
}
.mp-whatsnewimage {
float: right;
border: 1px solid #1C58A3;
margin: 4px 0 4px 6px;
}
}


/* "view" / "watch" hover chips */
/* "view" / "watch" chips */
.hovul {
.hovul {
font-size: smaller;
font-size: smaller;
Line 100: Line 153:
}
}


/* Main page table spacing */
/* Main page two-column table */
#bodyContent table[cellspacing="8"],
#bodyContent table[cellspacing="8"],
.mw-parser-output > div > table[cellspacing="8"],
.mw-parser-output table[cellspacing="8"] {
.mw-parser-output table[cellspacing="8"] {
width: 100%;
width: 100%;
border-collapse: separate;
border-collapse: separate !important;
border-spacing: 8px;
border-spacing: 8px !important;
}
}


/* Headline edit junk if any */
/* Hide edit section links on main boxes */
.MainPageKnowledgeBaseBox .mw-editsection,
.MainPageKnowledgeBaseBox .mw-editsection,
.MainPageWhatsNewBox .mw-editsection {
.MainPageWhatsNewBox .mw-editsection {
Line 115: Line 167:
}
}


/* Donation / notice strip already inline-styled; keep text readable */
/* Legacy mp-* helpers (older snapshots) */
.mw-parser-output a.extiw {
.mp-table { margin-top: 8px; }
color: #3366bb;
.mp-header { background: #FFF; padding: 0 8px 4px; text-align: center; }
.mp-languages {
background: #FFC;
border: 2px solid #FC0;
padding: 0 8px;
text-align: center;
font-size: smaller;
}
.mp-donations {
background: #FFF7CB;
border: 1px solid #FFAD80;
padding: 0 8px 4px;
}
}
.mp-welcome { font-size: 160%; margin-top: 8px; }
.mp-browsetext { font-size: 90%; line-height: 100%; }
.mp-featuredimage { float: left; padding: 8px 12px 0 0; }
/* also ensure interwiki links readable */
.mw-parser-output a.extiw { color: #3366bb; }

Latest revision as of 02:46, 14 July 2026

/* HR Wiki original mainpagestyles.css — mapped to 2024 class names
   Colors from archived hrwiki.org/temporary_files/mainpagestyles.css */

/* ---- Browse the knowledge base (green) ---- */
td.MainPageKnowledgeBaseBox,
.mp-browse {
	background: #DEF0CF !important;
	border: 1px solid #608050 !important;
	vertical-align: top;
	padding: 0 !important;
}

td.MainPageKnowledgeBaseBox > h3,
td.MainPageKnowledgeBaseBox h3,
.mp-browse-header {
	background: #608050 !important;
	color: #ffffff !important;
	margin: 0 !important;
	padding: 4px 8px !important;
	font-size: 125% !important;
	font-weight: bold !important;
	border: none !important;
	border-bottom: none !important;
}

td.MainPageKnowledgeBaseBox h3,
td.MainPageKnowledgeBaseBox h3 .mw-headline,
td.MainPageKnowledgeBaseBox h3 span {
	color: #ffffff !important;
}

/* ---- What's new (blue) ---- */
td.MainPageWhatsNewBox,
.MainPageWhatsNewBox,
.mp-whatsnew {
	background: #E3E8F2 !important;
	border: 1px solid #1C58A3 !important;
	vertical-align: top;
	padding: 0 !important;
}

td.MainPageWhatsNewBox > h3,
td.MainPageWhatsNewBox h3,
.MainPageWhatsNewBox > h3,
.MainPageWhatsNewBox h3,
.mp-whatsnew-header {
	background: #1C58A3 !important;
	color: #ffffff !important;
	margin: 0 !important;
	padding: 4px 8px !important;
	font-size: 125% !important;
	font-weight: bold !important;
	border: none !important;
}

td.MainPageWhatsNewBox h3,
td.MainPageWhatsNewBox h3 .mw-headline,
td.MainPageWhatsNewBox h3 span,
.MainPageWhatsNewBox h3,
.MainPageWhatsNewBox h3 .mw-headline,
.MainPageWhatsNewBox h3 span {
	color: #ffffff !important;
}

/* ---- Featured content (pink/red) — only the full-width DIV uses this class ---- */
div.MainPageKnowledgeBaseBox,
.mp-featured {
	background: #FFE9E5 !important;
	border: 1px solid #A50901 !important;
	margin: 0 0 0.5em 0 !important;
	padding: 0 !important;
	overflow: hidden;
}

div.MainPageKnowledgeBaseBox > h3,
div.MainPageKnowledgeBaseBox h3,
.mp-featured-header {
	background: #A50901 !important;
	color: #ffffff !important;
	margin: 0 !important;
	padding: 4px 8px !important;
	font-size: 125% !important;
	font-weight: bold !important;
	border: none !important;
}

div.MainPageKnowledgeBaseBox h3,
div.MainPageKnowledgeBaseBox h3 .mw-headline,
div.MainPageKnowledgeBaseBox h3 span {
	color: #ffffff !important;
}

/* Body padding inside colored boxes */
td.MainPageKnowledgeBaseBox > div,
td.MainPageKnowledgeBaseBox > p,
td.MainPageWhatsNewBox > div,
td.MainPageWhatsNewBox > p,
div.MainPageKnowledgeBaseBox > div,
div.MainPageKnowledgeBaseBox > p,
.mp-content {
	padding-left: 8px !important;
	padding-right: 8px !important;
	padding-bottom: 4px;
}

td.MainPageWhatsNewBox > p:first-of-type,
td.MainPageWhatsNewBox h3 + p {
	padding-top: 4px;
}

/* Date headers inside What's new */
td.MainPageWhatsNewBox h4,
.MainPageWhatsNewBox h4 {
	margin: 0.6em 8px 0.2em 8px !important;
	padding: 0 !important;
	border: none !important;
	font-size: 110% !important;
	background: transparent !important;
	color: #000 !important;
}

td.MainPageWhatsNewBox ul,
.MainPageWhatsNewBox ul {
	margin: 0.2em 8px 0.4em 1.5em !important;
}

/* Thumbnail frames in What's new */
.iconlist {
	line-height: 1.4;
}
.iconlist a {
	text-decoration: none;
}
.mp-whatsnewimage {
	float: right;
	border: 1px solid #1C58A3;
	margin: 4px 0 4px 6px;
}

/* "view" / "watch" 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 two-column table */
#bodyContent table[cellspacing="8"],
.mw-parser-output table[cellspacing="8"] {
	width: 100%;
	border-collapse: separate !important;
	border-spacing: 8px !important;
}

/* Hide edit section links on main boxes */
.MainPageKnowledgeBaseBox .mw-editsection,
.MainPageWhatsNewBox .mw-editsection {
	display: none !important;
}

/* Legacy mp-* helpers (older snapshots) */
.mp-table { margin-top: 8px; }
.mp-header { background: #FFF; padding: 0 8px 4px; text-align: center; }
.mp-languages {
	background: #FFC;
	border: 2px solid #FC0;
	padding: 0 8px;
	text-align: center;
	font-size: smaller;
}
.mp-donations {
	background: #FFF7CB;
	border: 1px solid #FFAD80;
	padding: 0 8px 4px;
}
.mp-welcome { font-size: 160%; margin-top: 8px; }
.mp-browsetext { font-size: 90%; line-height: 100%; }
.mp-featuredimage { float: left; padding: 8px 12px 0 0; }
/* also ensure interwiki links readable */
.mw-parser-output a.extiw { color: #3366bb; }