« MediaWiki:Monobook.css » : différence entre les versions
(Page blanchie) |
Aucun résumé des modifications |
||
| Ligne 1 : | Ligne 1 : | ||
/****** To hide main page title******/ | |||
body.page-Main_Page h1.firstHeading { display:none; } | |||
body { | |||
color: #675C53; | |||
font: x-small sans-serif; | |||
background-image: url("skins/sagewikibrand/headbg.jpg"); | |||
background-repeat: none; | |||
} | |||
#content { | |||
color: #675C53; | |||
line-height: 1.5em; | |||
} | |||
#globalWrapper { | |||
font-size: 120%; | |||
} | |||
ul { | |||
line-height: 1.5em; | |||
list-style-image: url("skins/sagewikibrand/bullet.gif"); | |||
list-style-type: square; | |||
} | |||
a { | |||
background: none repeat scroll 0 0 transparent; | |||
color: #69923A; | |||
text-decoration: none; | |||
} | |||
a:visited { | |||
color: #69923A; | |||
text-decoration: underline; | |||
} | |||
a:hover { | |||
color: #00A1DE; | |||
text-decoration: underline; | |||
} | |||
h1, h2, h4, h5, h6 { | |||
background: none repeat scroll 0 0 transparent; | |||
border-bottom: 1px solid #CDCDCD; | |||
color: #675053; | |||
font-weight: normal; | |||
margin: 0; | |||
padding-bottom: 0.17em; | |||
padding-top: 0.5em; | |||
} | |||
h3, h4, h5, h6 { | |||
color: #69923A; | |||
border-bottom: medium none; | |||
font-weight: bold; | |||
} | |||
h5 { | |||
color: #A8B400; | |||
font-size: 132%; | |||
} | |||
/******* PORTLET **********/ | |||
.portlet { | |||
background: url("skins/sagewikibrand/fdheadmenu.gif") no-repeat scroll 0 0 transparent; | |||
border: medium none; | |||
float: none; | |||
margin: 0 0 0.5em; | |||
overflow: hidden; | |||
padding: 0; | |||
width: 11.6em; | |||
} | |||
.pBody { | |||
background: none repeat scroll 0 0 white; | |||
border-collapse: collapse; | |||
border-color: #E3E3E3 #CDCDCD #CDCDCD; | |||
border-style: solid; | |||
border-width: 1px; | |||
margin-left: 0.6em; | |||
padding-bottom: 0.6em; | |||
} | |||
#p-cactions li a { | |||
background-color: #FBFBFB; | |||
border: medium none; | |||
color: #675C53; | |||
margin: 0; | |||
padding: 0 0.8em 0.3em; | |||
position: relative; | |||
text-decoration: none; | |||
z-index: 0; | |||
} | |||
#p-cactions li a { | |||
text-transform: capitalize; | |||
} | |||
#p-cactions li.selected a { | |||
background-image: url("ongon.gif"); | |||
color: #4D6532; | |||
padding: 0 1em 0.2em !important; | |||
z-index: 3; | |||
} | |||
.portlet h5 { | |||
background: none repeat scroll 0 0 transparent; | |||
display: inline; | |||
font-size: 110%; | |||
font-weight: bold; | |||
height: 1em; | |||
line-height: 1.6em; | |||
padding: 0 1em; | |||
text-transform: capitalize; | |||
white-space: nowrap; | |||
} | |||
/**************** user bar ***************/ | |||
#p-personal ul { | |||
background: none repeat scroll 0 0 transparent; | |||
border: medium none; | |||
color: #2F6FAB; | |||
cursor: default; | |||
line-height: 1.4em; | |||
list-style: none outside none; | |||
margin: 0; | |||
padding: 0.9em 2em 0 3em; | |||
text-align: right; | |||
z-index: 0; | |||
} | |||
#p-personal ul { | |||
text-transform: lowercase; | |||
} | |||
#p-personal li a { | |||
background: none repeat scroll 0 0 transparent; | |||
color: white; | |||
padding-bottom: 0.2em; | |||
text-decoration: none; | |||
} | |||
#p-personal li a:hover { | |||
padding-bottom: 0.2em; | |||
text-decoration: underline; | |||
} | |||
/***************** LOGO **********/ | |||
#p-logo { | |||
background-image: url("skins/sagewikibrand/sagewiki1000.gif"); | |||
} | |||
#p-logo a, #p-logo a:hover { | |||
background-position: 35% 50% !important; | |||
background-repeat: no-repeat; | |||
display: block; | |||
height: 34px; | |||
text-decoration: none; | |||
width: 150px; | |||
} | |||
/******* MAIN PAGE STYLING **********/ | |||
#mainpage_topbox { | |||
background: #f9f9f9; | |||
padding: 0px; | |||
border: 1px solid #aaaaaa; | |||
margin: 0.2em 10px 10px; | |||
} | |||
.mainpage_boxtitle, .mainpage_hubtitle_, .mainpage_hubtitle_, #mainpage_pagetitle { | |||
font-size: 105%; | |||
padding: 0.4em; | |||
background-color: #eeeeee; | |||
border-bottom: 1px solid #aaaaaa; | |||
} | |||
.mainpage_boxtitle { | |||
line-height: 120%; | |||
} | |||
.mainpage_middlebox { | |||
position: relative; | |||
width: 92px; | |||
height: 92px; | |||
overflow: hidden; | |||
} | |||
#mainpage_pagetitle { | |||
color: #cf7606; | |||
font-size: 200% !important; | |||
} | |||
#mainpage_sitelinks { | |||
padding: 0.2em; | |||
text-align: center; | |||
background-color: white; | |||
} | |||
.mainpage_hubtitle { | |||
text-align: center; | |||
background-color:#dfe1f3; | |||
} | |||
.mainpage_hubtitle_public { | |||
text-align: center; | |||
background-color:#d7f0d6; | |||
} | |||
.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(images/stock/blue-info-20x20.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(images/stock/blue-down-20x20.png); | |||
background-repeat: no-repeat; | |||
background-position: 96% 0.33em; | |||
padding-right: 25px; | |||
} | |||
/* The words 'MediaWiki.org' in the title.*/ | |||
#mainpage_mwtitle { | |||
color: #005288; | |||
} | |||
/***********************************************/ | |||
h22 .mw-headline | |||
{ | |||
font: bold "verdana"; | |||
margin: 0; | |||
padding: 0; | |||
background-color: #5075B8; | |||
color: #ffffff; | |||
display: block; | |||
} | |||
/******************************************/ | |||
/* wikitable/prettytable class for skinning normal tables */ | |||
table.wikitable, | |||
table.prettytable { | |||
margin: 1em 1em 1em 0; | |||
background: #f9f9f9; | |||
border: 1px #aaa solid; | |||
border-collapse: collapse; | |||
} | |||
.wikitable th, .wikitable td, | |||
.prettytable th, .prettytable td { | |||
border: 1px #aaa solid; | |||
padding: 0.2em; | |||
} | |||
.wikitable th, | |||
.prettytable th { | |||
background: #f2f2f2; | |||
text-align: center; | |||
} | |||
.wikitable caption, | |||
.prettytable caption { | |||
font-weight: bold; | |||
} | |||
.collapseButton { /* 'show'/'hide' buttons created dynamically */ | |||
float: right; /* by the CollapsibleTables javascript in */ | |||
font-weight: normal; /* [[MediaWiki:Common.js]]are styled here */ | |||
text-align: right; /* so they can be customised. */ | |||
width: auto; | |||
} | |||
.navbox .collapseButton { /* In navboxes, the show/hide button balances */ | |||
width: 6em; /* the vde links from [[Template:Tnavbar]], */ | |||
} /* so they need to be the same width. */ | |||
/******************************************/ | |||
/* Border enclosure for geshi (source) */ | |||
/******************************************/ | |||
div.mw-geshi { | |||
padding: 1em; | |||
margin:1em 0; | |||
border: 1px dashed #2fab6f; | |||
} | |||
Version du 8 avril 2013 à 11:15
/****** To hide main page title******/
body.page-Main_Page h1.firstHeading { display:none; }
body {
color: #675C53;
font: x-small sans-serif;
background-image: url("skins/sagewikibrand/headbg.jpg");
background-repeat: none;
}
#content {
color: #675C53;
line-height: 1.5em;
}
#globalWrapper {
font-size: 120%;
}
ul {
line-height: 1.5em;
list-style-image: url("skins/sagewikibrand/bullet.gif");
list-style-type: square;
}
a {
background: none repeat scroll 0 0 transparent;
color: #69923A;
text-decoration: none;
}
a:visited {
color: #69923A;
text-decoration: underline;
}
a:hover {
color: #00A1DE;
text-decoration: underline;
}
h1, h2, h4, h5, h6 {
background: none repeat scroll 0 0 transparent;
border-bottom: 1px solid #CDCDCD;
color: #675053;
font-weight: normal;
margin: 0;
padding-bottom: 0.17em;
padding-top: 0.5em;
}
h3, h4, h5, h6 {
color: #69923A;
border-bottom: medium none;
font-weight: bold;
}
h5 {
color: #A8B400;
font-size: 132%;
}
/******* PORTLET **********/
.portlet {
background: url("skins/sagewikibrand/fdheadmenu.gif") no-repeat scroll 0 0 transparent;
border: medium none;
float: none;
margin: 0 0 0.5em;
overflow: hidden;
padding: 0;
width: 11.6em;
}
.pBody {
background: none repeat scroll 0 0 white;
border-collapse: collapse;
border-color: #E3E3E3 #CDCDCD #CDCDCD;
border-style: solid;
border-width: 1px;
margin-left: 0.6em;
padding-bottom: 0.6em;
}
#p-cactions li a {
background-color: #FBFBFB;
border: medium none;
color: #675C53;
margin: 0;
padding: 0 0.8em 0.3em;
position: relative;
text-decoration: none;
z-index: 0;
}
#p-cactions li a {
text-transform: capitalize;
}
#p-cactions li.selected a {
background-image: url("ongon.gif");
color: #4D6532;
padding: 0 1em 0.2em !important;
z-index: 3;
}
.portlet h5 {
background: none repeat scroll 0 0 transparent;
display: inline;
font-size: 110%;
font-weight: bold;
height: 1em;
line-height: 1.6em;
padding: 0 1em;
text-transform: capitalize;
white-space: nowrap;
}
/**************** user bar ***************/
#p-personal ul {
background: none repeat scroll 0 0 transparent;
border: medium none;
color: #2F6FAB;
cursor: default;
line-height: 1.4em;
list-style: none outside none;
margin: 0;
padding: 0.9em 2em 0 3em;
text-align: right;
z-index: 0;
}
#p-personal ul {
text-transform: lowercase;
}
#p-personal li a {
background: none repeat scroll 0 0 transparent;
color: white;
padding-bottom: 0.2em;
text-decoration: none;
}
#p-personal li a:hover {
padding-bottom: 0.2em;
text-decoration: underline;
}
/***************** LOGO **********/
#p-logo {
background-image: url("skins/sagewikibrand/sagewiki1000.gif");
}
#p-logo a, #p-logo a:hover {
background-position: 35% 50% !important;
background-repeat: no-repeat;
display: block;
height: 34px;
text-decoration: none;
width: 150px;
}
/******* MAIN PAGE STYLING **********/
#mainpage_topbox {
background: #f9f9f9;
padding: 0px;
border: 1px solid #aaaaaa;
margin: 0.2em 10px 10px;
}
.mainpage_boxtitle, .mainpage_hubtitle_, .mainpage_hubtitle_, #mainpage_pagetitle {
font-size: 105%;
padding: 0.4em;
background-color: #eeeeee;
border-bottom: 1px solid #aaaaaa;
}
.mainpage_boxtitle {
line-height: 120%;
}
.mainpage_middlebox {
position: relative;
width: 92px;
height: 92px;
overflow: hidden;
}
#mainpage_pagetitle {
color: #cf7606;
font-size: 200% !important;
}
#mainpage_sitelinks {
padding: 0.2em;
text-align: center;
background-color: white;
}
.mainpage_hubtitle {
text-align: center;
background-color:#dfe1f3;
}
.mainpage_hubtitle_public {
text-align: center;
background-color:#d7f0d6;
}
.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(images/stock/blue-info-20x20.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(images/stock/blue-down-20x20.png);
background-repeat: no-repeat;
background-position: 96% 0.33em;
padding-right: 25px;
}
/* The words 'MediaWiki.org' in the title.*/
#mainpage_mwtitle {
color: #005288;
}
/***********************************************/
h22 .mw-headline
{
font: bold "verdana";
margin: 0;
padding: 0;
background-color: #5075B8;
color: #ffffff;
display: block;
}
/******************************************/
/* wikitable/prettytable class for skinning normal tables */
table.wikitable,
table.prettytable {
margin: 1em 1em 1em 0;
background: #f9f9f9;
border: 1px #aaa solid;
border-collapse: collapse;
}
.wikitable th, .wikitable td,
.prettytable th, .prettytable td {
border: 1px #aaa solid;
padding: 0.2em;
}
.wikitable th,
.prettytable th {
background: #f2f2f2;
text-align: center;
}
.wikitable caption,
.prettytable caption {
font-weight: bold;
}
.collapseButton { /* 'show'/'hide' buttons created dynamically */
float: right; /* by the CollapsibleTables javascript in */
font-weight: normal; /* [[MediaWiki:Common.js]]are styled here */
text-align: right; /* so they can be customised. */
width: auto;
}
.navbox .collapseButton { /* In navboxes, the show/hide button balances */
width: 6em; /* the vde links from [[Template:Tnavbar]], */
} /* so they need to be the same width. */
/******************************************/
/* Border enclosure for geshi (source) */
/******************************************/
div.mw-geshi {
padding: 1em;
margin:1em 0;
border: 1px dashed #2fab6f;
}