Difference between revisions of "MediaWiki:Common.css"

From Engineering Computing Online
Jump to navigation Jump to search
Line 121: Line 121:
 
.page-Mainpage h1.firstHeading { display: none; }
 
.page-Mainpage h1.firstHeading { display: none; }
 
.page-Homepage h1.firstHeading { display: none; }
 
.page-Homepage h1.firstHeading { display: none; }
.page-zh_Homepage h1.firstHeading { display: none; }
+
.page-zh-Homepage h1.firstHeading { display: none; }

Revision as of 15:11, 10 April 2015

/* CSS placed here will be applied to all skins */
/**
 * 4. MAIN PAGE STYLING
 * -------------------------------------------------
 */
 
#mainpage_topbox {
	background: #f9f9f9;
	padding: 0;
	border: 1px solid #aaaaaa;
	margin: 0.2em 10px 10px;
}
.mainpage_boxtitle,
.mainpage_hubtitle,
#mainpage_pagetitle {
	font-size: 105%;
	padding: 0.4em;
	background-color: #eeeeee;
}
.mainpage_boxtitle {
	line-height: 120%;
}
#mainpage_pagetitle {
	color: #cf7606;
	font-size: 200% !important;
}
#mainpage_sitelinks {
	padding: 0.2em;
	text-align: center;
	background-color: white;
}
.mainpage_hubtitle {
	text-align: center;
}
.mainpage_boxcontents,
.mainpage_boxcontents_small {
	background: #ffffff;
	padding: 0.2em 0.4em;
}
.mainpage_boxcontents_small {
	font-size: 95%;
}
.mainpage_boxcontents_title {
	display: block;
	border-bottom: 1px solid #AAA;
	margin-bottom: 0.5em;
	text-align: center;
	font-weight: bold;
	font-size: larger;
}
.mainpage_hubbox {
	width: 33%;
}
.mainpage_hubbox,
#mainpage_newscell,
#mainpage_downloadcell,
#mainpage_opportunitiescell,
#mainpage_featuredpagescell {
	padding: 0;
	border: 1px solid #aaaaaa;
}
#mainpage_newscell {
	margin-bottom: 15px;
	margin-top: 0 !important;
}
#mainpage_newscell .mainpage_boxtitle {
	background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/8/89/Exquisite-khelpcenter.png/20px-Exquisite-khelpcenter.png);
	background-repeat: no-repeat;
	background-position: 99% 0.3em;
	padding-right: 25px;
}
#mainpage_downloadcell {
	width: 17em;
	margin-bottom: 5px;
}
#mainpage_downloadcell .mainpage_boxtitle {
	background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/5/5d/Crystal_Clear_action_build.png/18px-Crystal_Clear_action_build.png);
	background-repeat: no-repeat;
	background-position: 96% 0.33em;
	padding-right: 25px;
}
#mainpage_opportunitiescell {
	max-width: 25em;
	margin-bottom: 15px;
	margin-top: 0 !important;
}
#mainpage_opportunitiescell .mainpage_boxtitle {
	background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/6/63/User-online.svg/20px-User-online.svg.png);
	background-repeat: no-repeat;
	background-position: 98% 0.15em;
	padding-right: 25px;
}
#mainpage_featuredpagescell {
	max-width: 25em;
	margin-bottom: 15px;
	margin-top: 0 !important;
}
#mainpage_featuredpagescell .mainpage_boxtitle {
	background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/0/0f/Note_icon.svg/20px-Note_icon.svg.png);
	background-repeat: no-repeat;
	background-position: 98% 0.15em;
	padding-right: 25px;
}
/* The words 'MediaWiki.org' in the title. */
#mainpage_mwtitle {
	color: #005288;
}
 
/*
 * The "mainpage" class is added to the body with JavaScript for the main page in all
 * languages, so we can style things that appear on the main page and also elsewhere.
 */
.mainpage #lastmod,
.mainpage #siteSub,
.mainpage #contentSub,
.mainpage .subtitle,
.mainpage #jump-to-nav,
.mainpage .firstHeading {
	display: none;
}
.page-Mainpage h1.firstHeading { display: none; }
.page-Homepage h1.firstHeading { display: none; }
.page-zh-Homepage h1.firstHeading { display: none; }