MediaWiki:Monobook.css

De Viquinotícies

Nota: Després de desar, heu de posar al dia la memòria cau del vostre navegador per veure els canvis. Mozilla / Firefox / Safari: Premeu Shift mentre cliqueu Actualitza (Reload), o premeu Ctrl+Shift+R (Cmd+Shift+R en un Mac Apple); Internet Explorer: premeu Ctrl mentre cliqueu Actualtiza (Refresh), o premeu Ctrl+F5; Konqueror:: simplement cliqueu el botó Recarregar (Reload), o premeu F5; Opera haureu d'esborrar completament la vostra memòria cau (caché) a Tools→Preferences.

/* <pre><nowiki> */

@import "/w/index.php?title=MediaWiki:Common.css&action=raw&ctype=text/css";

body { background: #EEEEFF none; }

pre { overflow: auto; }

/* Donations link to be uncommented during fundraising drives  */
#siteNotice {
    margin-top:5px;
    padding-left: 4px;
    font-style: italic;
    text-align: center;
}


/* Bold 'edit this page' link to encourage newcomers */
#ca-edit a { font-weight: bold !important; }

/* Display "User $1, you are already logged in!"
   ([[MediaWiki:Alreadyloggedin]]) in red and bold */
div.alreadyloggedin { color: red; font-weight: bold; }

#pt-login {
  font-weight: bold;
  font-size: 110%;
}

form#userlogin {
  float: left;
  padding: 1em 1em .7em 1em;
  background-color: #ffffe6;
  border: 2px solid #fc6;
  color: #000;
  margin-right: 2em;
}

form#userlogin table {
  float: left;
  background-color: #ffffe6;
  color: #000;
}

p.error {
  font-weight: bold;
}

/* Remove padding from external links displayed without icon */
#bodyContent .plainlinks a {padding: 0 !important}

/* fenetre arrondi (pour les navigateurs moz/firefox/gecko) */
.pBody 
{
   padding: 0.3em 0.1em;
}

div.pBody {
  border-left:none;
  border-radius-topright: 1em;
  border-radius-bottomright: 1em;
  -moz-border-radius-topright: 1em;
  -moz-border-radius-bottomright: 1em;
}

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

#p-cactions ul li, #p-cactions ul li a {  
  -moz-border-radius-topright: 1em;
/*  border-radius-topleft: 1em; */
  border-radius-topright: 1em;
/*  -moz-border-radius-topleft: 1em; */
}

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

#p-cactions a {
   filter: alpha(opacity=75); -moz-opacity: .75; opacity: .75;
}

#p-cactions a:hover, #p-cactions .selected a {
   filter: none; -moz-opacity: 1; opacity: 1;
}

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


#p-personal ul {
  filter: alpha(opacity=60); -moz-opacity: .60; opacity: .60;  -moz-border-radius-bottomleft:1em;
  border-radius-bottomleft:1em;
  border-color:rgb(250, 189, 35);
  border-width:1px;
  border-style:solid;
  background:#F8FCFF url(//ca.wikipedia.org/w/skins/MonoBook/user.gif) no-repeat;
  /* if it weren't for this, that tool bar would stretch itself across the entire screen. */
  float:right;
  padding:0;
  padding-bottom:.3em;
  padding-right:3px;
  border-top:none;
  border-right:none;
  margin:0;
  /* overrides 3px p-r that's above */
  padding-right:3px;
  font-size: 80%;
}

#p-personal a:hover {
  background:#FFF none;
}

#p-personal a {
  padding:.5em;
  margin:0;
}

#p-personal li {
  margin:0;
  border-right:1px dotted rgb(170, 170, 170);
  background-image: none;
}

/* Datos personales */
table.metadata {
        border: 1px solid #aaaaaa;
        display: none; /* A definir por cada usuario */
}
.metadata-label {
        color: #aaaaaa;
}

/* Couleur de fond des articles */
.ns-0 * #content { background : white; }
.ns-0 * #p-cactions li { background : white; }
.ns-0 * #p-cactions li a { background : white; }

