MediaWiki:Common.css
Nota:
- Mozilla: Pulsa el botón Recargar (o ctrl-r)
- Internet Explorer / Opera: ctrl-f5, *Safari: cmd-r,
- Konqueror ctrl-r.
/* Los estilos CSS definidos aquí aplicarán a todas las pieles (skins) */
/* Los estilos CSS colocados aquí se aplicarán para todos los usuarios que usen la piel Vector.
copiado el 24-2-2011 por davidmartindel por que nunca carga el vector.css
*/
#siteSub {
display: inline;
font-size: 120%;
font-weight: normal;
}
#editpage-copywarn { display: none;}
/* Don't display some stuff on the main page */
body.page-Portada #deleteconfirm,
body.page-Portada #t-cite,
body.page-Portada #footer-info-lastmod,
body.page-Portada #siteSub,
body.page-Portada #contentSub,
body.page-Portada .firstHeading {
display: none !important;
}
/*InterProject */
.interProject {
display:none;
clear: both;
border-top: 2px dotted #AAAAAA;
margin-top: 2em;
}
/* [[Plantilla:No firmado]], más pequeño */
span.nofirmado {font-size:smaller}
/* Evitar la aparición del subrayado al pasar sobre la imagen cuande se usa {{tl|click}} */
.click a:active, .click a:hover {text-decoration:none}
/* Style for "notices" */
.notice {
text-align: justify;
margin: 1em;
padding: 0.2em;
}
#disambig {
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;
}
/* Choose whether to have AD/BC dates or CE/BCE dates*/
/* First, the default : display both : See templates ADCE and BCEBC for how these are used*/
.Use_Default_Date_Convention { display: inline; }
.Use_AD_and_BC { display: none; }
.Use_BCE_and_CE { display: none; }
/* styles for geography infoboxes, e.g. countries, national subdivisions, cities, etc. */
.InfoDerecha {
clear: right;
float: right;
margin: 0 0 1em 1em;
}
.infobox.geography {
border: 1px solid #ccd2d9;
text-align: left;
border-collapse: collapse;
line-height: 1.2em;
font-size: 90%;
}
.infobox.geography td,
.infobox.geography th {
border-top: solid 1px #ccd2d9;
padding: 0.4em 0.2em 0.4em 0.8em;
}
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
border-top: solid 1px #ccd2d9;
padding: 0.4em 0.2em 0.2em 0.8em;
}
.infobox.geography .mergedrow td,
.infobox.geography .mergedrow th {
border: 0;
padding: 0 0.2em 0.2em 0.8em;
}
.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow th {
border-top: 0;
border-bottom: solid 1px #ccd2d9;
padding: 0 0.2em 0.4em 0.8em;
}
.infobox.geography .maptable td,
.infobox.geography .maptable th {
border: 0;
padding: 0 0 0 0;
}
/* Merge template style */
.messagebox {
border: 1px solid #aaaaaa;
background-color: #f9f9f9;
width: 85%;
margin: 0 auto 1em auto;
padding: .2em;
text-align: justify;
font-size: 100%;
}
.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;
text-align: center;
}
.messagebox.warning {
border: 1px solid #fcc;
background-color: #fee;
text-align: center;
font-size: 100%;
}
/* Infobox template style */
.infobox {
border: 1px solid #aaaaaa;
background-color: #f9f9f9;
color: black;
margin-bottom: 0.5em;
margin-left: 1em;
padding: 0.2em;
float: right;
clear: right;
}
.infobox caption {
font-size: larger;
margin-left: inherit;
}
.infobox.bordered {
border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
border: 1px solid #aaaaaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
border: 0;
}
.infobox.sisterproject {
width: 20em;
font-size: 90%;
}
/* 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: Chrysanthi Unicode, Doulos SIL, Gentium, GentiumAlt, Code2000,
TITUS Cyberbit Basic, DejaVu Sans, Bitstream Vera Sans,
Bitstream Cyberbit, Arial Unicode MS, Lucida Sans Unicode,
Hiragino Kaku Gothic Pro, Matrix Unicode;
font-family /**/:inherit;
}
.Unicode {
font-family: TITUS Cyberbit Basic, Code2000, Doulos SIL, Chrysanthi Unicode,
Bitstream Cyberbit, Bitstream CyberBase, Thryomanes,
Gentium, GentiumAlt, Visual Geez Unicode, Lucida Grande,
Arial Unicode MS, Microsoft Sans Serif, Lucida Sans Unicode;
font-family /**/:inherit;
}
.polytonic {
font-family: Athena, Gentium, Palatino Linotype, Arial Unicode MS,
Lucida Sans Unicode, Lucida Grande, Code2000;
font-family /**/:inherit;
}
/** Estilos para tablas.
** EXPERIMENTAL **
la idea es, si se quiere que la primera columna de la tabla esté alineada
a la derecha, la segunda centrada y la tercera a la izquierda, usar
{| class="col1der col2cen col3izq"
en vez de repetir "style='text-align:right'", etc, en '''cada''' celda
**/
table.col1der TD:first-child { text-align:right; }
table.col1izq TD:first-child { text-align:left; }
table.col1cen TD:first-child { text-align:center; }
table.col2der TD:first-child + TD { text-align:right; }
table.col2izq TD:first-child + TD { text-align:left; }
table.col2cen TD:first-child + TD { text-align:center; }
table.col3der TD:first-child + TD + TD { text-align:right; }
table.col3izq TD:first-child + TD + TD { text-align:left; }
table.col3cen TD:first-child + TD + TD { text-align:center; }
table.col4der TD:first-child + TD + TD + TD { text-align:right; }
table.col4izq TD:first-child + TD + TD + TD { text-align:left; }
table.col4cen TD:first-child + TD + TD + TD { text-align:center; }
table.col5der TD:first-child + TD + TD + TD + TD { text-align:right; }
table.col5izq TD:first-child + TD + TD + TD + TD { text-align:left; }
table.col5cen TD:first-child + TD + TD + TD + TD { text-align:center; }
/* hiddenStructure importado de w:en para permitir esconder automáticamente
los parámetros vacíos en tablas */
.hiddenStructure {
display: none;
speak: none;
}
/* Put a checker background at the image description page only visible
if the image has transparent background */
#file img {
background: url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png)
repeat;
}
form#upload,.UploadFormShowed {display: none;}
/* Estilo para controlar el tamaño del texto citado.
Quien quiera cambiar el suyo no tiene más que editar su propia monobook.css */
.citado {
font-size: 90%;
padding: 0.1em;
}
/* Disponibilidad para tareas de mantenimiento/Tablas por día/semana */
table.user-availability {
text-align:center;
border:1px solid #333366;
}
table.user-availability th {
font-size:110%
}
table.user-availability .toprow td+td {
width:30px;
height:10px;
background-color:#eeeeee;
border:1px solid #aaaaaa
}
table.user-availability .off {
font-size:80%;
border:1px solid #aaaaaa;
background-color:#ffffff;
}
table.user-availability .onn {
font-size:80%;
border:1px solid #aaaaaa;
background-color:#ccffcc;
}
table.user-availability .wrk {
font-size:80%;
border:1px solid #aaaaaa;
background-color:#ccccff;
}
table.user-availability .cll {
font-size:80%;
border:1px solid #aaaaaa;
background-color:#ffffdd;
}
table.user-availability .key {
font-size:90%;
border-top:1px dashed black;
text-align:right
}
table.user-availability .key span {
padding:2px
}
/* Change the external link icon to an Adobe icon for all PDF files */
/* (in browsers that support these CSS selectors, like Mozilla and Opera) */
#bodyContent a[href$=".pdf"].external,
#bodyContent a[href*=".pdf?"].external,
#bodyContent a[href*=".pdf#"].external,
#bodyContent a[href$=".PDF"].external,
#bodyContent a[href*=".PDF?"].external,
#bodyContent a[href*=".PDF#"].external {
background: url(//upload.wikimedia.org/wikipedia/commons/thumb/2/23/Icons-mini-file_acrobat.gif/15px-Icons-mini-file_acrobat.gif) center right no-repeat;
padding-right: 16px;
}
/* Change the external link icon to an Adobe icon anywhere the PDFlink class */
/* is used (notably Template:PDFlink). This works in IE, unlike the above. */
span.PDFlink a {
background: url(//upload.wikimedia.org/wikipedia/commons/thumb/2/23/Icons-mini-file_acrobat.gif/15px-Icons-mini-file_acrobat.gif) center right no-repeat !important;
padding-right: 17px !important;
}
.dablink {
font-style: italic;
padding-left: 2em;
}
.dablink i {
font-style: normal;
/* make the list of references look smaller */
ol.references {
font-size: 100%;
}
.references-small { font-size: 90%;}
.references-2column {
font-size: 90%;
}
/*===== Highlight clicked reference in blue to help navigation =====*/
ol.references > li:target {
background-color: #DEF;
}
sup.reference:target {
background-color: #DEF;
}
/*** Llamadas al pie:
esto oculta los corchetes
(en los navegadores que entienden css)
*/
.corchete-llamada { display /**/: none; }
/*===== Ocultar para los no bibliotecarios =====*/
.para_biblios { display: none }
/*==== plegado/desplegado de plantillas =====*/
div.Boxmerge, div.NavFrame { margin: 0px; border: 1px solid #aaaaaa; border-collapse: collapse; clear:both; }
div.Boxmerge:hover, .NavFrame:hover { border:1px solid #ccccff; }
div.Boxmerge div.NavFrame { border: 0px; }
div.NavFrame + div.NavFrame { border-top: 0px; }
div.NavPic { margin: 0px; padding: 2px; float: left; }
div.NavFrame div.NavHead { padding:0.2em; background-color: #ccccff; position:relative; }
div.NavFrame div.NavHead:hover { background-color: #aaaaff; }
div.NavFrame div.NavHead .navigation { position:absolute; right:5px; cursor:pointer; }