Utilisateur:Carrousel/monobook.css

Un livre de Wikilivres.

Attention : Depuis MediaWiki 1.18 les pages se terminant avec l'extension .js ou .css sont interprétées comme des pages wiki ! En particulier les modèles (subst ou non) et les liens. Vous devez donc migrer le code source et effectuer vos changements en évitant ces éléments de syntaxe wiki (peu importe leurs emplacements dans le code source : commentaire, chaine) :

  • Double accolades ouvrantes (en particulier avec subst:) : séparer les deux accolades "{"+"{" du reste de la chaine
  • Double crochets ouvrants : même technique de séparation.
  • Signature (tildes ~ multiples) : même technique de séparation.

Note : après avoir enregistré vos préférences, vous devrez attendre que le serveur mette à jour la feuille de style globale avant de forcer le rechargement complet du cache de votre navigateur pour voir les changements.

  • Firefox / Safari : Maintenez la touche Maj (Shift) en cliquant sur le bouton Actualiser ou pressez Ctrl-F5 ou Ctrl-R (⌘-R sur un Mac) ;
  • Google Chrome : Appuyez sur Ctrl-Maj-R (⌘-Shift-R sur un Mac) ;
  • Internet Explorer : Maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl-F5 ;
  • Konqueror : Cliquez sur Actualiser ou pressez F5 ;
  • Opera : Videz le cache dans Outils → Préférences.
/* <pre> 
Fuente: http://es.wikipedia.org/wiki/User:Sanbec/monobook.css
Personalizada por Axxgreazz, para el [[w:es:User:Axxgreazz/Monobook-Suite]]
http://es.wikipedia.org/wiki/Usuario:Axxgreazz/Monobook-Suite */
 
/* Sección 1: Configuración general */

body {
    font: x-small sans-serif; 
    background: #f9f9f9 url(http://commons.wikipedia.org/skins-1.5/monobook/headbg.jpg) 0 0 no-repeat;
    color: black;
    margin: 0;
    padding: 0;
}

a {text-decoration:none}
a:active, a:hover {text-decoration:underline}
.stub:visited {color:darkorange !important}

#p-cactions #ca-edit-0 a { 
    padding-left: 0.4em;
    padding-right: 0.4em;
}

#content { color : black; font-family:Trebuchet MS;}

/* Colores de la caja de edición al editar textos */
textarea { color: #000000; }
textarea { background : #F8F8F8; } 

/* Barra personal (la que tiene enlaces a las preferencias, buzón, usuario, etc.) */
#p-personal li a { color: #003399; }  
#p-personal li a:hover { color: #C00000; }  

/* Color por defecto */ 
#p-cactions li { background : white; } 
#p-cactions li a { background-color : white; } 

/* Sin padding para enlaces externos */
#bodyContent .plainlinks a {padding: 0 !important}


/* Sección 2: Bordes redondeados (para navegadores moz/firefox/gecko) */

.pBody {
   padding: 0.3em 0.1em;
   -moz-border-radius-topright: 0.5em;
}

.portlet h5 {
   background-color: #e0e3e6;
   border: thin solid silver;
   -moz-border-radius-topright: 0.5em;
}

#p-cactions ul li, #p-cactions ul li a {  
  -moz-border-radius-topright: 0.5em;
}

#content {
  -moz-border-radius-topleft: 0.5em;
}


/* Sección 3: Estilo de los diff */

