« MediaWiki:Monobook.css » : différence entre les versions

De Wiki1000
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 143 : Ligne 143 :
     width: 6em;            /* the vde links from [[Template:Tnavbar]],  */
     width: 6em;            /* the vde links from [[Template:Tnavbar]],  */
}                          /* so they need to be the same width.        */
}                          /* 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 16 juillet 2009 à 08:25

/****** 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.         */

/******************************************/
/* Border enclosure for geshi (source)    */
/******************************************/
div.mw-geshi {
  padding: 1em; 
  margin:1em 0; 
  border: 1px dashed #2fab6f;
}