MediaWiki:Common.css

From FragoriaWiki

(Difference between revisions)
Jump to: navigation, search
(Replaced content with '#content { background: red; color: black; border: 1px solid #aaa; border-right: none; line-height: 1.5em; }')
Line 1: Line 1:
-
/** 4. MAIN PAGE STYLING **/
+
#content {
-
+
background: red;
-
#mainpage_topbox {
+
color: black;
-
background: #666666;
+
border: 1px solid #aaa;
-
padding: 0px;
+
border-right: none;
-
border: 1px solid #666666;
+
line-height: 1.5em;
-
margin: 0.2em 10px 10px;
+
-
}
+
-
.mainpage_boxtitle, .mainpage_hubtitle, #mainpage_pagetitle {
+
-
font-size: 105%;
+
-
padding: 0.4em;
+
-
background-color: #666666;
+
-
border-bottom: 1px solid #666666;
+
-
}
+
-
.mainpage_boxtitle {
+
-
line-height: 120%;
+
-
}
+
-
#mainpage_pagetitle {
+
-
color: #666666;
+
-
font-size: 200% !important;
+
-
}
+
-
#mainpage_sitelinks {
+
-
padding: 0.2em;
+
-
text-align: center;
+
-
background-color: black;
+
-
}
+
-
.mainpage_hubtitle {
+
-
text-align: center;
+
-
}
+
-
.mainpage_boxcontents, .mainpage_boxcontents_small {
+
-
background: #666666;
+
-
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: #005288; } /* The words 'MediaWiki.org' 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-blog-text a, #n-browse-svn a, #n-Statistics-for-SVN a, #n-phpdoc a {
+
-
background: url(/skins-1.5/monobook/external.png) center right no-repeat;
+
-
padding-right: 13px;
+
-
color: #3366bb;
+
-
}
+
-
+
-
/** 7. WIKITABLES, INFOBOX TEMPLATES, WARNINGS AND OTHER SUCH STYLINGS **/
+
-
+
-
/* Give wikitables blue headings */
+
-
.wikitable th, .wikitable td.hl3, .wikitable th.hl3 {
+
-
background: #8da7d6;
+
-
}
+
-
.wikitable td.hl1, .wikitable th.hl1 {
+
-
background: #c5d8fc;
+
-
}
+
-
.wikitable td.hl2, .wikitable th.hl2 {
+
-
background: #a7c1f2;
+
-
}
+
-
+
-
/**
+
-
* Make entire table valign=top,
+
-
* To replace the |valign=top| on every cell.
+
-
*/
+
-
.vatop tr, tr.vatop, .vatop td, .vatop th {
+
-
vertical-align: top;
+
-
}
+
-
+
-
/* General purpose "pretty (data) tables" */
+
-
table.datatable { background-color: transparent; }
+
-
table.datatable th, table.datatable td { padding: 4px; }
+
-
table.datatable th { text-align: left; background-color: #999999; }
+
-
table.datatable tr { background-color: #cccccc; }
+
-
table.datatable tr:hover { background-color: #ffffcc; }
+
-
+
-
/* SideBox styling */
+
-
div.sideBox {
+
-
position: relative;
+
-
float: right;
+
-
background: white;
+
-
margin-left: 1em;
+
-
border: 1px solid gray;
+
-
padding: 0.3em;
+
-
width: 200px;
+
-
overflow: hidden;
+
-
clear: right;
+
-
}
+
-
 
+
-
 
+
-
 
+
-
#p-logo a:hover {
+
-
        display: block;
+
-
        height: 100px;
+
-
        background-repeat: no-repeat;
+
-
        background-position: 35% 50% !important;
+
-
        text-decoration: none;
+
-
}
+
-
 
+
-
.mainpage_boxtitle, .mainpage_hubtitle, #mainpage_pagetitle {font-size: 105%; padding: 0.4em; background-color: #333333; border-bottom: 1px solid #333333;}
+
-
 
+
-
body {
+
-
background-color: #333333;
+
}
}

Revision as of 20:20, 6 March 2011

#content {
	background: red;
	color: black;
	border: 1px solid #aaa;
	border-right: none;
	line-height: 1.5em;
}
Personal tools
Date/Time
Server & Cross

Super-Cross Server