td.diff-deletedline {background:#E4F6D8;}
td.diff-addedline {background:#D8E4F6;}
td.diff-deletedline .diffchange {
    text-decoration: line-through;
    color: #104000;
}
td.diff-addedline .diffchange {
    text-decoration: underline;
    color: #001040;
}


/* Sección 4: Estilo de los títulos */ 

h1, h2, h3, h4, h5, h6 { color: #001155;}
#bodyContent h1 { color : #001155; }
#bodyContent h2 { color : #001155; }
#bodyContent h3 { color : #001155; }
#bodyContent h4 { color : #001155; }
#bodyContent h5 { color : #001155; }
#bodyContent h6 { color : #001155; }

h1 { 
    font-weight: 100;
    -moz-border-radius-topright: 0.5em;
    -moz-border-radius-bottomleft: 0.5em;
    -moz-border-radius-topleft: 0.5em;
    -moz-border-radius-bottomright: 0.5em;
    background: #ECF3FC;
    width: 90%;
    margin: 0.5em 0 0.5em 1em;
    padding: 0.5em;
    border-bottom: 0px
}

h2 {
    color: #001155;
    font-size: 14pt;
    font-weight: bold
}


/* Sección 5: Estilo de las barras de navegación (columna de la izquierda) 
  (Navegación, búsqueda, herramientas, interwikis, personal, desarrollo, recursos, participa,   estados) */

/* Cabeceras */
#p-navigation h5, #p-search h5, #p-tb h5, #p-lang h5, #p-nbx h5, #p-development h5, #p-resources h5, #p-participate h5, #tz-statuschanger h5, #p-Contribuer h5, #p-colaboraci.C3.B3n h5, #p-ayuda h5, #p-community h5, #p-site h5, #p-download-header h5, #p-support h5, #p-communication h5 {
    background: #CCE0FB;
    padding: 4px 10px;
    display: block;
    font-weight: bold;
    font-size: .8em; 
    margin-bottom: 1px;
    -moz-border-radius-topright: 1em;
}

/* Enlaces */
#p-navigation a, #p-search a, #p-tb a, #p-lang a, #p-nbx a, #p-development a, #p-resources a, p-participate a, #tz-statuschanger a, #p-Contribuer a, #p-colaboraci.C3.B3n a, #p-ayuda a, #p-community a, #p-site a, #p-download-header a, #p-support a, #p-communication a { color: #003399; }

/*Contenido */
.pBody {
   background-color: #FFFFFF;
   padding: 0.3em 0.1em;
   -moz-border-radius-topright: .5em;
}


/* Sección 6: Estilo de texto preformateado */
pre {
    padding: 1em;
    border: 1px solid #003399;
    color: #003399;
    background-color: #F4F6FE;
    line-height: 1.1em;
}


/* Sección 7: Estilo de la sección inferior */
#footer {
    background: transparent;
    border-top: 0px;
    border-bottom: 0px;
    margin: 0.6em 0em 1em 0em;
    padding: 0.4em 0em 1.2em 0em;
    text-align: center;
    font-size: 90%;
}

body {
    font: x-small sans-serif;
    color: black;
    margin: 0;
    padding: 0;
}

#catlinks {
    border:1px solid #003399;
    background-color:#ECF3FC;
    color: #003399;
    padding:5px;
    margin-top: 1em;
    clear: both;
}


/* Sección 8: Estilo de cajas de búsqueda */

#searchInput { 
    border: 1px ridge !important; 
    color: #003399; 
    background: #fff; 
} 

/***************************************************************************************/

/* Sección 9: Estilo de los botones de edición */

input.editButton, input.searchButton, #wpSave, #wpPreview, #wpDiff, #wpLivepreview, #wpCleanLP { 
    background : url(http://upload.wikimedia.org/wikipedia/commons/b/ba/Search_button_bckg.png) center left repeat-x;
    color: #003399;
    font-weight: 400;
    -moz-border-radius-topright: 0.4em;
    -moz-border-radius-bottomleft: 0.4em;
    -moz-border-radius-topleft: 0.4em;
    -moz-border-radius-bottomright: 0.4em;
    border: 1px solid; 
}


/* Sección 10: Color de fondo de la página de artículos */

/* Página especiales */
.ns--1 * #content { color : black; } 
.ns--1 * #content { background : #FFFFFF; }
.ns--1 * #p-cactions li { background : #FFFFFF; }
.ns--1 * #p-cactions li a { background-color : #FFFFFF; }

