Diferencia entre revisiones de «MediaWiki:Common.css»
Ir a la navegación
Ir a la búsqueda
m (Revertidos los cambios de UriMacías (disc.) a la última edición de Lucianinski) Etiqueta: Reversión |
Sin resumen de edición |
||
Línea 1: | Línea 1: | ||
/* | /* Common CSS para todas las pieles */ | ||
/* Arregla problemas interlineado para <sup> y <sub> */ | |||
sup, sub { | |||
line-height: 1em; | |||
} | } | ||
/* | |||
/* Margen inferior en encabezados de nivel 3 en adelante (ya presente en h2) */ | |||
.mw-body-content h3, | |||
.mw-body-content h4, | |||
.mw-body-content h5, | |||
.mw-body-content h6 { | |||
margin-bottom:.25em; | |||
} | } | ||
/* | |||
/* | |||
* Ocultar título, categorías, fecha de la última edición y posibles errores en | |||
* la Portada | |||
*/ | |||
body.page-Wikipedia_Portada .firstHeading, | |||
body.page-Wikipedia_Portada .pagetitle, | |||
body.page-Wikipedia_Portada .subtitle, | |||
body.page-Wikipedia_Portada #ca-unprotect, | |||
body.page-Wikipedia_Portada #ca-move, | |||
body.page-Wikipedia_Portada #ca-delete, | |||
body.page-Wikipedia_Portada #mytabs, | |||
body.page-Wikipedia_Portada #tw-BR, | |||
body.page-Wikipedia_Portada #tw-xfd, | |||
body.page-Wikipedia_Portada #catlinks, | |||
body.page-Wikipedia_Portada #footer-info-lastmod, | |||
body.page-Wikipedia_Portada .error { | |||
display:none; | |||
} | } | ||
/* | |||
/* | |||
* Evitar que usuarios no confirmados se salten las semiprotecciones | |||
* a través de la edición en Wikidata: [[phab:T208315]], [[phab:T207648]]. | |||
*/ | |||
.wikidata-link { | |||
display:none; | |||
} | } | ||
body.mw-editable .wikidata-link { | |||
display:inline; | |||
} | } | ||
/* | |||
* Alineación del texto justificada en la impresión | |||
* (http://es.wikipedia.org?diff=60114364) | |||
*/ | |||
@media print { | |||
#bodyContent { | |||
text-align: justify; | |||
} | |||
} | } | ||
/* | /* | ||
* Que las imágenes no se desborden de la página | |||
*/ | |||
.autoajustar { | |||
width:100%; | |||
max-width:100%; | |||
} | } | ||
.autoajustar img { | |||
width:100%; | |||
height:auto; | |||
} | } | ||
/* Tamaño fuente de referencias */ | |||
ol.references, | |||
div.listaref, | |||
.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 */ | |||
} | } | ||
/* | |||
span. | /* Colorea de azul al clickear referencias */ | ||
background-color: | |||
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 { | .citation { | ||
word-wrap: break-word; | word-wrap: break-word; | ||
} | } | ||
/* For linked citation numbers and document IDs, where the number need not be shown | |||
/* 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 { | @media screen, handheld { | ||
.citation .printonly { | .citation .printonly { | ||
display: none; | display: none; | ||
} | } | ||
} | } | ||
/* | |||
/* espacio entre llamadas a referencias */ | |||
font-size: | sup.reference { | ||
margin-right: 0.6ch; | |||
} | |||
sup.reference:not(.separada) { | |||
margin-left: -0.6ch; | |||
} | |||
/* 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 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, .infobox { | |||
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, .infobox .cabecera { | |||
font-size: 140%; | |||
font-weight: bolder; | |||
height: 45px; | |||
line-height: 1.2em; | |||
text-align: center; | |||
vertical-align: middle | |||
} | |||
.infobox_v2 .media, .infobox .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.sisterproject { | |||
width: 20em; | |||
font-size: 90%; | |||
} | } | ||
.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, | |||
padding | |||
.infobox_v2.geography .mergedrow td, | |||
.infobox_v2.geography .mergedrow th { | |||
border: 0; | |||
padding: 0 .6em .2em .6em; | |||
} | } | ||
. | |||
.infobox.geography .mergedbottomrow td, | |||
padding | |||
.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; | |||
} | } | ||
/* Gráficos transparentes de cabecera */ | |||
.cabecera.default {} | |||
/* Style for horizontal lists (separator following item). | /* Style for horizontal lists (separator following item). | ||
IE8-specific classes are assigned in [[MediaWiki:Common.js/IEFixes.js]]. | |||
@source mediawiki.org/wiki/Snippets/Horizontal_lists | @source mediawiki.org/wiki/Snippets/Horizontal_lists | ||
@revision | |||
@revision 6 (2014-05-09) | |||
@author [[User:Edokter]] | @author [[User:Edokter]] | ||
*/ | */ | ||
.hlist dl, | .hlist dl, | ||
.hlist ol, | .hlist ol, | ||
.hlist ul { | .hlist ul { | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
} | } | ||
/* Display list items inline */ | /* Display list items inline */ | ||
.hlist dd, | .hlist dd, | ||
.hlist dt, | .hlist dt, | ||
.hlist li { | .hlist li { | ||
display: inline; | display: inline; | ||
} | } | ||
/* Display nested lists inline */ | /* Display nested lists inline */ | ||
.hlist.inline, | .hlist.inline, | ||
.hlist.inline dl, | .hlist.inline dl, | ||
.hlist.inline ol, | .hlist.inline ol, | ||
.hlist.inline ul, | .hlist.inline ul, | ||
.hlist dl dl, .hlist dl ol, .hlist dl ul, | .hlist dl dl, .hlist dl ol, .hlist dl ul, | ||
.hlist ol dl, .hlist ol ol, .hlist ol ul, | .hlist ol dl, .hlist ol ol, .hlist ol ul, | ||
.hlist ul dl, .hlist ul ol, .hlist ul ul { | .hlist ul dl, .hlist ul ol, .hlist ul ul { | ||
display: inline; | display: inline; | ||
} | } | ||
/* Generate interpuncts */ | /* Generate interpuncts */ | ||
.hlist dt:after { | .hlist dt:after { | ||
content: ": "; | content: ": "; | ||
} | } | ||
.hlist dd:after, | .hlist dd:after, | ||
.hlist li:after { | .hlist li:after { | ||
content: " · "; | content: " · "; | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
.hlist dd:last-child:after, | .hlist dd:last-child:after, | ||
.hlist dt:last-child:after, | .hlist dt:last-child:after, | ||
.hlist li: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; | content: none; | ||
} | } | ||
/* Add parentheses around nested lists */ | /* Add parentheses around nested lists */ | ||
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before, | .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 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 { | .hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before { | ||
content: " ("; | content: " ("; | ||
font-weight: normal; | font-weight: normal; | ||
} | } | ||
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after, | .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 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 { | .hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after { | ||
content: ")"; | |||
content: ") "; | |||
font-weight: normal; | 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 ordinals in front of ordered list items */ | /* Put ordinals in front of ordered list items */ | ||
.hlist ol { | .hlist ol { | ||
counter-reset: listitem; | counter-reset: listitem; | ||
} | } | ||
.hlist ol > li { | .hlist ol > li { | ||
counter-increment: listitem; | counter-increment: listitem; | ||
} | } | ||
.hlist ol > li:before { | .hlist ol > li:before { | ||
content: " " counter(listitem) " | |||
content: " " counter(listitem) " "; | |||
white-space: nowrap; | |||
} | } | ||
.hlist dd ol > li:first-child:before, | .hlist dd ol > li:first-child:before, | ||
.hlist dt ol > li:first-child:before, | .hlist dt ol > li:first-child:before, | ||
.hlist li ol > li:first-child:before { | .hlist li ol > li:first-child:before { | ||
content: " (" counter(listitem) " | |||
content: " (" counter(listitem) " "; | |||
} | } | ||
/* Unbulleted lists */ | /* Unbulleted lists */ | ||
.plainlist ul { | .plainlist ul { | ||
line-height: inherit; | line-height: inherit; | ||
list-style: none none; | list-style: none none; | ||
margin: 0; | margin: 0; | ||
} | } | ||
.plainlist ul li { | .plainlist ul li { | ||
margin-bottom: | |||
margin-bottom: 3px; | |||
} | } | ||
/* Definición para imágenes y otros elementos flotantes */ | |||
.floatright { | |||
float: right; | |||
clear: right; | |||
position: relative; | |||
margin: 0.2em 0 0.8em 1.4em; | |||
} | |||
.floatleft { | |||
float: left; | |||
clear: left; | |||
position: relative; | |||
margin: 0.2em 1.4em 0.8em 0; | |||
} | |||
/* Default style for navigation boxes */ | /* Default style for navigation boxes */ | ||
.navbox { /* Navbox container style */ | .navbox { /* Navbox container style */ | ||
border: 1px solid # | border: 1px solid #aaa; | ||
width: 100%; | width: 100%; | ||
margin: auto; | |||
clear: both; | clear: both; | ||
font-size: 88%; | font-size: 88%; | ||
text-align: center; | text-align: center; | ||
padding: 1px; | padding: 1px; | ||
} | } | ||
.navbox-inner, | .navbox-inner, | ||
.navbox-subgroup { | .navbox-subgroup { | ||
width: 100%; | width: 100%; | ||
} | } | ||
.navbox-group, | .navbox-group, | ||
.navbox-title, | .navbox-title, | ||
.navbox-abovebelow { | .navbox-abovebelow { | ||
padding: 0.25em 1em; /* Title, group and above/below styles */ | padding: 0.25em 1em; /* Title, group and above/below styles */ | ||
line-height: 1.5em; | line-height: 1.5em; | ||
text-align: center; | text-align: center; | ||
} | } | ||
th.navbox-group { /* Group style */ | th.navbox-group { /* Group style */ | ||
white-space: nowrap; | white-space: nowrap; | ||
/* @noflip */ | /* @noflip */ | ||
text-align: right; | text-align: right; | ||
} | } | ||
.navbox, | .navbox, | ||
.navbox-subgroup { | .navbox-subgroup { | ||
background: #fdfdfd; /* Background color */ | background: #fdfdfd; /* Background color */ | ||
} | } | ||
.navbox-list { | .navbox-list { | ||
line-height: 1. | |||
line-height: 1.8em; | |||
border-color: #fdfdfd; /* Must match background color */ | border-color: #fdfdfd; /* Must match background color */ | ||
} | } | ||
.navbox th, | .navbox th, | ||
.navbox-title { | .navbox-title { | ||
background: #ccccff; /* Level 1 color */ | background: #ccccff; /* Level 1 color */ | ||
} | } | ||
.navbox-abovebelow, | .navbox-abovebelow, | ||
th.navbox-group, | th.navbox-group, | ||
.navbox-subgroup .navbox-title { | .navbox-subgroup .navbox-title { | ||
background: #ddddff; /* Level 2 color */ | background: #ddddff; /* Level 2 color */ | ||
} | } | ||
.navbox-subgroup .navbox-group, | .navbox-subgroup .navbox-group, | ||
.navbox-subgroup .navbox-abovebelow { | .navbox-subgroup .navbox-abovebelow { | ||
background: #e6e6ff; /* Level 3 color */ | background: #e6e6ff; /* Level 3 color */ | ||
} | } | ||
.navbox-even { | .navbox-even { | ||
background: #f7f7f7; /* Even row striping */ | background: #f7f7f7; /* Even row striping */ | ||
} | } | ||
.navbox-odd { | .navbox-odd { | ||
background: transparent; /* Odd row striping */ | background: transparent; /* Odd row striping */ | ||
} | } | ||
table.navbox + table.navbox { /* Single pixel border between adjacent navboxes */ | |||
margin-top: -1px; /* (doesn't work for IE6, but that's okay) */ | |||
} | |||
.navbox .hlist td dl, | .navbox .hlist td dl, | ||
.navbox .hlist td ol, | .navbox .hlist td ol, | ||
.navbox .hlist td ul, | .navbox .hlist td ul, | ||
.navbox td.hlist dl, | .navbox td.hlist dl, | ||
.navbox td.hlist ol, | .navbox td.hlist ol, | ||
.navbox td.hlist ul { | .navbox td.hlist ul { | ||
padding: 0.125em 0; /* Adjust hlist padding in navboxes */ | padding: 0.125em 0; /* Adjust hlist padding in navboxes */ | ||
} | |||
ol + table.navbox, | |||
ul + table.navbox { | |||
margin-top: 0.5em; /* Prevent lists from clinging to navboxes */ | |||
} | } | ||
/* Default styling for Navbar template */ | /* Default styling for Navbar template */ | ||
.navbar { | .navbar { | ||
display: inline; | display: inline; | ||
font-size: 88%; | font-size: 88%; | ||
font-weight: normal; | font-weight: normal; | ||
} | } | ||
.navbar ul { | .navbar ul { | ||
display: inline; | display: inline; | ||
white-space: nowrap; | white-space: nowrap; | ||
} | } | ||
.navbar li { | .navbar li { | ||
word-spacing: -0.125em; | word-spacing: -0.125em; | ||
} | } | ||
.navbar.mini li | |||
.navbar.mini li span { | |||
font-variant: small-caps; | font-variant: small-caps; | ||
} | } | ||
/* Navbar styling when nested in infobox and navbox */ | /* Navbar styling when nested in infobox and navbox */ | ||
.infobox .navbar { | .infobox .navbar { | ||
font-size: 100%; | font-size: 100%; | ||
} | } | ||
.navbox .navbar { | .navbox .navbar { | ||
display: block; | display: block; | ||
font-size: 100%; | font-size: 100%; | ||
} | } | ||
.navbox-title .navbar { | .navbox-title .navbar { | ||
/* @noflip */ | /* @noflip */ | ||
float: left; | float: left; | ||
/* @noflip */ | /* @noflip */ | ||
text-align: left; | text-align: left; | ||
/* @noflip */ | /* @noflip */ | ||
margin-right: 0.5em; | margin-right: 0.5em; | ||
width: 6em; | |||
} | } | ||
/* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript | /* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript | ||
in [[MediaWiki:Common.js]] are styled here so they can be customised. */ | in [[MediaWiki:Common.js]] are styled here so they can be customised. */ | ||
.collapseButton { | .collapseButton { | ||
/* @noflip */ | /* @noflip */ | ||
float: right; | float: right; | ||
font-weight: normal; | font-weight: normal; | ||
/* @noflip */ | /* @noflip */ | ||
margin-left: 0.5em; | margin-left: 0.5em; | ||
/* @noflip */ | /* @noflip */ | ||
text-align: right; | text-align: right; | ||
width: auto; | width: auto; | ||
} | } | ||
/* | /* In navboxes, the show/hide button balances the v·d·e links | ||
. | |||
from [[Template:Navbar]], so they need to be the same width. */ | |||
.navbox .collapseButton { | |||
width: 6em; | |||
} | } | ||
/* ========================================= | |||
===== PLEGABLES (mediawiki 1.18+ ) ======== | |||
========================================== | |||
. | Mediawiki 1.18 introdujo un nuevo sistema nativo de plegables. | ||
Este es el CSS para personalizarlo y eventualmente reemplazar | |||
al laberinto NavHead, NavFrame, NavToggle, NavContent, etc. */ | |||
. | |||
/* | /* Styling for JQuery makeCollapsible, matching that of collapseButton */ | ||
. | .mw-collapsible .navbox-title { position: relative; } | ||
} | |||
. | .navbox-title .mw-collapsible-toggle { display: block; position: absolute; right: 0.5em; bottom: 0.5ex; } | ||
} | |||
.navbox .mw-collapsible-toggle { | |||
. | |||
width: 6em; | |||
} | } | ||
/* Change the external link icon to an Adobe icon for all PDF files | /* Change the external link icon to an Adobe icon for all PDF files | ||
in browsers that support these CSS selectors, like Mozilla and Opera */ | in browsers that support these CSS selectors, like Mozilla and Opera */ | ||
#content a[href$=".pdf"].external, | |||
#content a[href*=".pdf?"].external, | |||
#content a[href*=".pdf#"].external, | |||
#content a[href$=".PDF"].external, | |||
#content a[href*=".PDF?"].external, | |||
#content a[href*=".PDF#"].external, | |||
#mw_content a[href$=".pdf"].external, | |||
#mw_content a[href*=".pdf?"].external, | |||
#mw_content a[href*=".pdf#"].external, | |||
#mw_content a[href$=".PDF"].external, | |||
#mw_content a[href*=".PDF?"].external, | |||
#mw_content a[href*=".PDF#"].external { | |||
/* @embed */ | |||
background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right; | background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right; | ||
/* @noflip */ | /* @noflip */ | ||
padding-right: 18px; | padding-right: 18px; | ||
} | } | ||
/* | |||
/ | |||
/* 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 {} | |||
/* Plantilla de cita */ | |||
.citado { | |||
font-size: 90%; | |||
background-color: #F9F9F9; | |||
padding: 5px 10px; | |||
margin: 1em 4em; | |||
} | } | ||
/* | |||
/* Estilos para sitenotice y similares */ | |||
.notice { | |||
text-align: justify; | |||
margin: 1em; | |||
padding: 0.2em; | |||
text-align: | |||
margin: | |||
padding | |||
} | } | ||
/* | /* | ||
* Reducción de los márgenes por defecto para el mensaje de la libertad de | |||
* panorama | |||
*/ | |||
.sitedir-ltr .mw-dismissable-notice-body { | |||
margin:0.5em 2em 0.5em 2em !important; | |||
} | } | ||
/* Ocultar texto para los no bibliotecarios */ | |||
.para_biblios { | |||
display: none | |||
} | } | ||
/* | /* Prevent floating boxes from overlapping any category listings, | ||
file histories, edit previews, and edit [Show changes] views */ | |||
#mw-subcategories, #mw-pages, #mw-category-media, | |||
#filehistory, #wikiPreview, #wikiDiff { | |||
clear: both; | |||
} | } | ||
/* | /* CSS para plegables, documentación en [[:en:Wikipedia:NavFrame]] */ | ||
div.NavFrame { | div.NavFrame { | ||
margin: 0; | margin: 0; | ||
padding: 4px; | padding: 4px; | ||
border: 1px solid # | |||
border: 1px solid #aaa; | |||
text-align: center; | text-align: center; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
font-size: 95%; | font-size: 95%; | ||
} | } | ||
div.NavFrame + div.NavFrame { | div.NavFrame + div.NavFrame { | ||
border-top-style: none; | border-top-style: none; | ||
border-top-style: hidden; | border-top-style: hidden; | ||
} | } | ||
.NavPic { | |||
background-color: #fff; | background-color: #fff; | ||
margin: 0; | margin: 0; | ||
padding: 2px; | padding: 2px; | ||
float: left; | float: left; | ||
} | } | ||
div.NavFrame | |||
div.NavFrame .NavHead { | |||
height: 1.6em; | |||
font-weight: bold; | font-weight: bold; | ||
background-color: #ccf; | background-color: #ccf; | ||
position: relative; | position: relative; | ||
} | } | ||
div.NavFrame p, | div.NavFrame p, | ||
div.NavFrame div.NavContent, | div.NavFrame div.NavContent, | ||
div.NavFrame div.NavContent p { | div.NavFrame div.NavContent p { | ||
font-size: 100%; | font-size: 100%; | ||
} | } | ||
.NavEnd { | |||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
line-height: 1px; | line-height: 1px; | ||
clear: both; | clear: both; | ||
} | } | ||
.NavToggle { | |||
position: absolute; | position: absolute; | ||
top: 0; | top: 0; | ||
right: 3px; | right: 3px; | ||
font-weight: normal; | font-weight: normal; | ||
font-size: 90%; | font-size: 90%; | ||
} | } | ||
/* Hatnotes and disambiguation notices */ | /* Hatnotes and disambiguation notices */ | ||
. | |||
.rellink, | |||
.dablink { | |||
font-style: italic; | font-style: italic; | ||
/* @noflip */ | |||
padding-left: 1.6em; | |||
margin-bottom: 0.5em; | |||
} | } | ||
. | |||
.rellink i, | |||
.dablink i { | |||
font-style: normal; | font-style: normal; | ||
} | } | ||
/* TABLAS */ | |||
/* distinto color en filas pares */ | |||
/* default: grisecito */ | |||
table.striped tr:nth-child(even) { | |||
background-color: #f2f3f4; | |||
} | |||
/* Normal font styling for table row headers with scope="row" tag */ | |||
.wikitable.plainrowheaders th[scope=row] { | |||
font-weight: normal; | |||
/* @noflip */ | /* @noflip */ | ||
text-align: left; | |||
} | } | ||
/* lists in data cells are always left-aligned */ | |||
.wikitable td ul, | |||
.wikitable td ol, | |||
.wikitable td dl { | |||
/* @noflip */ | |||
text-align: left; | |||
} | } | ||
/* | /* Tablas alineadas a la izquierda (class="wikitable left") */ | ||
.wikitable.left, | |||
. | |||
.toccolours.left { | |||
margin: 1em 1.3em 1em 0; | |||
float: left; | |||
clear: left; | |||
} | } | ||
/* | |||
. | /* Tablas alineadas a la derecha (class="wikitable right") */ | ||
.wikitable.right, | |||
.toccolours.right { | |||
margin: 1em 0 1em 1.3em; | |||
float: right; | |||
clear: right; | |||
} | } | ||
. | |||
. | |||
/* Tablas centradas (class="wikitable center") */ | |||
.wikitable.center, | |||
.toccolours.center { | |||
margin-left:auto; | |||
margin-right:auto; | |||
width:inherit; | |||
text-align:inherit; | |||
} | } | ||
. | |||
/* | /** Cajas de aviso son blancas y con | ||
* una cinta de color en la parte superior */ | |||
table.ambox { | |||
margin: 0 7% .8em; /* https://es.wikipedia.org/?diff=80119206 */ | |||
border-collapse: collapse; | |||
background-color: #fbfbfb; | |||
border-bottom: 1px solid #aaa; | |||
border-left: 1px solid #CCC; | |||
border-right: 1px solid #CCC; | |||
font-size: 95%; | |||
} | } | ||
table.ambox th.ambox-text, table.ambox td.ambox-text { | |||
padding: 0.25em 0.5em; /* 0.5em left/right */ | |||
. | width: 100%; /* Make all templates the same width regardless of text size */ | ||
. | |||
. | |||
. | |||
} | } | ||
table.ambox .ambox-image { | |||
padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */ | |||
text-align: | text-align: center; | ||
} | } | ||
table.ambox .ambox-imageright { | |||
padding: | padding: 2px 0.5em 2px 0; /* 0px left, 0.5em right */ | ||
text-align: center; | |||
} | } | ||
/* | .ambox-notice {border-top: 5px solid #608EC2} /* Azul */ | ||
.ambox-protection {border-top: 5px solid #bba} /* Gris */ | |||
.ambox-delete, | |||
. | |||
. | .ambox-serious {border-top: 5px solid #b22222} /* Rojo */ | ||
. | |||
.ambox-content {border-top: 5px solid #f28500} /* Naranja */ | |||
.ambox-style {border-top: 5px solid #f4c430} /* Amarillo */ | |||
.ambox-merge {border-top: 5px solid #8c08a4} /* Purpura */ | |||
.ambox-growth {border-top: 5px solid #47a30d} /* Verde */ | |||
.ambox.ambox-mini { /* Versión pequeña flotante */ | |||
float: right; | |||
clear: right; | |||
margin: 0 0 0 1em; | |||
width: 25%; | |||
} | } | ||
. | |||
/* Ciertas cajas para discusión que NO son ambox (no tienen cinta de color) | |||
por ejemplo, la caja grande de artículo destacado */ | |||
.messagebox { | |||
border: 1px solid #aaa; | |||
background-color: #f9f9f9; | |||
width: 90%; | |||
margin: 0 auto 1em auto; | |||
padding: .2em; | |||
} | } | ||
. | .messagebox.merge { | ||
. | |||
border: 1px solid #c0b8cc; | |||
background-color: #f0e5ff; | |||
text-align: center; | |||
} | } | ||
.messagebox.cleanup { | |||
. | |||
border: 1px solid #9f9fff; | |||
border: 1px solid # | background-color: #efefff; | ||
background-color: # | |||
text-align: center; | |||
} | } | ||
.messagebox.standard-talk { | |||
# | |||
border: 1px solid #c0c090; | |||
background-color: #f8eaba; | |||
margin: 4px auto; | |||
} | } | ||
/* | |||
. | /** Estilos para tablas. | ||
} | 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 | |||
Esto sólo se usa en Medallero. Debería divulgarse para aprovecharlo en más lugares | |||
**/ | |||
.col1der td:nth-of-type(1), | |||
.col2der td:nth-of-type(2), | |||
.col3der td:nth-of-type(3), | |||
.col4der td:nth-of-type(4), | |||
.col5der td:nth-of-type(5), | |||
.col6der td:nth-of-type(6), | |||
.col7der td:nth-of-type(7), | |||
.col8der td:nth-of-type(8), | |||
.col9der td:nth-of-type(9), | |||
.col10der td:nth-of-type(10), | |||
.col11der td:nth-of-type(11), | |||
.col12der td:nth-of-type(12), | |||
.col13der td:nth-of-type(13), | |||
.col14der td:nth-of-type(14), | |||
.col15der td:nth-of-type(15), | |||
.col16der td:nth-of-type(16), | |||
.col17der td:nth-of-type(17), | |||
.col18der td:nth-of-type(18), | |||
.col19der td:nth-of-type(19), | |||
.col20der td:nth-of-type(20) | |||
{text-align:right} | |||
.col1izq td:nth-of-type(1), | |||
.col2izq td:nth-of-type(2), | |||
.col3izq td:nth-of-type(3), | |||
.col4izq td:nth-of-type(4), | |||
.col5izq td:nth-of-type(5), | |||
.col6izq td:nth-of-type(6), | |||
.col7izq td:nth-of-type(7), | |||
.col8izq td:nth-of-type(8), | |||
.col9izq td:nth-of-type(9), | |||
.col10izq td:nth-of-type(10), | |||
.col11izq td:nth-of-type(11), | |||
.col12izq td:nth-of-type(12), | |||
.col13izq td:nth-of-type(13), | |||
.col14izq td:nth-of-type(14), | |||
.col15izq td:nth-of-type(15), | |||
.col16izq td:nth-of-type(16), | |||
.col17izq td:nth-of-type(17), | |||
.col18izq td:nth-of-type(18), | |||
.col19izq td:nth-of-type(19), | |||
.col20izq td:nth-of-type(20) | |||
{text-align:left} | |||
.col1cen td:nth-of-type(1), | |||
.col2cen td:nth-of-type(2), | |||
.col3cen td:nth-of-type(3), | |||
.col4cen td:nth-of-type(4), | |||
.col5cen td:nth-of-type(5), | |||
.col6cen td:nth-of-type(6), | |||
.col7cen td:nth-of-type(7), | |||
.col8cen td:nth-of-type(8), | |||
.col9cen td:nth-of-type(9), | |||
.col10cen td:nth-of-type(10), | |||
.col11cen td:nth-of-type(11), | |||
.col12cen td:nth-of-type(12), | |||
.col13cen td:nth-of-type(13), | |||
.col14cen td:nth-of-type(14), | |||
.col15cen td:nth-of-type(15), | |||
.col16cen td:nth-of-type(16), | |||
.col17cen td:nth-of-type(17), | |||
.col18cen td:nth-of-type(18), | |||
.col19cen td:nth-of-type(19), | |||
.col20cen td:nth-of-type(20) | |||
{text-align:center} | |||
/* The backgrounds for galleries. */ | /* The backgrounds for galleries. */ | ||
/* Light gray padding */ | #content .gallerybox div.thumb { | ||
background-color: #F9F9F9; /* Light gray padding */ | |||
} | } | ||
/* Put a chequered background behind images, only visible if they have transparency | |||
/* Put a chequered background behind images, only visible if they have transparency */ | |||
.gallerybox .thumb img { | .gallerybox .thumb img { | ||
background: | |||
/* @embed */ | |||
background: white url("//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat; | |||
} | } | ||
/* But not on articles, user pages, portals or with opt-out. */ | /* But not on articles, user pages, portals or with opt-out. */ | ||
.ns-0 .gallerybox .thumb img, | .ns-0 .gallerybox .thumb img, | ||
.ns-2 .gallerybox .thumb img, | .ns-2 .gallerybox .thumb img, | ||
.ns-100 .gallerybox .thumb img, | |||
.ns-100 .gallerybox .thumb img, | |||
.nochecker .gallerybox .thumb img { | .nochecker .gallerybox .thumb img { | ||
background: | |||
background: white; | |||
} | } | ||
/* | |||
.abbr {/* al estilo de la etiqueta <abbr> */ | |||
cursor: help; | |||
border-bottom: 1px dotted #000; | |||
} | } | ||
/* For portals, | |||
On wide screens, show these as two / three columns. | |||
On narrow and mobile screens, let them collapse into a single column. | |||
by NaBUru38, based on work by bv. */ | |||
.portal-column-left-50 { | |||
float: left; | |||
width: 49%; | |||
} | } | ||
.portal-column-right-50 { | |||
float: right; | |||
width: 49%; | |||
} | } | ||
.portal-column-left-60 { | |||
float: left; | |||
width: 59%; | |||
} | } | ||
.portal-column-right-60 { | |||
. | |||
float: right; | |||
width: 59%; | |||
} | } | ||
.portal-column-left-40 { | |||
float: left; | float: left; | ||
width: | |||
width: 39%; | |||
} | } | ||
.portal-column-right { | |||
.portal-column-right-40 { | |||
float: right; | float: right; | ||
width: | |||
width: 39%; | |||
} | } | ||
.portal-column-left- | |||
.portal-column-left-66 { | |||
float: left; | float: left; | ||
width: | |||
width: 66%; | |||
} | } | ||
.portal-column-right- | |||
.portal-column-right-66 { | |||
float: right; | float: right; | ||
width: | |||
width: 66%; | |||
} | } | ||
.portal-column-left- | |||
.portal-column-left-33 { | |||
float: left; | float: left; | ||
width: | |||
width: 33%; | |||
} | |||
.portal-column-center-33 { | |||
margin-left: auto; | |||
margin-right: auto; | |||
} | } | ||
.portal-column-right- | |||
.portal-column-right-33 { | |||
float: right; | float: right; | ||
width: | |||
width: 33%; | |||
} | } | ||
@media only screen and (max-width: 800px) { | @media only screen and (max-width: 800px) { | ||
/* Decouple the columns on narrow screens */ | /* Decouple the columns on narrow screens */ | ||
.portal-column-left, | |||
.portal-column-right, | .portal-column-left-50, | ||
.portal-column-left- | |||
.portal-column-right- | .portal-column-right-50, | ||
.portal-column-left- | |||
.portal-column-right- | .portal-column-left-60, | ||
.portal-column-right-60, | |||
.portal-column-left-40, | |||
.portal-column-right-40, | |||
.portal-column-left-66, | |||
.portal-column-right-66, | |||
.portal-column-left-33, | |||
.portal-column-center-33, | |||
.portal-column-right-33 { | |||
float: inherit; | float: inherit; | ||
width: inherit; | width: inherit; | ||
} | } | ||
} | } | ||
/* | |||
# | /* Aviso en espacios de trabajo de usuarios */ | ||
body.ns-2 #contentSub > span.subpages:before, | |||
.ns-3 #contentSub > span.subpages:before { | |||
content: " ¡Atención! Este no es un artículo enciclopédico, sino un espacio de trabajo personal. "; | |||
background: #fe9; | |||
border: 2px solid #f0c91f; | |||
display: block; | |||
text-align: center; | |||
color: maroon; | |||
margin-bottom: 2mm; | |||
line-height: 120%; | |||
} | } | ||
/* | |||
. | /* Estilo para las etiquetas del filtro de edición */ | ||
.mw-tag-marker { | |||
font-family:sans-serif; | |||
font-style:italic; | |||
font-size:90%; | |||
background-color:#FFE599; | |||
} | } | ||
. | |||
/* Estilo para los avisos de los filtros antiabusos */ | |||
.aviso_filtro { | |||
border: 1px solid #848484; | |||
margin: 19px 14px 19px 14px; | |||
padding: 0.8em 1.2em 0.8em 1.2em; | |||
} | } | ||
/* El vandalismo debe ser particularmente distinguible */ | |||
.mw-tag-marker-posible_vandalismo, .mw-tag-marker-botspam { | |||
background-color:#FEC29C; | |||
} | } | ||
. | |||
/** | |||
* Permite el numerado manual de las secciones en las tablas de contenidos | |||
* https://es.wikipedia.org/?diff=85548174&oldid=80406028 | |||
*/ | |||
#hideTOCnumbers .tocnumber { display: none; } | |||
/* Allow limiting of which header levels are shown in a TOC; | |||
<div class="toclimit-3">, for instance, will limit to | |||
showing ==headings== and ===headings=== but no further | |||
(as long as there are no =headings= on the page, which | |||
there shouldn't be according to the MoS). | |||
*/ | |||
.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; | |||
} | } | ||
/* Prevent line breaks in silly places: | |||
1) Where desired | |||
2) Links when we don't want them to | |||
3) Bold "links" to the page itself | |||
4) HTML formulae | |||
5) Ref tags with group names <ref group="Note"> --> "[Note 1]" | |||
*/ | |||
.nowrap, | |||
.nowraplinks a, | |||
.nowraplinks .selflink, | |||
.texhtml, | |||
sup.reference a { | |||
white-space: nowrap; | |||
} | } | ||
. | |||
/* Hide the mobile wlm banner on the normal site */ | |||
#mf-wlm-banner { display: none; } | |||
/* Muestra las plantillas de la extensión Babel sin el float ni formato alguno, retirando el recuadro que viene por defecto. | |||
Fuente: https://meta.wikimedia.org/w/index.php?title=MediaWiki:Common.css&oldid=4335942 | |||
Queda pendiente el [[bugzilla:31309]] | |||
*/ | |||
.babel-plain .mw-babel-wrapper { | |||
float:none; | |||
clear:none; | |||
margin:0; | |||
} | } | ||
.babel-plain .mw-babel-box { | |||
margin:0; | |||
} | } | ||
. | |||
. | .babel-plain .mw-babel-header, | ||
.babel-plain .mw-babel-footer { | |||
display:none; | |||
} | } | ||
/* | |||
. | /* Configuración específica para Edittools | ||
https://es.wikipedia.org/w/index.php?oldid=70299868#Otro_pedido_.28barra_vertical.29 | |||
*/ | |||
#specialchars a { | |||
padding: 0.1em; | |||
display: inline-block; | |||
text-align: center; | |||
min-width: 1em; | |||
} | |||
/* Para la plantilla Documentación */ | |||
.template-documentation { | |||
clear: both; | |||
margin: 1em 0 0 0; | |||
border: 1px dotted #8BCBFF; | |||
background-color: #EEF9FA; | |||
padding: 0.9em; | |||
} | } | ||
/* | /* Para que los autoenlaces no aparezcan en negritas al transcluir un artículo con la plantilla Extracto */ | ||
. | |||
.extract a.selflink { | |||
font-weight: normal; | |||
} | } | ||
/* | /*Para lista de columnas*/ | ||
. | div.columns dl, div.columns ol, div.columns ul { margin-top: 0; } | ||
/* == Espacio de Prueba == */ | |||
.contenido { | |||
} | |||
.principal { | |||
width: 60%; | |||
min-width: 20em; | |||
float: left; | |||
border-style:solid; | |||
margin:5px; | |||
} | } | ||
.izquierdo { | |||
width: 35%; | |||
min-width: 20em; | |||
float: left; | |||
border-style: solid; | |||
margin: 5px; | |||
} | } |