MediaWiki:Common.css: Difference between revisions

From DirectWiki
Admin (talk | contribs)
Copied some css from MediaWiki
 
Admin (talk | contribs)
changed the title colors
Line 34: Line 34:
}
}
#mainpage_pagetitle {
#mainpage_pagetitle {
color: #cf7606;
color: #0F17EE;
font-size: 200% !important;
font-size: 200% !important;
}
}
Line 79: Line 79:
padding-right: 25px;
padding-right: 25px;
}
}
#mainpage_mwtitle { color: #005288; } /* The words 'MediaWiki.org' in the title. */
#mainpage_mwtitle { color: #ee0f0f; } /* The words 'DirectWiki' in the title. */
   
   
/* The "mainpage" class is added to the body with javascript for the main page in all */
/* The "mainpage" class is added to the body with javascript for the main page in all */

Revision as of 21:15, 10 March 2010

/*
This is the CSS for all skins (for all users) on DirectWiki. 
(copied from MediaWiki CSS)
 
SECTIONS:
1. Indication of namespaces
2. Color classes for content
3. Special pages
4. Main page styling
5. Sidebar external links
6. Extension:Matrix stuff
7. Wikitables, infobox templates, warnings, and other such stylings
8. Some other small things
*/
 
/***** 1. INDICATION OF NAMESPACES *****/

/***** 4. MAIN PAGE STYLING *****/
 
#mainpage_topbox {
	background: #f9f9f9;
	padding: 0px;
	border: 1px solid #aaaaaa;
	margin: 0.2em 10px 10px;
}
.mainpage_boxtitle, .mainpage_hubtitle, #mainpage_pagetitle {
	font-size: 105%;
	padding: 0.4em;
	background-color: #eeeeee;
	border-bottom: 1px solid #aaaaaa;
}
.mainpage_boxtitle {
	line-height: 120%;
}
#mainpage_pagetitle {
	color: #0F17EE;
	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_hubbox, #mainpage_newscell, #mainpage_downloadcell {
	padding: 0;
	border: 1px solid #aaaaaa;
}
.mainpage_hubbox {
	margin-bottom: 0;
}
#mainpage_newscell {
	margin-bottom: 15px;
	margin-top: 0 !important;
}
#mainpage_newscell .mainpage_boxtitle {
	background-image: url(http://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(http://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_mwtitle { color: #ee0f0f; } /* The words 'DirectWiki' in the title. */
 
/* The "mainpage" class is added to the body with javascript for the main page in all */
/* languages, so we can style things that apppear on the main page and also elsewhere. */
.mainpage #lastmod, 
.mainpage #siteSub, 
.mainpage h1.firstHeading {
	display: none !important;
} 
.mainpage #content {
	padding-top: 1em;
}
 
/***** 5. SIDEBAR EXTERNAL LINKS *****/
 
#n-browse-cvs a, #n-phpdoc a, #n-Mailing-list a {
	background: url(/skins-1.5/monobook/external.png) center right no-repeat;
	padding-right: 13px;
	color: #3366bb;
}