/* Página de artículos */
.ns-0 * #content { color : black; } 
.ns-0 * #content { background : #FFFFFF; }
.ns-0 * #p-cactions li { background : #FFFFFF; }
.ns-0 * #p-cactions li a { background-color : #FFFFFF; }

/* Página de discusión de artículos */
.ns-1 * #content { color : black; } 
.ns-1 * #content { background : #FFFFEE; }
.ns-1 * #p-cactions li { background : #FFFFEE; }
.ns-1 * #p-cactions li a { background-color : #FFFFEE; }

/* Página */
.ns-2 * #content { color : black; } 
.ns-2 * #content { background : #FFFFFF; }
.ns-2 * #p-cactions li { background : #FFFFFF; }
.ns-2 * #p-cactions li a { background-color : #FFFFFF; }

/* Página de discusión de Usuario */
.ns-3 * #content { color : black; } 
.ns-3 * #content { background : #FFFFEE; }
.ns-3 * #p-cactions li { background : #FFFFEE; }
.ns-3 * #p-cactions li a { background-color : #FFFFEE; }

/* Página de Wikipedia */
.ns-4 * #content { color : black; } 
.ns-4 * #content { background : #EEFFEE; }
.ns-4 * #p-cactions li { background : #EEFFEE; }
.ns-4 * #p-cactions li a { background-color : #EEFFEE; }

/* Página de discusión de Wikipedia */
.ns-5 * #content { color : black; } 
.ns-5 * #content { background : #FFFFEE; }
.ns-5 * #p-cactions li { background : #FFFFEE; }
.ns-5 * #p-cactions li a { background-color : #FFFFEE; }

/* Página de descripción de imágenes 
.ns-6 * #content { color : black; } 
.ns-6 * #content { background : #EEEEFF; }
.ns-6 * #p-cactions li { background : #EEEEFF; }
.ns-6 * #p-cactions li a { background-color : #EEEEFF; }*/

/* Página de discusión de imagenes */
.ns-7 * #content { background : #FFFFEE; }
.ns-7 * #content { color : black; } 
.ns-7 * #p-cactions li { background : #FFFFEE; }
.ns-7 * #p-cactions li a { background-color : #FFFFEE; }

/* Página de MediaWiki */
.ns-8 * #content { color : black; } 
.ns-8 * #content { background : #EEEEFF; }
.ns-8 * #p-cactions li { background : #EEEEFF; }
.ns-8 * #p-cactions li a { background-color : #EEEEFF; }

/* Página de discusión de MediaWiki */
.ns-9 * #content { color : black; } 
.ns-9 * #content { background : #FFFFEE; }
.ns-9 * #p-cactions li { background : #FFFFEE; }
.ns-9 * #p-cactions li a { background-color : #FFFFEE; }

/* Página de discusión de Plantilla */
.ns-11 * #content { color : black; } 
.ns-11 * #content { background : #FFFFEE; }
.ns-11 * #p-cactions li { background : #FFFFEE; }
.ns-11 * #p-cactions li a { background-color : #FFFFEE; }

/* Página de Ayuda */
.ns-12 * #content { color : black; } 
.ns-12 * #content { background : #F8FCFF; }
.ns-12 * #p-cactions li { background : #F8FCFF; }
.ns-12 * #p-cactions li a { background-color : #F8FCFF; }

/* Página de discusión de Ayuda */
.ns-13 * #content { color : black; } 
.ns-13 * #content { background : #FFEEEE; }
.ns-13 * #p-cactions li { background : #FFEEEE; }
.ns-13 * #p-cactions li a { background-color : #FFEEEE; }

/* Página de discusión de Categoría */
.ns-15 * #content { color : black; } 
.ns-15 * #content { background : #FFFFEE; }
.ns-15 * #p-cactions li { background : #FFFFEE; }
.ns-15 * #p-cactions li a { background-color : #FFFFEE; }

