MediaWiki:Monobook.css

De Wiki1000
(Différences entre les versions)
Ligne 2 : Ligne 2 :
  
 
body.page-Main_Page h1.firstHeading { display:none; }
 
body.page-Main_Page h1.firstHeading { display:none; }
 +
 
/******* MAIN PAGE STYLING **********/
 
/******* MAIN PAGE STYLING **********/
  
Ligne 11 : Ligne 12 :
 
}
 
}
  
.mainpage_boxtitle, .mainpage_hubtitle, #mainpage_pagetitle {
+
.mainpage_boxtitle, .mainpage_hubtitle_, .mainpage_hubtitle_, #mainpage_pagetitle {
 
   font-size: 105%;  
 
   font-size: 105%;  
 
   padding: 0.4em;  
 
   padding: 0.4em;  
Ligne 42 : Ligne 43 :
 
.mainpage_hubtitle {
 
.mainpage_hubtitle {
 
   text-align: center;
 
   text-align: center;
 +
  background-color:#dfe1f3;
 +
}
 +
.mainpage_hubtitle_public {
 +
  text-align: center;
 +
  background-color:#d7f0d6;
 
}
 
}
  
Ligne 90 : Ligne 96 :
 
   color: #005288;
 
   color: #005288;
 
}
 
}
/*******************************************/
+
 
h18 .mw-headline
+
/***********************************************/
 +
h2 .mw-headline
 
{
 
{
 
font: bold "verdana";
 
font: bold "verdana";
Ligne 100 : Ligne 107 :
 
display: block;
 
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.        */

Version du 9 juin 2009 à 10:22

/****** To hide main page title******/
 
body.page-Main_Page h1.firstHeading { display:none; }
 
/******* 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;
}
 
/***********************************************/
h2 .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.         */
Outils personnels