MediaWiki:Common.css
Revisión del 08:44 16 nov 2010 de Arian.Perez jc (discusión | contribuciones)
Nota: Tras guardar el archivo, debes refrescar la caché de tu navegador para ver los cambios:
- Mozilla / Firefox / Safari: pulsa May. mientras haces click en el boton Reload, o pulsa si no Ctrl-F5 o Ctrl-R (Command-R en un Macintosh)
- Konqueror: Haz click en el botón Reload o pulsa F5;
- Opera: Limpia la caché en Herramientas → Preferencias;
- Internet Explorer: pulsa Ctrl mientras haces click en Refresh, o pulsa Ctrl-F5.
/* Los estilos CSS definidos aquí aplicarán a todas las pieles (skins) */
/* Estilos de las Tablas en General */
.tableGeneral
{
width: 100%;
margin-top: 1em;
-moz-background-clip:
-moz-initial; -moz-background-origin:
-moz-initial; -moz-background-inline-policy:
-moz-initial; vertical-align: top;
color: rgb(0, 0, 0);
-moz-border-radius-topleft: 4px;
-moz-border-radius-topright: 4px;
-moz-border-radius-bottomright: 4px;
-moz-border-radius-bottomleft: 4px;
}
/*** Cajas de aviso en discusión que son blancas y con
* una cinta de color a la izquierda */
table.ambox {
margin: 0 10%;
border-collapse: collapse;
background-color: #fbfbfb;
border: 1px solid #aaa;
border-left: 10px solid #1e90ff; /* Default "notice" blue */
}
table.ambox th.ambox-text, table.ambox td.ambox-text
padding: 0.25em 0.5em;
width: 100%;
}
table.ambox td.ambox-image {
padding: 2px 0px 2px 0.5em;
text-align: center;
}
table.ambox td.ambox-imageright {
padding: 2px 4px 2px 0px;
text-align: center;
}
table.ambox-notice {border-left: 10px solid #1e90ff} /* Azul */
table.ambox-delete, table.ambox-serious {border-left: 10px solid #b22222} /* Rojo */
table.ambox-content {border-left: 10px solid #f28500} /* Naranja */
table.ambox-style {border-left: 10px solid #f4c430} /* Amarillo */
table.ambox-merge {border-left: 10px solid #9932cc} /* Morado */
table.ambox-growth {border-left: 10px solid #228b22} /* Verde */
table.ambox-protection {border-left: 10px solid #bba} /* Gris */
table.ambox.ambox-mini { /* Variante de ventana flotante */
float: right;
clear: right;
margin: 0 0 0 1em;
width: 25%;
}
.portada_rw
{
width:100%;
margin-top: 0px;
}
.portada_rw .topTitleRed
{
height:25px;
color:#ffffff;
font-weight:bold;
background:#294f98;
border:1px solid #abd1fe;
padding-top:5px;
width: 100%;
margin-top: 1em;
-moz-background-clip:
-moz-initial; -moz-background-origin:
-moz-initial; -moz-background-inline-policy:
-moz-initial; vertical-align: top;
-moz-border-radius-topleft: 4px;
-moz-border-radius-topright: 4px;
-moz-border-radius-bottomright: 0px;
-moz-border-radius-bottomleft: 0px;
}
.portada_rw .bottomContent
{
margin-left:2px;
width:96%;
-moz-border-radius-bottomright: 4px;
-moz-border-radius-bottomleft: 4px;
color:#000000;
background:#d9eafe;
border:1px solid #acd1fe;
border-top:0px;
padding-left:5px;
margin-top:-5px;
}
.portada_rw .bottomContentRed
{
margin-left:2px;
width:96%;
-moz-border-radius-bottomright: 4px;
-moz-border-radius-bottomleft: 4px;
color:#c12306;
background:#d9eafe;
border:1px solid #acd1fe;
border-top:0px;
padding-left:5px;
margin-top:-5px;
}
.Main_topTitleRed
{
height:25px;
color:#ffffff;
font-weight:bold;
background:#294f98;
border:1px solid #abd1fe;
padding-top:0px;
width: 100%;
margin-top: 1em;
-moz-background-clip:
-moz-initial; -moz-background-origin:
-moz-initial; -moz-background-inline-policy:
-moz-initial; vertical-align: top;
-moz-border-radius-topleft: 4px;
-moz-border-radius-topright: 4px;
-moz-border-radius-bottomright: 0px;
-moz-border-radius-bottomleft: 0px;
}
.Main_bottomContent
{
margin-left:2px;
width:97%;
-moz-border-radius-bottomright: 4px;
-moz-border-radius-bottomleft: 4px;
color:#020415;
background:#ffffff;
border:1px solid #d0e5f8;
border-top:0px;
padding-left:5px;
margin-top:-5px;
}
/* CSS para infoboxes */
.infobox {
border: 1px solid #aaa;
background-color: #f9f9f9;
color: #000;
margin-bottom: 0.5em;
margin-left: 1em;
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 .5em 1em;
padding: .4em;
clear: right;
float: right;
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 especificos 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.sisterproject {
width: 20em;
font-size: 90%;
}
@media print {
.infobox.sisterproject {
display: none;
}
}
.infobox.geography,
.infobox_v2.geography {
text-align: left;
border-collapse: collapse;
line-height: 1.2em;
font-size: 90%;
border: solid 1px #B4BBC8;
}
.infobox.geography td,
.infobox.geography th,
.infobox_v2.geography td,
.infobox_v2.geography th {
border-top: solid 1px #B4BBC8;
padding: .4em .6em;
}
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th,
.infobox_v2.geography .mergedtoprow td,
.infobox_v2.geography .mergedtoprow th {
border-top: solid 1px #B4BBC8;
padding: .4em .6em .2em .6em;
}
.infobox.geography .mergedrow td,
.infobox.geography .mergedrow th,
.infobox_v2.geography .mergedrow td,
.infobox_v2.geography .mergedrow td {
border: 0;
padding: 0 .6em .2em .6em;
}
.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow th,
.infobox_v2.geography .mergedbottomrow td,
.infobox_v2.geography .mergedbottomrow th {
border-top: 0;
border-bottom: solid 1px #B4BBC8;
padding: 0 .6em .4em .6em;
}
.infobox.geography .maptable td,
.infobox.geography .maptable th,
.infobox_v2.geography .maptable td,
.infobox_v2.geography .maptable th {
border: 0;
padding: 0;
}
/* Infobox sin uso conocido, deberia ser borrado al comprobarse que ya no se usa */
.InfoDerecha {
clear: right;
float: right;
margin: 0 0 1em 1em;
}
/* CSS relacionado con el uso de coordenadas
To display coordinates using the notation in the source code, write this in your User:Username/monobook.css:
.geo-default {display: inline} .geo-nondefault {display: none}
.geo-dec {display: inline} .geo-dms {display: inline}
To display coordinates using decimal notation, write this in your User:Username/monobook.css:
.geo-default {display: inline} .geo-nondefault {display: inline}
.geo-dec {display: inline} .geo-dms {display: none}
To display coordinates using DMS notation, write this in your User:Username/monobook.css:
.geo-default {display: inline} .geo-nondefault {display: inline}
.geo-dec {display: none} .geo-dms {display: inline}
To display coordinates in both decimal and DMS notation, write this in your User:Username/monobook.css:
.geo-default {display: inline} .geo-nondefault {display: inline}
.geo-dec {display: inline} .geo-dms {display: inline}
.geo-multi-punct {display: inline}
See [[Plantilla:Coor link]] for how these are used.
Note that the classes "geo", "longitude", and "latitude" are not just styles but also used by the [[Geo microformat]], so the names should not be changed.
*/
/* CSS predeterminado, puede modificarse usando las reglas de arriba */
.geo-default, .geo-dms, .geo-dec { display: inline; }
.geo-nondefault, .geo-multi-punct { display: none; }
.longitude, .latitude { white-space: nowrap; }
/* This is used for the Geo microformat, but no style is needed for now other than .geo-dec. */
.geo {}
/*******************************************************************/
/********* Estilos para diferentes funcionalidades menores *********/
/*******************************************************************/
/* Plantilla de cita */
.citado {
font-size: 90%;
background-color: #E1F2FA;
padding: 5px 10px;
}
/* TABLAS */
/* La clase wikitable ya existe en shared.css; y prettytable esta obsoleta,
cuando se reemplaze todas las llamadas a prettytable eliminar estas reglas */
table.wikitable, table.prettytable {
margin: 1em 1em 1em 1em;
padding: 0.5em;
font-size: 95%;
background-color: #f9f9f9;
border: 1px #aaa solid;
border-collapse: collapse;
}
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
border: 1px #aaa solid;
padding: 0.2em;
}
table.wikitable th,
table.prettytable th {
background-color: #f2f2f2;
text-align: center;
}
table.wikitable caption,
table.prettytable caption {
margin-left: inherit;
margin-right: inherit;
}
/* Llamadas al pie: Quitar corchetes */
.corchete-llamada {display: none}