Diferència entre les revisions de "MediaWiki:Common.css"
Sense resum d'edició |
Sense resum d'edició |
||
| Llínea 1: | Llínea 1: | ||
/* Common CSS para todas las pieles */ | |||
/* Arregla problemas interlineado para <sup> y <sub> */ | |||
sup, sub { | |||
line-height: 1em; | |||
} | |||
/* Ocultar título, categorías y fecha de la última edición en la Portada */ | |||
/* La visualización de la fecha de última modificación puede llevar a malinterpretaciones, puesto que la portada en sí no es actualizada, sino sus plantillas auxiliares */ | |||
body.page-Wikipedia_Portada h1.firstHeading, | |||
body.page-Wikipedia_Portada h1.pagetitle, | |||
body.page-Wikipedia_Portada p.subtitle, | |||
body.page-Wikipedia_Portada #ca-unprotect, | |||
body.page-Wikipedia_Portada #ca-move, | |||
body.page-Wikipedia_Portada #ca-delete, | |||
body.page-Wikipedia_Portada #tw-BR, | |||
body.page-Wikipedia_Portada #tw-xfd, | |||
body.page-Wikipedia_Portada #catlinks, | |||
body.page-Wikipedia_Portada #footer-info-lastmod { | |||
display:none; | |||
} | |||
/* Alineación del texto justificada en la impresión (http://es.wikipedia.org?diff=60114364) */ | |||
@media print { | |||
div#bodyContent { | |||
text-align: justify | |||
} | |||
} | |||
/* Arreglando tamaño de fuente en etiquetas <syntaxhighlight> (<source>) y páginas .css y .js. | |||
[[Bugzilla:26204]] */ | |||
div.mw-geshi div, | |||
div.mw-geshi div pre, | |||
span.mw-geshi, | |||
pre.source-css, | |||
pre.source-javascript { | |||
font-family: monospace, Courier !important; | |||
} | |||
/* Tamaño fuente de referencias */ | |||
ol.references, | |||
div.listaref, | |||
div.refcomienza { | |||
font-size: 90%; /* Default font-size */ | |||
margin-bottom: 0.5em; | |||
} | |||
div.listaref ol.references { | |||
font-size: 100%; /* Reset font-size when nested in div.listaref */ | |||
list-style-type: inherit; /* Enable custom list style types */ | |||
} | |||
/* Colorea de azul al clickear referencias */ | |||
ol.references > li:target, | |||
sup.reference:target, | |||
span.citation:target, cite:target { | |||
background-color: #DEF; | |||
} | |||
/* Las referencias ahora no pueden ser texto en negrita o italico */ | |||
sup.reference { | |||
font-weight: normal; | |||
font-style: normal; | |||
} | |||
/* Estilo para citación */ | |||
.citation { | |||
word-wrap: break-word; | |||
} | |||
/* For linked citation numbers and document IDs, where | |||
the number need not be shown on a screen or a handheld, | |||
but should be included in the printed version */ | |||
@media screen, handheld { | |||
.citation *.printonly { | |||
display: none; | |||
} | |||
} | |||
/* Llamadas al pie: Quitar corchetes */ | |||
.corchete-llamada {display: none} | |||
/* Estilo para enlaces a redirecciones desde páginas especiales */ | |||
.redirect-in-category, .allpagesredirect a { | |||
color: gray; | |||
} | |||
/* CSS para infoboxes */ | |||
.infobox { | |||
border: 1px solid #aaa; | |||
background-color: #f9f9f9; | |||
color: #000; | |||
margin-bottom: 0.7em; | |||
margin-left: 1.2em; | |||
padding: 0.2em; | |||
float: right; | |||
clear: right; | |||
} | |||
.infobox td, .infobox th, | |||
.infobox_v2 td, .infobox_v2 th { | |||
vertical-align: top; | |||
} | |||
.infobox caption { | |||
font-size: larger; | |||
margin-left: inherit; | |||
} | |||
/* ===== infoboxes V2 ("nuevas") ==== * | |||