/* Couleur de fond des pages de discussion des articles */
.ns-1 * #content { background : #FFFFEE; }
.ns-1 * #p-cactions li { background : #FFFFEE; }
.ns-1 * #p-cactions li a { background : #FFFFEE; }

/* Couleur de fond des pages Utilisateur */
.ns-2 * #content { background : white; }
.ns-2 * #p-cactions li { background : white; }
.ns-2 * #p-cactions li a { background : white; }

/* Couleur de fond des pages de discussion Utilisateur */
.ns-3 * #content { background : #FFFFEE; }
.ns-3 * #p-cactions li { background : #FFFFEE; }
.ns-3 * #p-cactions li a { background : #FFFFEE; }

/* Couleur de fond pages Wikipédia  */
.ns-4 * #content { background : #F4F4F4; }
.ns-4 * #p-cactions li { background : #F4F4F4; }
.ns-4 * #p-cactions li a { background : #F4F4F4; }

/* Couleur de fond des pages de discussion Wikipédia */
.ns-5 * #content { background : #FFFFEE; }
.ns-5 * #p-cactions li { background : #FFFFEE; }
.ns-5 * #p-cactions li a { background : #FFFFEE; }

/* Couleur de fond des pages Image */
.ns-6 * #content { background : white; }
.ns-6 * #p-cactions li { background : white; }
.ns-6 * #p-cactions li a { background : white; }

/* Couleur de fond des pages de discussion Image */
.ns-7 * #content { background : #FFFFEE; }
.ns-7 * #p-cactions li { background : #FFFFEE; }
.ns-7 * #p-cactions li a { background : #FFFFEE; }

/* Couleur de fond pages MediaWiki  */
.ns-8 * #content { background : #EEEEFF; }
.ns-8 * #p-cactions li { background : #EEEEFF; }
.ns-8 * #p-cactions li a { background : #EEEEFF; }

/* Couleur de fond des pages de discussion MediaWiki */
.ns-9 * #content { background : #FFFFEE; }
.ns-9 * #p-cactions li { background : #FFFFEE; }
.ns-9 * #p-cactions li a { background : #FFFFEE; }

/* Couleur de fond des pages Modèle */
.ns-10 * #content { background : white }
.ns-10 * #p-cactions li { background : white }
.ns-10 * #p-cactions li a { background : white }

/* Couleur de fond des pages de discussion Modèle */
.ns-11 * #content { background : #FFFFEE; }
.ns-11 * #p-cactions li { background : #FFFFEE; }
.ns-11 * #p-cactions li a { background : #FFFFEE; }

/* Couleur de fond des pages Aide */
.ns-12 * #content { background : #FFEEEE; }
.ns-12 * #p-cactions li { background : #FFEEEE; }
.ns-12 * #p-cactions li a { background : #FFEEEE; }

/* Couleur de fond des pages de discussion Aide */
.ns-13 * #content { background : #FFEEEE; }
.ns-13 * #p-cactions li { background : #FFEEEE; }
.ns-13 * #p-cactions li a { background : #FFEEEE; }

/* Couleur de fond des pages Catégorie */
.ns-15 * #content { background : white; }
.ns-15 * #p-cactions li { background : white; }
.ns-15 * #p-cactions li a { background : white; }

/* Couleur de fond des pages de discussion Catégorie */
.ns-15 * #content { background : #FFFFEE; }
.ns-15 * #p-cactions li { background : #FFFFEE; }
.ns-15 * #p-cactions li a { background : #FFFFEE; }

/* les nombre impairs représentent les espaces de discussion
 '0': 'Article', '1' : 'Discuter'
 '2': 'Utilisateur', '3' : 'Discussion utilisateur'
 '4': 'Wikipédia', '4' : 'Discussion Wikipédia'
 '6': 'Image', '5' : 'Discuter Image'
 '8': 'MediaWiki', '9' : 'Discussion MediaWiki'
 '10':   'Modèle', '10' : 'Discuter Modèle'
 '12':   'aide', '13' : 'Discuter Aide'
 '14':   'categorie' '15' : 'Discuter Catégorie'
*/

