Diferència entre les revisions de "MediaWiki:Common.css"

Sense resum d'edició
Sense resum d'edició
 
(No es mostren 16 edicions intermiges d'4 usuaris)
Llínea 1: Llínea 1:
/
/* Common CSS para todas las pieles */
 
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading,  body.page-Portada.action-view h1.firstHeading, body.page-Portada.action-submit h1.firstHeading{
display: none;
}
 
.mw-wiki-logo {
background-size: 155px;
}
 
/* Arregla problemas interlineado para <sup> y <sub> */
sup, sub {
    line-height: 1em;
}
 
/* 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") ==== */
.infobox_v2 {
    border: 1px solid #B4BBC8;
    background-color: #f9f9f9;
    color: #000;
    margin: .5em 0 .7em 1.2em;
    padding: .4em;
    clear: right;
    float: right;
    font-size: 90%;
    line-height: 1.5em;
    width: 22.5em
}
 
.infobox_v2 .cabecera {
    font-size: 140%;
    font-weight: bolder;
    height: 45px;
    line-height: 1.2em;
    text-align: center;
    vertical-align: middle
}
 
.infobox_v2 .media {
    font-weight: bolder;
    height: 35px;
    text-align: center;
    vertical-align: middle
}
 
/* Códigos para tipos específicos de infoboxes */
.infobox.bordered {
    border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
    border: 1px solid #B4BBC8;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
    border: 0;
}
 
.infobox