/* Página de Wikiproyectos*/
.ns-102 * #content { color : black; } 
.ns-102 * #content { background : #FFFFEE; }
.ns-102 * #p-cactions li { background : #FFFFEE; }
.ns-102 * #p-cactions li a { background-color : #FFFFEE; }

/* Página de discusión de wikiproyectos*/
.ns-103 * #content { color : black; } 
.ns-103 * #content { background : #FFFFEE; }
.ns-103 * #p-cactions li { background : #FFFFEE; }
.ns-103 * #p-cactions li a { background-color : #FFFFEE; }


/* Sección 11: Estilo de páginas de discusión */

.ns-1 * #content,
.ns-3 * #content,
.ns-5 * #content,
.ns-7 * #content,
.ns-9 * #content,
.ns-11 * #content,
.ns-13 * #content,
.ns-15 * #content,
.ns-102 * #content,
.ns-103 * #content,
.ns-1 * #mytabs li,
.ns-3 * #mytabs li,
.ns-5 * #mytabs li,
.ns-7 * #mytabs li,
.ns-9 * #mytabs li,
.ns-11 * #mytabs li,
.ns-13 * #mytabs li,
.ns-15 * #mytabs li,
.ns-102 * #mytabs li,
.ns-103 * #mytabs li {
    background: #FFFFF0;
}

.ns-1 * #mytabs li a,
.ns-3 * #mytabs li a,
.ns-5 * #mytabs li a,
.ns-7 * #mytabs li a,
.ns-9 * #mytabs li a,
.ns-11 * #mytabs li a,
.ns-13 * #mytabs li a,
.ns-15 * #mytabs li a,
.ns-102 * #mytabs li a,
.ns-103 * #mytabs li a,
.ns-1 * #p-cactions li a,
.ns-3 * #p-cactions li a,
.ns-5 * #p-cactions li a,
.ns-7 * #p-cactions li a,
.ns-9 * #p-cactions li a,
.ns-11 * #p-cactions li a,
.ns-13 * #p-cactions li a,
.ns-15 * #p-cactions li a, 
.ns-102 * #p-cactions li a,
.ns-103 * #p-cactions li a {
    background-color: #FFFFF0;
}

.ns-1 * #content div.thumb,
.ns-3 * #content div.thumb,
.ns-5 * #content div.thumb,
.ns-7 * #content div.thumb,
.ns-9 * #content div.thumb,
.ns-11 * #content div.thumb,
.ns-13 * #content div.thumb,
.ns-15 * #content div.thumb,
.ns-102 * #content div.thumb,
.ns-103 * #content div.thumb {
    border-color: #FFFFF0;
}

/***************************************************************************************/

/* Sección 12: Configurador de iconos */

/* Barra superior p-personal */
li#pt-anonuserpage a{padding-left: 18px;background:url(http://es.wikipedia.org/skins-1.5/amethyst/user.png) top left no-repeat; }
li#pt-mytalk a{padding-left: 18px;background:url(http://es.wikipedia.org/skins-1.5/amethyst/chat.png) top left no-repeat; }
li#pt-anontalk a{padding-left: 18px;background:url(http://es.wikipedia.org/skins-1.5/amethyst/chat.png) top left no-repeat; }
li#pt-preferences a{padding-left: 18px;background:url(http://es.wikipedia.org/skins-1.5/amethyst/configure.png) top left no-repeat; }
li#pt-logout      a{padding-left: 18px;background:url(http://es.wikipedia.org/skins-1.5/amethyst/connect.png) top left no-repeat; }
li#pt-anonlogin   a{padding-left: 18px;background:url(http://es.wikipedia.org/skins-1.5/amethyst/connected.png) top left no-repeat; }

