Vés al contingut

MediaWiki:Monobook.css

De Viki.cat

Vegeu Ajuda:Preferències per a més informació.

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 "Actualitza" (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 ToolsPreferences.
/* CSS per a tots els usuaris amb l'aparença Monobook */

/* Avís per als administradors!! Qualsevol canvi que es faça a 
Monobook.css o a Common.css s'hauria de proposar primer a [[Viquipèdia:La taverna]]. Gràcies.

La majoria de la configuració CSS hauria d'anar a [[MediaWiki:Common.css]]. Reserveu aquesta pàgina només per allò que allà no funcioni. */

/* <pre><nowiki> */

pre { overflow: auto; }

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

/* Display "De Viquipèdia, l'enciclopèdia lliure"
#siteSub {
    font-size: 100%;
    font-weight: normal;
}

#bodyContent #siteSub a {
    color: #000;
    text-decoration: none;
    background-color: transparent;
    background-image: none;
    padding-right: 0;
} */

/* 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;
}

/* 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;
  /* 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;
}
li#pt-userpage,
li#pt-anonuserpage,
li#pt-login {
    background:  url('//ca.wikipedia.org/skins-1.5/monobook/user.gif') top left no-repeat;
    background-repeat: no-repeat;
    padding-left: 20px;
    text-transform: none;
}

/* .toccolours added here because version in 
   monobook/main.css wasn't being used by the print style */
.toccolours { 
    border: 1px solid #aaa;
    background-color: #f9f9f9;
    padding: 5px;
    font-size: 95%;
}


/* 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 : #FFFFEE; }
.ns-13 * #p-cactions li { background : #FFFFEE; }
.ns-13 * #p-cactions li a { background : #FFFFEE; }

/* 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; }

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

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

/* Couleur de fond pages Viquiprojecte  */
.ns-102 * #content { background : #F4F4F4; }
.ns-102 * #p-cactions li { background : #F4F4F4; }
.ns-102 * #p-cactions li a { background : #F4F4F4; }

/* Couleur de fond des pages de discussion viquiprojecte */
.ns-103 * #content { background : #FFFFEE; }
.ns-103 * #p-cactions li { background : #FFFFEE; }
.ns-103 * #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'

 '100':   'portal', '101' : 'Discuter portal'
 '102':   'viquiprojecte' '103' : 'Discuter viquiprojecte'
*/



/* 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, .ns-101 dd, .ns-103 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, .ns-101 dl, .ns-103 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, .ns-101 dl, .ns-103 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, .ns-101 dl dl, .ns-103 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, .ns-101 dl dl dl, .ns-103 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, .ns-101 dl dl dl dl, .ns-103 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, .ns-101 dl dl dl dl dl, .ns-103 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, .ns-101 dl dl dl dl dl dl, .ns-103 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, .ns-101 dl dl dl dl dl dl dl, .ns-103 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, .ns-101 dl dl dl dl dl dl dl dl, .ns-103 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, .ns-101 dl dl dl dl dl dl dl dl dl, .ns-103 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, .ns-101 dl dl dl dl dl dl dl dl dl dl, .ns-103 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>
== Nova metacaixa ==
<pre><nowiki>*/

/*                          */
/* PROVES DE NOVA METACAIXA */
/*                          */
/*<pre>*/

.Boto-mc {
	position: relative;
	z-index: 0;
	border-top: 1px solid #000;
	border-right: 1px solid #000;
	border-left: 1px solid #000;
	padding: 0.5em;
	white-space: nowrap;
	overflow: visible;
	background: white;
	display: inline;
	top: 0.2em;
}

.BotoSeleccionat-mc {
	position: relative;
	border-top: 1px solid #000;
	border-right: 1px solid #000;
	border-left: 1px solid #000;
	padding: 0.5em;
	white-space: nowrap;
	overflow: visible;
	background: white;
	display: inline;
	top: 0.2em;
	z-index: 1;
}

.Boto-mc a {
	background: none !important;
	padding: 0 !important
}

.BotoSeleccionat-mc a {
	background: none !important;
	padding: 0 !important;
	font-weight: bold;
	font-size: medium;
	color: #000;
}

.FileraBotons-mc {
	height: 2em;
}

.Contingut-mc {
	z-index : 0;
	position: relative;
	border: 1px solid #000;
	padding: 0.5em;
	background: white;
}

#coordinates {  
 position:absolute;
 z-index:1;
 border:none;
 background:none;
 right:30px;
 top:3.7em;
 float:right;
 margin:0.0em;
 padding:0.0em;
 line-height:1.5em;
 text-align:right;
 text-indent:0;
 font-size:85%;
 text-transform:none;
 white-space:nowrap;
}

/* Estrelles per marcar AdQ i AB als interwikis */
.portlet li, li.IW {
 list-style-image:url("//upload.wikimedia.org/wikipedia/en/1/18/Monobook-bullet.png")
}
li.AdQ { list-style-image:url("//upload.wikimedia.org/wikipedia/commons/4/4c/Icone_AdQ.png") }
li.AB { list-style-image:url("//upload.wikimedia.org/wikipedia/fr/8/86/Icone_BA.png") }

/* Pestanya "Modifica" (edita) en negreta */
#ca-edit a { font-weight: bold !important; }

/* Posició d'icones a la part superior dreta, utilitzat per plantilles com "Article de qualitat" */
div.topicon {
    position: absolute; 
    z-index: 10; 
    top: 10px;
    display: block !important;
}

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