User:Caton/monobook.css

From Wikisource
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* supprimer l'icône à côté du nom d'utilisateur */
li#pt-userpage { background: none }
/* arrondir quelques coins, seulement possible avec mozilla/firefox/et autres navigateurs spéciaux */
#p-cactions ul li, #p-cactions ul li a {  
  -moz-border-radius-topleft: 1em;
  -moz-border-radius-topright: 1em;
}
#content { 
  -moz-border-radius-topleft: 1em; 
  -moz-border-radius-bottomleft: 1em;
}
div.pBody {
  -moz-border-radius-topright: 1em;
  -moz-border-radius-bottomright: 1em;
}
/* déplace la boite du lien de catégorie */
#catlinks {  
  position:absolute;
  z-index:1;
/*  border: 1px solid #aaaaaa; 
  background: #fafaff; */
  right:1em; 
  top:-0.25em;
  width:10.5em;
  float:right;
  margin: 0.2em;
  padding:0.2em;
}

/* titres des boîtes  "navigation", "boîte à outils" et "autres langues" en gras */
.portlet h5 {font-weight: bold}

/* suppression fond et bordures des boîtes : */
/* "navigation", "rechercher", "boîte à outils" et "autres langues" */
.pBody {background: transparent; border: 0}

/* styliser la boite de recherche et ses boutons */
input.searchButton {
    background-color: #efefef !important;
    border: 1px outset !important;  
}
#searchInput { border: 1px inset !important; }



#catlinks {
  position:absolute;
  z-index:1;
  border: 1px solid #aaaaaa; 
  background: #fafaff; 
  right:-0.25em;
  top:-0.25em;
  width:10.5em;
  float:right;
  margin: 0.2em;
  padding:0.2em;
}

p.catlinks {
  color: #aaaaaa;
  font-family: Verdana,sans-serif;
  font-size:67%;
  line-height: 1.5em;
  text-align:left;
  text-indent:0;
  text-transform: none;
  white-space:normal;
  margin: 0.2em;
}

p.catlinks a {
  color:#888888;
}

/**************************************************/
/* divfloatleft/right with transparent background */

div.floatleft, div.floatright {
 border-color:transparent;
}

/* bugfix for image error in mozilla */
#siteSub {
   display: block;
 }

/***************************************************************************/
/* yellowish special pages (from Mediawik:monobook.css, but color changed) */
/***************************************************************************/

/* Make all non-namespace pages have a light blue content area. This is done by setting the background color for all #content areas to light blue and then overriding it for any #content enclosed in a .ns-0 (main namespace). I then do the same for the "tab" background colors. --Lupo */

   1. content {

    background: #ffffdd; /* a light yellow */

}

.ns-0 * #content {

    background:  #fefefc; /* pastel white */

}

   1. mytabs li {

    background: #ffffdd; 

}

.ns-0 * #mytabs li {

    background: #fefefc; 

}

   1. mytabs li a {

    background-color: #ffffdd; 

}

.ns-0 * #mytabs li a {

    background-color: #fefefc; 

}

/* For p-cactions (the top "tabs") it works only because my .js moves them into the

   "ns-0" wrapper anyway. */

   1. p-cactions li {

    background: #ffffdd; 

}

.ns-0 * #p-cactions li {

    background: #fefefc; 

}

   1. p-cactions li a {

    background-color: #ffffdd; 

}

.ns-0 * #p-cactions li a {

    background-color: #fefefc; 

}