MediaWiki:Common.css

From FragoriaWiki

(Difference between revisions)
Jump to: navigation, search
 
(One intermediate revision not shown)
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%;
+
/** Collapsible tables *********************************************************
-
padding: 0.4em;
+
*
-
background-color: #666666;
+
*  Description: Allows tables to be collapsed, showing only the header. See
-
border-bottom: 1px solid #666666;
+
*                        http://www.mediawiki.org/wiki/Manual:Collapsible_tables.
-
}
+
*  Maintainers: [[en:User:R. Koot]]
-
.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 */
+
table.collapsed tr.collapsible {
-
/* languages, so we can style things that apppear on the main page and also elsewhere. */
+
        display: none;
-
.mainpage #lastmod,
+
-
.mainpage #siteSub,
+
-
.mainpage h1.firstHeading {
+
-
display: none !important;
+
-
}
+
-
.mainpage #content {
+
-
padding-top: 1em;
+
}
}
   
   
-
/** 5. SIDEBAR EXTERNAL LINKS **/
+
.collapseButton {               /* 'show'/'hide' buttons created dynamically by the            */
-
+
        float: right;           /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */
-
#n-blog-text a, #n-browse-svn a, #n-Statistics-for-SVN a, #n-phpdoc a {
+
        font-weight: normal;   /* are styled here so they can be customised.            */
-
background: url(/skins-1.5/monobook/external.png) center right no-repeat;
+
        text-align: right;
-
padding-right: 13px;
+
        width: auto;
-
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;
+
}
}

Current revision as of 10:34, 2 July 2013

#content {
	background: red;
	color: black;
	border: 1px solid #aaa;
	border-right: none;
	line-height: 1.5em;
}

/** Collapsible tables *********************************************************
 *
 *  Description: Allows tables to be collapsed, showing only the header. See
 *                         http://www.mediawiki.org/wiki/Manual:Collapsible_tables.
 *  Maintainers: [[en:User:R. Koot]]
 */
 
table.collapsed tr.collapsible {
        display: none;
}
 
.collapseButton {               /* 'show'/'hide' buttons created dynamically by the             */
        float: right;           /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */
        font-weight: normal;    /* are styled here so they can be customised.             */
        text-align: right;
        width: auto;
}
Personal tools