/* Pestañas superiores: p-cactions*/
li#ca-nstab-main a{padding-left: 18px;background:url(http://es.wikipedia.org/skins-1.5/amethyst/nstab-main.png) top left no-repeat; }
li#ca-nstab-user a{padding-left: 18px;background:url(http://es.wikipedia.org/skins-1.5/amethyst/nstab-user.png) top left no-repeat; }
li#ca-nstab-wp a{padding-left: 18px;background:url(http://es.wikipedia.org/skins-1.5/amethyst/nstab-wp.png) top left no-repeat; }
li#ca-article a{padding-left: 18px;background:url(http://es.wikipedia.org/skins-1.5/amethyst/article.png) top left no-repeat; }
li#ca-talk a{padding-left: 18px;background:url(http://es.wikipedia.org/skins-1.5/amethyst/chat.png) top left no-repeat; }
li#ca-edit    a{padding-left: 18px;background:url(http://es.wikipedia.org/skins-1.5/amethyst/edit.png) top left no-repeat; }
li#ca-history a{padding-left: 18px;background:url(http://es.wikipedia.org/skins-1.5/amethyst/history.png) top left no-repeat; }
li#ca-protect a{padding-left: 18px;background:url(http://es.wikipedia.org/skins-1.5/amethyst/lock.png) top left no-repeat; }
li#ca-unprotect a{padding-left: 18px;background:url(http://es.wikipedia.org/skins-1.5/amethyst/unlock.png) top left no-repeat; }
li#ca-delete  a{padding-left: 18px;background:url(http://es.wikipedia.org/skins-1.5/amethyst/delete.png) top left no-repeat; }
li#ca-move a{padding-left: 18px;background:url(http://es.wikipedia.org/skins-1.5/amethyst/move.png) top left no-repeat; }
li#ca-watch a{padding-left: 18px;background:url(http://es.wikipedia.org/skins-1.5/amethyst/watch.png) top left no-repeat; }
li#ca-unwatch a{padding-left: 18px;background:url(http://es.wikipedia.org/skins-1.5/amethyst/unwatch.png) top left no-repeat; }

/* Cajas de navegación */
li#n-mainpage a{padding-left: 18px;background:url(http://es.wikipedia.org/skins-1.5/amethyst/mainpage.png) top left no-repeat; }
li#n-welcome  a{padding-left: 18px;background:url(http://es.wikipedia.org/skins-1.5/amethyst/currentevents.png) top left no-repeat; }
li#n-portal  a{padding-left: 18px;background:url(http://es.wikipedia.org/skins-1.5/amethyst/portal.png) top left no-repeat; }
li#n-village-pump  a{padding-left: 18px;background:url(http://es.wikipedia.org/skins-1.5/amethyst/chat.png) top left no-repeat; }

li#n-upload  a{padding-left: 18px;background:url(http://es.wikipedia.org/skins-1.5/amethyst/upload.png) top left no-repeat; }
li#n-recentchanges  a{padding-left: 18px;background:url(http://es.wikipedia.org/skins-1.5/amethyst/recentchanges.png) top left no-repeat; }
li#n-latestfiles a{padding-left: 18px;background:url(http://es.wikipedia.org/skins-1.5/amethyst/currentevents.png) top left no-repeat;}
li#n-randomimage a{padding-left: 18px;background:url(http://es.wikipedia.org/skins-1.5/amethyst/random.png) top left no-repeat; }
li#n-help  a{padding-left: 18px;background:url(http://es.wikipedia.org/skins-1.5/amethyst/help.png) top left no-repeat; }
li#n-contact a{padding-left: 18px;background:url(http://es.wikipedia.org/skins-1.5/amethyst/gear.png) top left no-repeat; }
li#n-sitesupport a{padding-left: 18px;background:url(http://es.wikipedia.org/skins-1.5/amethyst/sitesupport.png) top left no-repeat; }
li#n-currentevents  a{padding-left: 18px;background:url(http://es.wikipedia.org/skins-1.5/amethyst/currentevents.png) top left no-repeat; }
li#n-randompage a{padding-left: 18px;background:url(http://es.wikipedia.org/skins-1.5/amethyst/random.png) top left no-repeat; }
li#n-Featured-articles a{padding-left: 18px;background:url(http://es.wikipedia.org/skins-1.5/amethyst/chat.png) top left no-repeat; }