/* Fons de pantalla per a taula de darreres notícies */
.fons_DN { background-image: url(//upload.wikimedia.org/wikipedia/commons/c/c4/Viquirellotge-noticies.png) no-repeat right;}

/* Style pour les pages de discussion */
.ns-1 dd, .ns-3 dd, .ns-5 dd, .ns-7 dd, .ns-9 dd, .ns-11 dd, .ns-13 dd, .ns-15 dd
{ 
   margin: 0 0 1em 0;
   padding: 0;
}

.ns-1 dl, .ns-3 dl, .ns-5 dl, .ns-7 dl, .ns-9 dl, .ns-11 dl, .ns-13 dl, .ns-15 dl
{ 
   border-top: solid 1px #F0F080; 
   border-left: solid 1px #F0F080; 
   padding-top: 0.5em; 
   padding-left: 0.5em; 
   margin: 0 0 0 1em;
}

.ns-1 dl, .ns-3 dl, .ns-5 dl, .ns-7 dl, .ns-9 dl, .ns-11 dl, .ns-13 dl, .ns-15 dl 
{ background-color: #FFFFE0; }

.ns-1 dl dl, .ns-3 dl dl, .ns-5 dl dl, .ns-7 dl dl, .ns-9 dl dl, .ns-11 dl dl, .ns-13 dl dl, .ns-15 dl dl
{ background-color: #FFFFEE; }

.ns-1 dl dl dl, .ns-3 dl dl dl, .ns-5 dl dl dl, .ns-7 dl dl dl, .ns-9 dl dl dl, .ns-11 dl dl dl, .ns-13 dl dl dl, .ns-15 dl dl dl 
{  background-color: #FFFFE0; }

.ns-1 dl dl dl dl, .ns-3 dl dl dl dl, .ns-5 dl dl dl dl, .ns-7 dl dl dl dl, .ns-9 dl dl dl dl, .ns-11 dl dl dl dl, .ns-13 dl dl dl dl, .ns-15 dl dl dl dl
{ background-color: #FFFFEE; }

.ns-1 dl dl dl dl dl, .ns-3 dl dl dl dl dl, .ns-5 dl dl dl dl dl, .ns-7 dl dl dl dl dl, .ns-9 dl dl dl dl dl, .ns-11 dl dl dl dl dl, .ns-13 dl dl dl dl dl, .ns-15 dl dl dl dl dl
{ background-color: #FFFFE0; }

.ns-1 dl dl dl dl dl dl, .ns-3 dl dl dl dl dl dl, .ns-5 dl dl dl dl dl dl, .ns-7 dl dl dl dl dl dl, .ns-9 dl dl dl dl dl dl, .ns-11 dl dl dl dl dl dl, .ns-13 dl dl dl dl dl dl, .ns-15 dl dl dl dl dl dl
{ background-color: #FFFFEE; }

.ns-1 dl dl dl dl dl dl dl, .ns-3 dl dl dl dl dl dl dl, .ns-5 dl dl dl dl dl dl dl, .ns-7 dl dl dl dl dl dl dl, .ns-9 dl dl dl dl dl dl dl, 
.ns-11 dl dl dl dl dl dl dl, .ns-13 dl dl dl dl dl dl dl, .ns-15 dl dl dl dl dl dl dl
{ background-color: #FFFFE0; }

.ns-1 dl dl dl dl dl dl dl dl, .ns-3 dl dl dl dl dl dl dl dl, .ns-5 dl dl dl dl dl dl dl dl, .ns-7 dl dl dl dl dl dl dl dl, .ns-9 dl dl dl dl dl dl dl dl, .ns-11 dl dl dl dl dl dl dl dl, .ns-13 dl dl dl dl dl dl dl dl, .ns-15 dl dl dl dl dl dl dl dl
{ background-color: #FFFFEE; }

.ns-1 dl dl dl dl dl dl dl dl dl, .ns-3 dl dl dl dl dl dl dl dl dl, .ns-5 dl dl dl dl dl dl dl dl dl, .ns-7 dl dl dl dl dl dl dl dl dl, .ns-9 dl dl dl dl dl dl dl dl dl, .ns-11 dl dl dl dl dl dl dl dl dl, .ns-13 dl dl dl dl dl dl dl dl dl, .ns-15 dl dl dl dl dl dl dl dl dl 
{ background-color: #FFFFE0; }

.ns-1 dl dl dl dl dl dl dl dl dl dl, .ns-3 dl dl dl dl dl dl dl dl dl dl, .ns-5 dl dl dl dl dl dl dl dl dl dl, .ns-7 dl dl dl dl dl dl dl dl dl dl, .ns-9 dl dl dl dl dl dl dl dl dl dl, .ns-11 dl dl dl dl dl dl dl dl dl dl, .ns-13 dl dl dl dl dl dl dl dl dl dl, .ns-15 dl dl dl dl dl dl dl dl dl dl
{ background-color: #FFFFEE; }

pre {
    padding: 1em;
    border: 1px solid #003399;
    color: #003399;
    background-color: #F4F6FE;
    line-height: 1.1em;
}

#p-logo {
    margin-top: 5px;
}

#p-navigation {
    margin-top: 5px;
}


/* ====================================== */
/* ESTIL PER DEFECTE PER A LES METACAIXES */
/* ====================================== */

table.metacaixa {
    float: left;
    margin-bottom: 10px;
    background-color: transparent;
}

table.metacaixa td {
    padding: 5px 5px 5px 5px;
    border: solid Black 1px;
}

/* Per defecte per a MC d'elements enciclopèdics a portada*/
/* ====================================================== */

table.metacaixa td#mc-elements-enciclopedics {
    border-color: #F07878;
    border-width: 2px;
}

table.metacaixa td#mc-elements-enciclopedics_ps-deseleccionada {
    border-color: #F07878;
    background-color: transparent;
    border-width: 0px 0px 2px 0px;
    font-size: 100%;
    text-align: center;
}

table.metacaixa td#mc-elements-enciclopedics_ps-seleccionada {
    border-color: #F07878;
    font-weight: bold;
    background-color: #FFA8A8;
    color: #000000;
    border-width: 2px 2px 0px 2px;
    font-size:120%;
    text-align: center;
}

table.metacaixa td#mc-elements-enciclopedics_afegito {
    background-color: #FFA8A8;
    border-width: 0px 2px 2px 2px;
    border-color: #F07878;
}

table.metacaixa div#mc-elements-enciclopedics_afegito {
    background-color: #FFF3F3;
    padding:5px 5px 2px 5px;
}

/* Per defecte per a MC d'elements sobre la Viqui a portada*/
/* ======================================================= */

table.metacaixa td#mc-elements-viquipedia {
    border-color: #ffcc00;
    border-width: 2px 2px 2px 2px;
}

table.metacaixa td#mc-elements-viquipedia_ps-deseleccionada {
    border-color: #ffcc00;
    background-color: transparent;
    border-width: 0px 0px 2px 0px;
    font-size: 100%;
    text-align: center;
}

table.metacaixa td#mc-elements-viquipedia_ps-seleccionada {
    font-weight: bold;
    border-color: #ffcc00;
    background-color: #FAFAAA;
    color: #000000;
    border-width: 2px 2px 0px 2px;
    font-size:120%;
    text-align: center;
}

table.metacaixa td#mc-elements-viquipedia_afegito {
    border-color: #ffcc00;
    border-width: 0px 2px 2px 2px;
    background-color: #FAFAAA;
}

table.metacaixa div#mc-elements-viquipedia_afegito,
table.metacaixa div#mc-elements-viquipedia_afegito div {
    background-color: #FFFFF2;
    padding: 5px;
}

/* </nowiki></pre> */