MediaWiki:Common.css
Aparença
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 Tools→Preferences.
/* CSS per a tots els usuaris i totes les aparences (skins)
Avís per als administradors!! Per a qualsevol canvi que es faça a
[[MediaWiki:Common.css]] s'hauria de proposar primer a [[Viquipèdia:La taverna]]. Gràcies.
Comproveu la validesa del codi amb el [http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fca.wikipedia.org%2Fw%2Findex.php%3Ftitle%3DMediaWiki%3ACommon.css%26action%3Draw%26ctype%3Dtext%2Fcss&usermedium=all W3C CSS Validation Service] ([http://qa-dev.w3.org:8001/css-validator/validator?uri=http%3A%2F%2Fca.wikipedia.org%2Fw%2Findex.php%3Ftitle%3DMediaWiki%3ACommon.css%26action%3Draw%26ctype%3Dtext%2Fcss&warning=2&profile=css3&usermedium=all versió CVS]) després de cada canvi.
*/
/* class wikitable ja està definida a https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/skins/common/shared.css?view=markup
es manté la definició de prettytable i bellataula per compatibilitat mentre no se substitueixin
*/
table.prettytable,
table.bellataula {
margin: 1em 1em 1em 0;
background: #f9f9f9;
border: 1px #aaaaaa solid;
border-collapse: collapse;
}
table.prettytable th, table.prettytable td,
table.bellataula th, table.bellataula td {
border: 1px #aaaaaa solid;
padding: 0.2em;
}
table.bellataula th,
table.prettytable th {
background: #f2f2f2;
text-align: center;
}
table.bellataula caption,
table.prettytable caption {
margin-left: inherit;
margin-right: inherit;
}
table.centre, table.center { /* Alineació centrada amb class="wikitable centre" */
margin:1em auto;
}
table.wikitable[align=center] {margin:1em auto;} /*Alineació centrada amb align=center */
/* Style for "notices" */
.notice,
.avís {
text-align: justify;
margin: 1em;
padding: 0.2em;
}
#disambig,
#desambiagua {
border-top: 3px double #cccccc;
border-bottom: 3px double #cccccc;
}
#spoiler {
border-top: 2px solid #ddd;
border-bottom:2px solid #ddd;
}
/* Standard talk template style */
.Talk-Notice {
border: 1px solid #C0C090;
background-color: #F8EABA;
margin-bottom: 3px;
width: 85%;
border-spacing: 3px;
margin-left: auto;
margin-right: auto;
}
/* Make template background appear correctly on all browsers */
.Talk-Notice td {
background: inherit;
}
.nowraplinks a,
span.texhtml,
sup.reference a { white-space: nowrap; }
/* The legacy implementation of this was with "plainlinksneverexpand", which
also simulated "plainlinks". "plainlinksneverexpand" is deprecated and
should be replaced with "plainlinks nourlexpansion". When this has been
done, the rules below can be removed.
*/
.plainlinksneverexpand a {
background: none !important;
padding: 0 !important;
}
.plainlinksneverexpand a.external.text:after,
.plainlinksneverexpand a.external.autonumber:after {
display: none !important;
}
/* Merge template style */
.messagebox {
border: 1px solid #aaaaaa;
background-color: #f9f9f9;
width: 85%;
margin: 0 auto 1em auto;
padding: .2em;
text-align: justify;
}
.messagebox.merge {
border: 1px solid #cf9fff;
background-color: #f5edf5;
text-align: center;
}
.messagebox.cleanup {
border: 1px solid #9f9fff;
background-color: #efefff;
text-align: center;
}
.messagebox.standard-talk {
border: 1px solid #c0c090;
background-color: #f8eaba;
}
/* Support for Template:IPA, Template:Unicode and Template:Polytonic. The inherit declaration resets the font for all browsers except MSIE6. The empty comment must remain. */
.IPA {
font-family: Arial Unicode MS, Chrysanthi Unicode, Doulos SIL, Gentium, GentiumAlt, Code2000, TITUS Cyberbit Basic, DejaVu Sans, Bitstream Vera Sans, Bitstream Cyberbit, Lucida Sans Unicode, Hiragino Kaku Gothic Pro, Matrix Unicode;
font-family /**/:inherit;
font-size: 100%;
}
.Unicode {
font-family: Arial Unicode MS, TITUS Cyberbit Basic, Code2000, Doulos SIL, Chrysanthi Unicode, Bitstream Cyberbit, Bitstream CyberBase, Bitstream Vera, Thryomanes, Gentium, GentiumAlt, Visual Geez Unicode, Lucida Grande, Microsoft Sans Serif, Lucida Sans Unicode;
font-family /**/:inherit;
}
.polytonic {
font-family: Arial Unicode MS, Athena, Gentium, Palatino Linotype, Lucida Sans Unicode, Lucida Grande, Code2000;
font-family /**/:inherit;
}
#wpSave {
font-weight: bold;
}
.amaga {
display: none;
visibility: hidden;
}
/* Geographical coordinates (copiat de la viqui anglesa el 29/3/2013)
Vegeu [[Plantilla:Coord#Presentacio]] per les configuracions
*/
.geo-default, .geo-dms, .geo-dec { display: inline; }
.geo-nondefault, .geo-multi-punct { display: none; }
.longitude, .latitude { white-space: nowrap; }
/*HERE STARTS "METABOX" COLOUR-SCHEMES*/
/* Nou esquema de colors per a la Plantilla:Metacaixa usada a la portada */
/* Configuració per defecte en lila
Tons usats; 1; 7050a0 2; 9070c0 3; b090e0 4; d0b0ff 5; f0d0ff */
.mcBoto {
background-color: #d0b0ff; /* 4 */
border: 0.15em solid #000000;
border-color: #f0d0ff #b090e0 #9070c0 #f0d0ff; /* 5 3 3 5 */
border-radius: .5em .5em 0em 0em; /* especificació W3C funciona amb Opera, Safari i Chrome */
-moz-border-radius: .5em .5em 0em 0em; /* funciona amb Firefox */
cursor:pointer;
display: inline;
margin-right: 0.1em;
padding: 0.2em 0.3em 0.2em 0.3em;
position: relative;}
.mcBoto a,
.mcBoto strong {
background: none !important;
color:#7050a0 !important; /* 1 */
font-size: 90%;
font-weight: bold;
padding: 0 !important;
text-decoration: none !important;}
.mcBoto a:hover,
.mcBoto strong:hover {
color: black !important;
text-decoration: underline !important;}
.mcBotoSel {
background-color: #9070c0; /* 2 */
border: 0.15em solid #000000;
border-color: #b090e0 #7050a0 #9070c0 #b090e0; /* 3 1 2 3 */
border-radius: .5em .5em 0em 0em;
-moz-border-radius: .5em .5em 0em 0em;
cursor: default;
display: inline;
margin-right: 0.1em;
padding: 0.2em 0.3em 0.2em 0.3em;
position: relative;
color:white;}
.mcBotoSel a {
background: none !important;
color:white !important;
cursor: default;
font-size: 90%;
font-weight: bold;
padding: 0 !important;
text-decoration: none !important;}
.mcContingut {
background-color: #f8f8ff;
border: 0.2em solid #9070c0; /* 2 */
border-color: #9070c0 #7050a0 #7050a0 #9070c0 ; /* 2 1 1 2 */
-moz-border-radius: 0em .5em .5em 0em;
border-radius: 0em .5em .5em 0em;
padding: 1em;
position: static; /* Si hi posem relative falla amb MSIE */}
.mcPestanya {
background-color: #f8f8ff;
border-color: #7050a0 #b090e0 #b090e0 #7050a0; /* 1 3 3 1 */ width: 100%;
}
/* Configuració del Verd 1;60b030 2;75c045 3;90d060 4;a5e085 5;c0f090 */
.mcVerd .mcBoto {
background-color: #a5e085; /* 4 */
border-color: #c0f090 #90d060 #75c045 #c0f090; /* 5 3 2 5 */}
.mcVerd .mcBoto a,
.mcVerd .mcBoto strong {
color:#60b030 !important; /* 1 */
font-size:90%}
.mcVerd .mcBoto a:hover,
.mcVerd .mcBoto strong:hover {
color: black !important;
text-decoration: underline;}
.mcVerd .mcBotoSel {
background-color: #75c045; /* 2 */
border-color: #90d060 #60b030 #75c045 #90d060; /* 3 1 2 3 */}
.mcVerd .mcContingut {
background-color: #f5fffa;
border-color: #75c045 #60b030 #60b030 #75c045 ; /* 2 1 1 2 */}
.mcVerd .mcPestanya {
background-color: #f5fffa;
border-color: #60b030 #90d060 #90d060 #60b030; /* 1 3 3 1 */}
/* Configuració del Vermell 1;CC0000 2;FF0000 3;FF8888 4;FFAAAA 5;FFCCCC */
.mcVermell .mcBoto {
background-color: #FFAAAA; /* 4 */
border-color: #FFCCCC #FF8888 #FF0000 #FFCCCC; /* 5 3 2 5 */}
.mcVermell .mcBoto a,
.mcVermell .mcBoto strong {
color:#CC0000 !important; /* 1 */
font-size:90%}
.mcVermell .mcBoto a:hover
.mcVermell .mcBoto strong:hover {
color: black !important;
text-decoration: underline;}
.mcVermell .mcBotoSel {
background-color: #FF0000; /* 2 */
border-color: #FF8888 #CC0000 #FF0000 #FF8888; /* 3 1 2 3 */}
.mcVermell .mcContingut {
background-color: #fffafa;
border-color: #FF0000 #CC0000 #CC0000 #FF0000; /* 2 1 1 2 */}
.mcVermell .mcPestanya {
background-color: #fffafa;
border-color: #CC0000 #FF0000 #FF0000 #CC0000; /* 1 3 3 1 */}
/* Configuració del Blau 1;3379de 2;5b8dd6 3;88abde 4;a7c1e6 5;c8d6e9 */
.mcBlau .mcBoto {
background-color: #a7c1e6; /* 4 */
border-color: #c8d6e9 #88abde #5b8dd6 #c8d6e9; /* 5 3 2 5 */}
.mcBlau .mcBoto a,
.mcBlau .mcBoto strong {
color:#3379de !important; /* 1 */
font-size:90%}
.mcBlau .mcBoto a:hover
.mcBlau .mcBoto strong:hover {
color: black !important;
text-decoration: underline;}
.mcBlau .mcBotoSel {
background-color: #5b8dd6; /* 2 */
border-color: #88abde #3379de #5b8dd6 #88abde; /* 3 1 2 3 */}
.mcBlau .mcContingut {
background-color: #f0f8ff;
border-color: #5b8dd6 #3379de #3379de #5b8dd6; /* 2 1 1 2 */}
.mcBlau .mcPestanya {
background-color: #f0f8ff;
border-color: #3379de #88abde #88abde #3379de; /* 1 3 3 1 */}
/* Configuració del Groc 1;ffd813 2;ffe147 3;ffe977 4;fff1a4 5;fef4bc */
.mcGroc .mcBoto {
background-color: #fff1a4; /* 4 */
border-color: #fef4bc #ffe977 #ffe147 #fef4bc; /* 5 3 2 5 */}
.mcGroc .mcBoto a,
.mcGroc .mcBoto strong {
color:#ffd813 !important; /* 1 */
font-size:90%}
.mcGroc .mcBoto a:hover
.mcGroc .mcBoto strong:hover {
color: black !important;
text-decoration: underline;}
.mcGroc .mcBotoSel {
background-color: #ffe147; /* 2 */
border-color: #ffe977 #ffd813 #ffe147 #ffe977; /* 3 1 2 3 */}
.mcGroc .mcContingut {
background-color: #fffce8;
border-color: #ffe147 #ffd813 #ffd813 #ffe147; /* 2 1 1 2 */}
.mcGroc .mcPestanya {
background-color: #fffce8;
border-color: #ffd813 #88abde #88abde #ffd813; /* 1 3 3 1 */}
/* Configuració del Taronja 1;ff820e 2;ff9d42 3;ffac5d 4;ffbd7f 5;ffd0a4 6;ffeedd */
.mcTaronja .mcBoto {
background-color: #ffbd7f; /* 4 */
border-color: #ffd0a4 #ffac5d #ff9d42 #ffd0a4; /* 5 3 2 5 */}
.mcTaronja .mcBoto a,
.mcTaronja .mcBoto strong {
color:#ff820e !important; /* 1 */
font-size:90%}
.mcTaronja .mcBoto a:hover
.mcTaronja .mcBoto strong:hover {
color: black !important;
text-decoration: underline;}
.mcTaronja .mcBotoSel {
background-color: #ff9d42; /* 2 */
border-color: #ffac5d #ff820e #ff9d42 #ffac5d; /* 3 1 2 3 */}
.mcTaronja .mcContingut {
background-color: #ffeedd; /* 6 */
border-color: #ff9d42 #ff820e #ff820e #ff9d42; /* 2 1 1 2 */}
.mcTaronja .mcPestanya {
background-color: #ffeedd; /* 6 */
border-color: #ff820e #ffac5d #ffac5d #ff820e; /* 1 3 3 1 */}
/* Final d'estils de la Metacaixa */
/*HERE FINISHES "METABOX" COLOUR-SCHEMES*/
/* Mida petita per a les referències i colorejat de la nota clicada, */
/* els números de les cites ja llegides amb un color més blanquejat */
/* entre d'altres propietats per a fer la lectura més normal. */
/*
.reference, .exposant {
vertical-align: text-top;
position: relative;
}
*/
sup.reference {
font-weight: lighter;
word-spacing: 0em;
font-size: 0.75em;
margin-left:0em;
margin-right:0em;
/* top: -0.5em;*/
}
sup.reference a {
color: #777;
}
sup.reference a:visited {
color: #777;
}
sup.reference a:active {
color: #777;
}
sup.reference a:hover {
color: #002BB8;
font-style: normal;
text-decoration: none;
}
ol.references,
div.reflist,
div.refbegin {
font-size: 90%; /* Default font-size */
margin-bottom: 0.5em;
}
div.refbegin-100 {
font-size: 100%; /* Option for normal fontsize in {{refbegin}} */
}
div.reflist ol.references {
font-size: 100%; /* Reset font-size when nested in div.reflist */
list-style-type: inherit; /* Enable custom list style types */
}
/* Ressaltar referència clicada en blau */
ol.references > li:target,
sup.reference:target,
span.citation:target {
background-color: #DEF;
}
/* fi personalització referències */
/* Amaga l'enllaç cap a [[Especial:Upload]], canviat per un altre enllaç a Common.js */
#t-upload {display:none}
/* Default skin for navigation boxes */
table.navbox { /* Navbox container style */
border: 1px solid #aaa;
width: 100%;
margin: auto;
margin-top: 10px;
clear: both;
font-size: 88%;
text-align: center;
padding: 1px;
}
table.navbox + table.navbox { /* Single pixel border between adjacent navboxes */
margin-top: -1px; /* (doesn't work for IE6, but that's okay) */
}
.navbox-title,
.navbox-abovebelow,
table.navbox th {
text-align: center; /* Title and above/below styles */
padding-left: 1em;
padding-right: 1em;
}
.navbox-group { /* Group style */
white-space: nowrap;
text-align: right;
font-weight: bold;
padding-left: 1em;
padding-right: 1em;
}
.navbox, .navbox-subgroup {
background: #fdfdfd; /* Background color */
}
.navbox-list {
border-color: #fdfdfd; /* Must match background color */
}
.navbox-title,
table.navbox th {
background: #ccccff; /* Level 1 color */
}
.navbox-abovebelow,
.navbox-group,
.navbox-subgroup .navbox-title {
background: #ddddff; /* Level 2 color */
}
.navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow {
background: #e6e6ff; /* Level 3 color */
}
.navbox-even {
background: #f7f7f7; /* Even row striping */
}
.navbox-odd {
background: transparent; /* Odd row striping */
}
.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. */
@media print {
.navbox {
display: none;
}
}
/*CÀRREGA D'IMATGES
/* gràfics transparents per les capçaleres d'infotaules */
.capçalera.mapa {background: url("//upload.wikimedia.org/wikipedia/commons/7/7a/Picto_infobox_map.png") no-repeat top right;}
#Cerca { background: url(//upload.wikimedia.org/wikipedia/en/a/ae/MP-magnifying-glass.png) no-repeat top right; }
#Llibre { background-image: url(//upload.wikimedia.org/wikipedia/en/7/7e/MP-open-book.png); }
/* Final de CÀRREGA D'IMATGES
/* Fons logo Viquipèdia */
.fonslogo {
background: url("//upload.wikimedia.org/wikipedia/commons/1/10/Wikipedia-logo-v2-200px-transparent.png");
background-repeat: no-repeat;
}
/* Metacaixes d'avís. Copiat de la versió anglesa. */
th.mbox-text, td.mbox-text { /* The message body cell(s) */
border: none;
padding: 0.25em 0.9em; /* 0.9em left/right */
width: 100%; /* Make all mboxes the same width regardless of text length */
}
td.mbox-image { /* The left image cell */
border: none;
padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */
text-align: center;
}
td.mbox-imageright { /* The right image cell */
border: none;
padding: 2px 0.9em 2px 0; /* 0px left, 0.9em right */
text-align: center;
}
td.mbox-empty-cell { /* An empty narrow cell */
border: none;
padding: 0px;
width: 1px;
}
/* Article message box styles */
table.ambox {
margin: 0px 10%; /* 10% = Will not overlap with other elements */
border: 1px solid #aaa;
border-left: 10px solid #1e90ff; /* Default "notice" blue */
background: #fbfbfb;
}
table.ambox + table.ambox { /* Single border between stacked boxes. */
margin-top: -1px;
}
.ambox th.mbox-text,
.ambox td.mbox-text { /* The message body cell(s) */
padding: 0.25em 0.5em; /* 0.5em left/right */
}
.ambox td.mbox-image { /* The left image cell */
padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */
}
.ambox td.mbox-imageright { /* The right image cell */
padding: 2px 0.5em 2px 0; /* 0px left, 0.5em right */
}
table.ambox-notice {
border-left: 10px solid #1e90ff; /* Blue */
}
table.ambox-speedy {
border-left: 10px solid #b22222; /* Red */
background: #fee; /* Pink */
}
table.ambox-delete {
border-left: 10px solid #b22222; /* Red */
}
table.ambox-content {
border-left: 10px solid #f28500; /* Orange */
}
table.ambox-style {
border-left: 10px solid #f4c430; /* Yellow */
}
table.ambox-move {
border-left: 10px solid #9932cc; /* Purple */
}
table.ambox-protection {
border-left: 10px solid #bba; /* Gray-gold */
}
table.ambox-completar {
border-left: 10px solid #66bb77; /* Verd */
}
/* Category message box styles */
table.cmbox {
margin: 3px 10%;
border-collapse: collapse;
border: 1px solid #aaa;
background: #DFE8FF; /* Default "notice" blue */
}
table.cmbox-notice {
background: #D8E8FF; /* Blue */
}
table.cmbox-speedy {
margin-top: 4px;
margin-bottom: 4px;
border: 4px solid #b22222; /* Red */
background: #FFDBDB; /* Pink */
}
table.cmbox-delete {
background: #FFDBDB; /* Red */
}
table.cmbox-content {
background: #FFE7CE; /* Orange */
}
table.cmbox-style {
background: #FFF9DB; /* Yellow */
}
table.cmbox-move {
background: #E4D8FF; /* Purple */
}
table.cmbox-protection {
background: #EFEFE1; /* Gray-gold */
}
/* Other pages message box styles */
table.ombox {
margin: 4px 10%;
border-collapse: collapse;
border: 1px solid #aaa; /* Default "notice" gray */
background: #f9f9f9;
}
table.ombox-notice {
border: 1px solid #aaa; /* Gray */
}
table.ombox-speedy {
border: 2px solid #b22222; /* Red */
background: #fee; /* Pink */
}
table.ombox-delete {
border: 2px solid #b22222; /* Red */
}
table.ombox-content {
border: 1px solid #f28500; /* Orange */
}
table.ombox-style {
border: 1px solid #f4c430; /* Yellow */
}
table.ombox-move {
border: 1px solid #9932cc; /* Purple */
}
table.ombox-protection {
border: 2px solid #bba; /* Gray-gold */
}
/* Talk page message box styles */
table.tmbox {
margin: 4px 10%;
border-collapse: collapse;
border: 1px solid #c0c090; /* Default "notice" gray-brown */
background: #f8eaba;
}
table.tmbox-speedy {
border: 2px solid #b22222; /* Red */
background: #fee; /* Pink */
}
table.tmbox-delete {
border: 2px solid #b22222; /* Red */
}
table.tmbox-content {
border: 2px solid #f28500; /* Orange */
}
table.tmbox-style {
border: 2px solid #f4c430; /* Yellow */
}
table.tmbox-move {
border: 2px solid #9932cc; /* Purple */
}
table.tmbox-protection,
table.tmbox-notice {
border: 1px solid #c0c090; /* Gray-brown */
}
/* Footer and header message box styles */
table.fmbox {
clear: both;
margin: 0.2em 0;
width: 100%;
border: 1px solid #aaa;
background: #f9f9f9; /* Default "system" gray */
}
table.fmbox-system {
background: #f9f9f9;
}
table.fmbox-warning {
border: 1px solid #bb7070; /* Dark pink */
background: #ffdbdb; /* Pink */
}
table.fmbox-editnotice {
background: transparent;
}
/* Redireccions en cursiva a Especial:Allpages, llista de seguiment i categories */
.allpagesredirect a, .watchlistredir a, .redirect-in-category {
font-style: italic;
}
/* Limitació dels nivells d'encapçalaments mostrats a la taula de continguts
per exemple, <div class="toclimit-3">, mostra només el ==primer== i ===segon=== nivell.
Copiat de l'anglesa. */
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
display: none;
}
/* Infobox template style */
.infobox {
border: 1px solid #aaa;
background-color: #f9f9f9;
color: black;
margin: 0.5em 0 0.5em 1em;
padding: 0.2em;
float: right;
clear: right;
}
.infobox td,
.infobox th {
vertical-align: top;
}
.infobox caption {
font-size: larger;
}
.infobox.bordered {
border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
border: 1px solid #aaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
border: 0;
}
.infobox.sisterproject {
width: 20em;
font-size: 90%;
}
.infobox.standard-talk {
border: 1px solid #c0c090;
background-color: #f8eaba;
}
.infobox.standard-talk.bordered td,
.infobox.standard-talk.bordered th {
border: 1px solid #c0c090;
}
/* styles for bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
border: 0;
border-top: 1px solid #aaa;
border-right: 1px solid #aaa;
}
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
border: 0;
border-right: 1px solid #aaa;
}
/* Styles for geography infoboxes, eg countries,
country subdivisions, cities, etc. */
.infobox.geography {
text-align: left;
border-collapse: collapse;
line-height: 1.2em;
font-size: 90%;
}
.infobox.geography td,
.infobox.geography th {
border-top: solid 1px #aaa;
padding: 0.4em 0.6em 0.4em 0.6em;
}
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
border-top: solid 1px #aaa;
padding: 0.4em 0.6em 0.2em 0.6em;
}
.infobox.geography .mergedrow td,
.infobox.geography .mergedrow th {
border: 0;
padding: 0 0.6em 0.2em 0.6em;
}
.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow th {
border-top: 0;
border-bottom: solid 1px #aaa;
padding: 0 0.6em 0.4em 0.6em;
}
.infobox.geography .maptable td,
.infobox.geography .maptable th {
border: 0;
padding: 0;
}
/* Patch temporaire pour bug de rendu des liens externes hors des articles */
/* copiat de fr:MediaWiki:Common.css Version du 20 juin 2009 à 15:29 */
#bodyContent a.external {
padding:0 13px 0 0;
}
/* Estil de la portada */
body.page-Portada #ca-delete {
display: none !important;
}
body.page-Portada #mp-topbanner {
clear: both;
}
/* Caixes desplegables */
div.BoxenVerschmelzen,
div.NavFrame,
div.Fullejador {
margin: 0px;
padding: 2px;
border: 1px solid #aaaaaa;
text-align: center;
border-collapse: collapse;
font-size: 95%;
}
div.BoxenVerschmelzen div.NavFrame {
border-style: none;
border-style: hidden;
}
div.Fullejador + div.Fullejador,
div.NavFrame + div.NavFrame {
border-top-style: none;
border-top-style: hidden;
}
div.NavPic,
div.ImatgeFullejador {
background-color: #ffffff;
margin: 0px;
padding: 2px;
float: left;
}
div.NavFrame div.NavHead,
div.Fullejador div.EncapFullejador {
height: 1.6em;
font-weight: bold;
background-color: #efefef;
}
div.Fullejador p,
div.NavFrame p {
font-size: 100%;
}
div.Fullejador div.ContingutFullejador,
div.NavFrame div.NavContent {
font-size: 100%;
}
div.Fullejador div.ContingutFullejador p,
div.NavFrame div.NavContent p {
font-size: 100%;
}
div.FiFullejador,
div.NavEnd {
margin: 0px;
padding: 0px;
line-height: 1px;
clear: both;
}
.ActivaFullejador,
.NavToggle {
font-size: x-small;
float:right;
}
/* Lletra petita per a les categories ocultes
el mateix estil que a Commons
*/
#mw-hidden-catlinks { font-size: 87% !important; }
/* class hiddenStructure is defunct. See [[en:Wikipedia:hiddenStructure]] */
.hiddenStructure {
display: inline ! important;
color: #f00;
background-color: #0f0;
}
/* Reduir l'alçada de línia per <sup> i <sub>
https://en.wikipedia.org/w/index.php?title=MediaWiki:Common.css&oldid=461266293
*/
sup, sub {
line-height: 1em;
}
/* Anuncis amb format full */
/* Copiat de [[foundation:MediaWiki:Common.css]] */
#bodyContent .letterhead {
background-image:url('//upload.wikimedia.org/wikipedia/commons/e/e0/Tan-page-corner.png');
background-repeat:no-repeat;
padding: 2em;
background-color: #faf9f2;
}
/* Estil de llistes horitzontals amb un separador */
/* Copiat de https://en.wikipedia.org/w/index.php?title=MediaWiki:Common.css&oldid=526601645 */
.skin-monobook .hlist dl,
.skin-modern .hlist dl,
.skin-vector .hlist dl {
line-height: 1.5em;
}
.hlist dl,
.hlist ol,
.hlist ul {
margin: 0;
padding: 0;
}
/* Display list items inline and make them nowrap */
.hlist dd,
.hlist dt,
.hlist li {
margin: 0;
display: inline;
white-space: nowrap;
}
/* Display nested lists inline and allow them to wrap */
.hlist dl dl, .hlist dl ol, .hlist dl ul,
.hlist ol dl, .hlist ol ol, .hlist ol ul,
.hlist ul dl, .hlist ul ol, .hlist ul ul {
display: inline;
white-space: normal;
}
/* Generate interpuncts */
.hlist dt:after {
content: ":";
}
.hlist dd:after,
.hlist li:after {
content: " ·";
font-weight: bold;
}
.hlist dd:last-child:after,
.hlist dt:last-child:after,
.hlist li:last-child:after {
content: none;
}
/* For IE8 */
.hlist dd.hlist-last-child:after,
.hlist dt.hlist-last-child:after,
.hlist li.hlist-last-child:after {
content: none;
}
/* Add parentheses around nested lists */
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,
.hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before,
.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
content: "(";
font-weight: normal;
}
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after,
.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
content: ")";
font-weight: normal;
}
/* For IE8 */
.hlist dd dd.hlist-last-child:after, .hlist dd dt.hlist-last-child:after, .hlist dd li.hlist-last-child:after,
.hlist dt dd.hlist-last-child:after, .hlist dt dt.hlist-last-child:after, .hlist dt li.hlist-last-child:after,
.hlist li dd.hlist-last-child:after, .hlist li dt.hlist-last-child:after, .hlist li li.hlist-last-child:after {
content: ")";
font-weight: normal;
}
/* Put numbers in front of ordered list items */
.hlist.hnum ol {
counter-reset: list-item;
}
.hlist.hnum ol > li {
counter-increment: list-item;
}
.hlist.hnum ol > li:before {
content: counter(list-item) " ";
}
.hlist.hnum dd ol > li:first-child:before,
.hlist.hnum dt ol > li:first-child:before,
.hlist.hnum li ol > li:first-child:before {
content: "(" counter(list-item) " ";
}
/* Amaga el bàner per a mòbils en la interfície normal */
/* Instruccions a Commons:Wiki Loves Monuments 2012/Mobile banner */
#mf-wlm-banner { display: none; }
/* Amaga coses pensades per a usuaris amb permisos especials. Es poden mostrar de nou s
[[MediaWiki:Group-sysop.css]] i [[MediaWiki:Group-accountcreator.css]]. */
.sysop-show, .accountcreator-show {
display: none;
}
/* Mostra una caixa babel simple sense float o format, per personalitzar pàgines d'usuari */
/* Copiat de https://meta.wikimedia.org/w/index.php?title=MediaWiki:Common.css&oldid=4335942 */
/* Pendent de [[bugzilla:31309]] */
.babel-plain table.mw-babel-wrapper {
float:none;
clear:none;
margin:0;
border-width:0;
}
.babel-plain div.mw-babel-box {
margin:0;
}
.babel-plain .mw-babel-header,
.babel-plain .mw-babel-footer {
display:none;
}
/* Documentació de plantilles */
.template-documentation {
clear: both;
margin: 1em 0 0 0;
border: 1px solid #aaa;
background-color: #ecfcf4;
padding: 1em;
}
/*Ticker, [[plantilla:ticker]]*/
/*Copiat de https://en.wikinews.org/w/index.php?title=MediaWiki:Common.css&oldid=1308039*/
ul.actualTicker li {list-style-type:none; list-style-image:none;}/*mostly for IE*/
ul.actualTicker li {display:inline;}
ul.actualTicker span.tickerIntroduction {font-weight:bold;padding-right:0.5em;}
div.isATicker, div#singleTickerForPage {display:none;}
/* Fix so <syntaxhighlight> tags and .css and .js pages get normal text size.
[[Bugzilla:26204]]. See also [[Wikipedia:Typography#The monospace 'bug']] */
div.mw-geshi div,
div.mw-geshi div pre,
span.mw-geshi,
pre.source-css,
pre.source-javascript,
pre.source-lua {
font-family: monospace, Courier !important;
}
/* ==========================================================================
Versió mòbil — ajustos per a MobileFrontend + MinervaNeue (19/08/2026)
Aquestes regles només s'apliquen per sota de 720 px d'amplada. La pell
d'escriptori (Vector 2022) declara <meta name="viewport" content="width=1120">,
de manera que un telèfon que demani la «versió d'escriptori» mai no baixa
d'aquell ample i no se li activa res d'aquí.
Van en aquest full i no a MediaWiki:Mobile.css a posta: amb
$wgMFCustomSiteModules = false (el valor per defecte de l'extensió),
MobileFrontend continua carregant Common.css a la vista mòbil i ignora
Mobile.css. El contingut del bolcat de 2013 depèn molt d'aquest full
(.navbox, .ambox, .amaga, .reference, .mc*...), així que no interessa
canviar aquell paràmetre.
========================================================================== */
@media all and ( max-width: 720px ) {
/* Les infotaules del bolcat de 2013 no porten cap classe: són un
<div style="float: right; ..."> amb una taula a dins. En una sola
columna flotar no té sentit, i com que la taula interior porta
amplades en píxels, se'n surten de la pantalla. */
.content div[style*="float: right"],
.content div[style*="float:right"],
.content div[style*="float: left"],
.content div[style*="float:left"] {
float: none !important;
width: auto !important;
max-width: 100% !important;
margin: 0 0 1em 0 !important;
}
/* Miniatures i galeries d'abans de <figure>: Minerva només coneix el
marcatge nou i aquestes es queden amb l'amplada clavada. */
.content div.thumb,
.content div.thumbinner,
.content div.gallerybox,
.content div.gallerybox > div {
width: auto !important;
max-width: 100% !important;
}
.content div.thumbinner img,
.content div.gallerybox img {
max-width: 100%;
height: auto;
}
/* Imatges clicables (ImageMap): les coordenades de les zones actives
depenen de la mida real de la imatge, o sigui que no es poden encongir.
Es deixen desplaçar en horitzontal dins del seu bloc. */
.content div.noresize {
max-width: 100%;
overflow-x: auto;
}
/* Xarxa de seguretat: cap bloc de primer nivell no pot fer la pàgina més
ampla que la pantalla. */
.content .mw-parser-output > div,
.content .mw-parser-output > table {
max-width: 100%;
}
/* El text de 2013 abusa del font-size: 90% i 85% dins de l'atribut style;
sumat als 16 px de Minerva queda petit per llegir al telèfon. */
.content {
font-size: 1.0625em;
line-height: 1.65;
}
/* Les caixes de navegació de peu de pàgina són llistes molt llargues:
queden dins de l'última secció, que al mòbil ve plegada. */
.content table.navbox {
font-size: 0.9em;
}
}