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

De Wiki1000
(Page créée avec « →‎***** To hide main page title***** : body.page-Main_Page h1.firstHeading { display:none; } body { color: #675C53; font: x-small sans-serif; background-im... »)
 
Aucun résumé des modifications
Ligne 1 : Ligne 1 :
/****** To hide main page title******/
/* GENERAL BODY STYLING */
body.page-Main_Page h1.firstHeading { display:none; }
body {
body {
    color: #675C53;
     font-family: "Segoe UI", "Helvetica Neue", sans-serif;
     font: x-small sans-serif;
     background-color: #ffffff;
     background-image: url("medias/img/headbg.jpg");
     color: #1a1a1a;
     background-repeat: none;
}
}
 
/* PAGE WIDTH & CONTENT */
#content {
#content {
     color: #675C53;
     max-width: 1100px;
     line-height: 1.5em;
    margin: auto;
    padding: 2em;
    background-color: #fff;
    border-radius: 4px;
     box-shadow: 0 0 5px rgba(0,0,0,0.1);
}
}


div#content {
/* TOP BAR (for vector-2022) */
    color: #675C53;
.vector-header-container {
    line-height: 1.5em;
     background-color: #ffffff;
}
     border-bottom: 2px solid #e0e0e0;
 
#globalWrapper {
    font-size: 120%;
}
ul {
     line-height: 1.5em;
     list-style-image: url("medias/img/bullet.gif");
    list-style-type: square;
}
}


a.external {
/* LOGO AREA */
     color: blue !important;
#p-logo a {
}
     background-size: contain !important;
     background-position: center center;
a {
     background-repeat: no-repeat;
     background: none repeat scroll 0 0 transparent;
     height: 50px;
     color: #69923A;
    text-decoration: none;
}
a:visited {
    color: #69923A;
     text-decoration: underline;
}
}


a:hover {
/* LEFT NAVIGATION (SIDEBAR) */
    color: #00A1DE;
.vector-toc, .mw-portlet {
    text-decoration: underline;
     background: #f7f7f7;
}
     border: 1px solid #ddd;
     padding: 10px;
h1, h2, h4, h5, h6 {
     margin-bottom: 1em;
    background: none repeat scroll 0 0 transparent;
     border-radius: 4px;
    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("medias/img/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("medias/img/longon.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;
}
/**************** personal 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 li a {
/* LINKS AND BUTTONS */
    background: none repeat scroll 0 0 transparent;
a, .mw-ui-button {
     color: white;
     color: #007a33; /* Sage green */
    padding-bottom: 0.2em;
    text-decoration: none;
}
}
a:hover, .mw-ui-button:hover {
#p-personal li a:hover {
     color: #005c25;
     background: none repeat scroll 0 0 transparent;
    padding-bottom: 0.2em;
     text-decoration: underline;
     text-decoration: underline;
}
}


/***************** TABS **********/
/* HEADINGS */
h1, h2, h3, h4 {
    color: #003c2c;
    font-weight: 600;
}


#ca-viewsource { display:none!important; }
/* FOOTER */
 
#footer {
/***************** LOGO **********/
     background: #f1f1f1;
     padding: 1em 0;
#p-logo {
    background-image: url("medias/img/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;
     text-align: center;
}
     font-size: 0.9em;
.wikitable caption,
     color: #555;
.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 29 mai 2025 à 09:36

/* GENERAL BODY STYLING */
body {
    font-family: "Segoe UI", "Helvetica Neue", sans-serif;
    background-color: #ffffff;
    color: #1a1a1a;
}

/* PAGE WIDTH & CONTENT */
#content {
    max-width: 1100px;
    margin: auto;
    padding: 2em;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

/* TOP BAR (for vector-2022) */
.vector-header-container {
    background-color: #ffffff;
    border-bottom: 2px solid #e0e0e0;
}

/* LOGO AREA */
#p-logo a {
    background-size: contain !important;
    background-position: center center;
    background-repeat: no-repeat;
    height: 50px;
}

/* LEFT NAVIGATION (SIDEBAR) */
.vector-toc, .mw-portlet {
    background: #f7f7f7;
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 1em;
    border-radius: 4px;
}

/* LINKS AND BUTTONS */
a, .mw-ui-button {
    color: #007a33; /* Sage green */
}
a:hover, .mw-ui-button:hover {
    color: #005c25;
    text-decoration: underline;
}

/* HEADINGS */
h1, h2, h3, h4 {
    color: #003c2c;
    font-weight: 600;
}

/* FOOTER */
#footer {
    background: #f1f1f1;
    padding: 1em 0;
    text-align: center;
    font-size: 0.9em;
    color: #555;
}