Llínea 1: |
Llínea 1: |
− | /* Common CSS for all skins */ | + | /* Common CSS para todas las pieles */ |
− | /*<pre><nowiki>*/ | + | |
− |
| + | 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{ |
− | /* Estilos para el CommonsTicker ([[Wikiproyecto:CommonsTicker]]) | + | display: none; |
− | According to the CSS specs, @import rules must precede any other CSS rules in a stylesheet,
| + | } |
− | so this creates the need to place it in its own stylesheet for these purposes. */
| + | |
− | @import "/w/index.php?title=Wikiproyecto:CommonsTicker/styles.css&action=raw&ctype=text/css&smaxage=2678400";
| + | .mw-wiki-logo { |
− |
| + | background-size: 155px; |
− | /*InterProject */ | + | } |
− |
| + | |
− | .interProject { | + | /* Arregla problemas interlineado para <sup> y <sub> */ |
− | display:none;
| + | sup, sub { |
− | clear: both;
| + | line-height: 1em; |
− | border-top: 2px dotted #AAAAAA;
| + | } |
− | margin-top: 2em;
| + | |
| + | /* 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; |
| } | | } |
− |
| + | |
− | /* Evitar la aparición del subrayado al pasar sobre la imagen cuande se usa {{tl|clic}} */ | + | /* CSS para infoboxes */ |
− | .clic a:active, .clic a:hover {text-decoration:none} | + | .infobox { |
− |
| + | border: 1px solid #aaa; |
− |
| + | background-color: #f9f9f9; |
− | /* Style for "notices" */
| + | color: #000; |
− | .notice {
| + | margin-bottom: 0.7em; |
− | text-align: justify; | + | margin-left: 1.2em; |
− | margin: 1em; | |
| padding: 0.2em; | | padding: 0.2em; |
| + | float: right; |
| + | clear: right; |
| + | } |
| + | |
| + | .infobox td, .infobox th, |
| + | .infobox_v2 td, .infobox_v2 th { |
| + | vertical-align: top; |
| } | | } |
− |
| + | |
− | #disambig {
| + | .infobox caption { |
− | border-top: 3px double #cccccc; | + | font-size: larger; |
− | border-bottom: 3px double #cccccc; | + | margin-left: inherit; |
| } | | } |
− |
| + | |
− | #spoiler {
| + | /* ===== infoboxes V2 ("nuevas") ==== */ |
− | border-top: 2px solid #ddd; | + | .infobox_v2 { |
− | border-bottom:2px solid #ddd; | + | 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 |
| } | | } |
− |
| + | |
− | /* Standard talk template style */
| + | .infobox_v2 .cabecera { |
− |
| + | font-size: 140%; |
− | .Talk-Notice { | + | font-weight: bolder; |
− | border: 1px solid #C0C090; | + | height: 45px; |
− | background-color: #F8EABA;
| + | line-height: 1.2em; |
− | margin-bottom: 3px; | + | text-align: center; |
− | width: 85%; | + | vertical-align: middle |
− | border-spacing: 3px; | |
− | margin-left: auto; | |
− | margin-right: auto; | |
| } | | } |
− |
| + | |
− | /* Make template background appear correctly on all browsers */
| + | .infobox_v2 .media { |
− | .Talk-Notice td {
| + | font-weight: bolder; |
− | background: inherit; | + | height: 35px; |
| + | text-align: center; |
| + | vertical-align: middle |
| } | | } |
− |
| + | |
− | /* Choose whether to have AD/BC dates or CE/BCE dates*/ | + | /* Códigos para tipos específicos de infoboxes */ |
− |
| + | .infobox.bordered { |
− | /* First, the default : display both : See templates ADCE and BCEBC for how these are used*/
| + | border-collapse: collapse; |
− | .Use_Default_Date_Convention { display: inline; } | |
− | .Use_AD_and_BC { display: none; } | |
− | .Use_BCE_and_CE { display: none; }
| |
− |
| |
− | /* If you want to display AD and BC add the following to User:You/monobook.css page */
| |
− | /*
| |
− | .Use_Default_Date_Convention { display: none; }
| |
− | .Use_AD_and_BC { display:inline; }
| |
− | .Use_BCE_and_CE { display:none; }
| |
− | */
| |
− |
| |
− | /*If you want to display CE and BCE add the following to User:You/monobook.css page */
| |
− | /*
| |
− | .Use_Default_Date_Convention { display: none; }
| |
− | .Use_AD_and_BC { display:none; }
| |
− | .Use_BCE_and_CE {display:inline; }
| |
− | */
| |
− |
| |
− | /*Add formatting to make sure that "external references" from [[Template:Ref]] do
| |
− | not get URL expansion, not even when printed. The mechanism up to MediaWiki 1.4 was
| |
− | that the HTML code contained a SPAN following the anchor A; this SPAN had the class
| |
− | "urlexpansion", which was not displayed on screen, but was shown when the medium was
| |
− | "print". The rules below ensure (a) that there is no extra padding to the right of
| |
− | the anchor (displayed as "[<number>]"), (b) that there is no "external link arrow" for
| |
− | the link, and (c) that this SPAN of class "urlexpansion" is never shown.
| |
− | ~~~~
| |
− | */
| |
− |
| |
− | .plainlinksneverexpand {
| |
− | background: none ! important;
| |
− | padding: 0 ! important;
| |
| } | | } |
− |
| + | .infobox.bordered td, |
− | .plainlinksneverexpand .urlexpansion { | + | .infobox.bordered th { |
− | display : none ! important;
| + | border: 1px solid #B4BBC8; |
| } | | } |
− |
| + | .infobox.bordered .borderless td, |
− | /* Make sure that ext links displayed within "plainlinksneverexpand" don't get
| + | .infobox.bordered .borderless th { |
− | the arrow...
| + | border: 0; |
− | */
| |
− | .plainlinksneverexpand a { | |
− | background: none !important;
| |
− | padding: 0 !important
| |
| } | | } |
− |
| + | |
− | /* styles for geography infoboxes, e.g. countries, national subdivisions, cities, etc. */
| + | .infobox.sisterproject { |
− |
| + | width: 20em; |
− | .InfoDerecha {
| + | font-size: 90%; |
− | clear: right;
| |
− | float: right;
| |
− | margin: 0 0 1em 1em;
| |
| } | | } |
− |
| + | |
− | .infobox.geography { | + | .infobox.geography, |
− | border: 1px solid #ccd2d9;
| + | .infobox_v2.geography { |
− | text-align: left;
| + | text-align: left; |
− | border-collapse: collapse;
| + | border-collapse: collapse; |
− | line-height: 1.2em;
| + | line-height: 1.2em; |
− | font-size: 90%;
| + | font-size: 90%; |
| + | border: solid 1px #B4BBC8; |
| } | | } |
− |
| + | |
− | .infobox.geography td, | + | .infobox.geography td, |
− | .infobox.geography th { | + | .infobox.geography th, |
− | border-top: solid 1px #ccd2d9;
| + | .infobox_v2.geography td, |
− | padding: 0.4em 0.2em 0.4em 0.8em;
| + | .infobox_v2.geography th { |
| + | border-top: solid 1px #B4BBC8; |
| + | padding: .4em .6em; |
| } | | } |
| + | |
| .infobox.geography .mergedtoprow td, | | .infobox.geography .mergedtoprow td, |
− | .infobox.geography .mergedtoprow th { | + | .infobox.geography .mergedtoprow th, |
− | border-top: solid 1px #ccd2d9;
| + | .infobox_v2.geography .mergedtoprow td, |
− | padding: 0.4em 0.2em 0.2em 0.8em;
| + | .infobox_v2.geography .mergedtoprow th { |
| + | border-top: solid 1px #B4BBC8; |
| + | padding: .4em .6em .2em .6em; |
| } | | } |
− |
| + | |
| .infobox.geography .mergedrow td, | | .infobox.geography .mergedrow td, |
− | .infobox.geography .mergedrow th { | + | .infobox.geography .mergedrow th, |
− | border: 0;
| + | .infobox_v2.geography .mergedrow td, |
− | padding: 0 0.2em 0.2em 0.8em;
| + | .infobox_v2.geography .mergedrow td { |
| + | border: 0; |
| + | padding: 0 .6em .2em .6em; |
| } | | } |
− |
| + | |
| .infobox.geography .mergedbottomrow td, | | .infobox.geography .mergedbottomrow td, |
− | .infobox.geography .mergedbottomrow th { | + | .infobox.geography .mergedbottomrow th, |
− | border-top: 0;
| + | .infobox_v2.geography .mergedbottomrow td, |
− | border-bottom: solid 1px #ccd2d9;
| + | .infobox_v2.geography .mergedbottomrow th { |
− | padding: 0 0.2em 0.4em 0.8em;
| + | border-top: 0; |
| + | border-bottom: solid 1px #B4BBC8; |
| + | padding: 0 .6em .4em .6em; |
| } | | } |
− |
| + | |
| .infobox.geography .maptable td, | | .infobox.geography .maptable td, |
− | .infobox.geography .maptable th { | + | .infobox.geography .maptable th, |
− | border: 0;
| + | .infobox_v2.geography .maptable td, |
− | padding: 0 0 0 0;
| + | .infobox_v2.geography .maptable th { |
| + | border: 0; |
| + | padding: 0; |
| } | | } |
− |
| + | |
− | /* With MediaWiki 1.5, the mechanism has changed: instead of a SPAN of class "urlexpansion" | + | /* Gráficos transparentes de cabecera */ |
− | following the anchor A, the anchor itself now has class "external autonumber" and the
| + | .cabecera.default {} |
− | expansion is inserted when printing (see the common printing style sheet at
| + | |
− | http://en.wikipedia.org/skins-1.5/common/commonPrint.css) using the ":after" pseudo-
| + | /* Style for horizontal lists (separator following item). |
− | element of CSS. We have to switch this off for links due to Template:Ref!
| + | Note: hlist formatting will break if the resulting HTML lacks a breakable character |
− |
| + | between list items. This happens when the following conditions are true: |
| + | 1) The list is made using wiki markup (where HTML is built by parser.php) |
| + | 2) HTMLTidy is disabled or unavailable (such as on Special: pages) |
| + | In such cases, building lists with .hlist using HTML instead of wiki markup |
| + | will work around this problem. See also [[Bugzilla:39617]]. |
| + | Maintainer: [[User:Edokter]] |
| + | Revision: 2.0 |
| + | Last updated: September 23, 2012 |
| */ | | */ |
− | .plainlinksneverexpand a.external.text:after { | + | .skin-monobook .hlist dl, |
− | display: none !important;
| + | .skin-modern .hlist dl, |
| + | .skin-vector .hlist dl { |
| + | line-height: 1.5em; |
| + | } |
| + | .hlist dl, |
| + | .hlist ol, |
| + | .hlist ul { |
| + | margin: 0; |
| + | padding: 0; |
| + | } |
| + | /* Display list items inline and make them nowrap */ |
| + | .hlist dd, |
| + | .hlist dt, |
| + | .hlist li { |
| + | margin: 0; |
| + | display: inline; |
| + | white-space: nowrap; |
| + | } |
| + | /* Display nested lists inline and allow them to wrap */ |
| + | .hlist dl dl, .hlist dl ol, .hlist dl ul, |
| + | .hlist ol dl, .hlist ol ol, .hlist ol ul, |
| + | .hlist ul dl, .hlist ul ol, .hlist ul ul { |
| + | display: inline; |
| + | white-space: normal; |
| + | } |
| + | /* Generate interpuncts */ |
| + | .hlist dt:after { |
| + | content: ":"; |
| } | | } |
− | .plainlinksneverexpand a.external.autonumber:after { | + | .hlist dd:after, |
− | display: none !important;
| + | .hlist li:after { |
| + | content: " ·"; |
| + | font-weight: bold; |
| + | } |
| + | .hlist dd:last-child:after, |
| + | .hlist dt: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; |
| + | } |
| + | /* Add parentheses around nested lists */ |
| + | .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 li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before { |
| + | content: "("; |
| + | font-weight: normal; |
| + | } |
| + | .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 li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after { |
| + | content: ")"; |
| + | 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 numbers in front of ordered list items */ |
| + | .hlist.hnum ol { |
| + | counter-reset: list-item; |
| + | } |
| + | .hlist.hnum ol > li { |
| + | counter-increment: list-item; |
| + | } |
| + | .hlist.hnum ol > li:before { |
| + | content: counter(list-item) " "; |
| + | } |
| + | .hlist.hnum dd ol > li:first-child:before, |
| + | .hlist.hnum dt ol > li:first-child:before, |
| + | .hlist.hnum li ol > li:first-child:before { |
| + | content: "(" counter(list-item) " "; |
| } | | } |
| | | |
− | /* Merge template style */ | + | /* Unbulleted lists */ |
− |
| + | .plainlist ul { |
− | .messagebox { | + | line-height: inherit; |
− | border: 1px solid #aaaaaa;
| + | list-style: none none; |
− | background-color: #f9f9f9;
| + | margin: 0; |
− | width: 85%;
| + | } |
− | margin: 0 auto 1em auto;
| + | .plainlist ul li { |
− | padding: .2em;
| + | margin-bottom: 0; |
− | text-align: justify;
| + | } |
− | font-size: 90%;
| + | |
| + | /* Definición para imágenes y otros elementos flotantes */ |
| + | div.floatright { |
| + | float: right; |
| + | clear: right; |
| + | position: relative; |
| + | margin: 0.2em 0 0.8em 1.4em; |
| + | } |
| + | div.floatleft { |
| + | float: left; |
| + | clear: left; |
| + | position: relative; |
| + | margin: 0.2em 1.4em 0.8em 0; |
| + | } |
| + | |
| + | /* Default style for navigation boxes */ |
| + | table.navbox { /* Navbox container style */ |
| + | border: 1px solid #aaa; |
| + | width: 100%; |
| + | margin: auto; |
| + | clear: both; |
| + | font-size: 88%; |
| + | text-align: center; |
| + | padding: 1px; |
| + | } |
| + | table.navbox + table.navbox { /* Single pixel border between adjacent navboxes */ |
| + | margin-top: -1px; /* (doesn't work for IE6, but that's okay) */ |
| + | } |
| + | .navbox th, |
| + | .navbox-title, |
| + | .navbox-abovebelow { |
| + | text-align: center; /* Title and above/below styles */ |
| + | padding-left: 1em; |
| + | padding-right: 1em; |
| + | } |
| + | th.navbox-group { /* Group style */ |
| + | white-space: nowrap; |
| + | /* @noflip */ |
| + | text-align: right; |
| } | | } |
− | .messagebox.merge { | + | .navbox, |
− | border: 1px solid #cf9fff;
| + | .navbox-subgroup { |
− | background-color: #f5edf5;
| + | background: #fdfdfd; /* Background color */ |
− | text-align: center;
| |
| } | | } |
− | .messagebox.cleanup { | + | .navbox-list { |
− | border: 1px solid #9f9fff;
| + | border-color: #fdfdfd; /* Must match background color */ |
− | background-color: #efefff; | |
− | text-align: center;
| |
| } | | } |
− | .messagebox.standard-talk { | + | .navbox th, |
− | border: 1px solid #c0c090;
| + | .navbox-title { |
− | background-color: #f8eaba;
| + | background: #ccccff; /* Level 1 color */ |
− | text-align: center;
| |
| } | | } |
− |
| + | .navbox-abovebelow, |
− | .messagebox.warning { | + | th.navbox-group, |
− | border: 1px solid #fcc;
| + | .navbox-subgroup .navbox-title { |
− | background-color: #fee;
| + | background: #ddddff; /* Level 2 color */ |
− | text-align: center;
| |
− | font-size: 100%;
| |
| } | | } |
− |
| + | .navbox-subgroup .navbox-group, |
− | /* Article message box template styles */
| + | .navbox-subgroup .navbox-abovebelow { |
− | table.ambox {
| + | background: #e6e6ff; /* Level 3 color */ |
− | margin: 0 10%; /* Will not overlap with other elements */
| |
− | border-collapse: collapse;
| |
− | background: #fbfbfb; | |
− | border: 1px solid #aaa;
| |
− | border-left: 10px solid #1e90ff; /* Default "notice" blue */
| |
| } | | } |
− | table.ambox th.ambox-text, table.ambox td.ambox-text { /* The message body cell(s) */
| + | .navbox-even { |
− | padding: 0.25em 0.5em; /* 0.5em left/right */
| + | background: #f7f7f7; /* Even row striping */ |
− | width: 100%; /* Make all templates the same width regardless of text size */ | |
| } | | } |
− | table.ambox td.ambox-image { /* The left image cell */
| + | .navbox-odd { |
− | padding: 2px 0px 2px 0.5em; /* 0.5em left, 0px right */ | + | background: transparent; /* Odd row striping */ |
− | text-align: center;
| |
| } | | } |
− | table.ambox td.ambox-imageright { /* The right image cell */
| + | .navbox .hlist td dl, |
− | padding: 2px 4px 2px 0px; /* 0px left, 4px right */ | + | .navbox .hlist td ol, |
− | text-align: center;
| + | .navbox .hlist td ul, |
| + | .navbox td.hlist dl, |
| + | .navbox td.hlist ol, |
| + | .navbox td.hlist ul { |
| + | padding: 0.125em 0; /* Adjust hlist padding in navboxes */ |
| } | | } |
− | table.ambox-notice {
| + | .navbox .hlist dd, |
− | border-left: 10px solid #1e90ff; /* Blue */ | + | .navbox .hlist dt, |
− | /* border-right: 10px solid #1e90ff; */ /* If you want two blue bars */
| + | .navbox .hlist li { |
| + | white-space: nowrap; /* Nowrap list items in navboxes */ |
| + | white-space: normal !ie; /* IE < 8 no-wraps entire list, so disable it */ |
| } | | } |
− | table.ambox-delete,
| + | .navbox .hlist dd dl, |
− | table.ambox-serious {
| + | .navbox .hlist dt dl, |
− | border-left: 10px solid #b22222; /* Red */ | + | .navbox .hlist li ol, |
| + | .navbox .hlist li ul { |
| + | white-space: normal; /* But allow parent list items to be wrapped */ |
| } | | } |
− | table.ambox-content { | + | ol + table.navbox, |
− | border-left: 10px solid #f28500; /* Orange */ | + | ul + table.navbox { |
| + | margin-top: 0.5em; /* Prevent lists from clinging to navboxes */ |
| + | }/* Default styling for Navbar template */ |
| + | .navbar { |
| + | display: inline; |
| + | font-size: 88%; |
| + | font-weight: normal; |
| } | | } |
− | table.ambox-style {
| + | .navbar ul { |
− | border-left: 10px solid #f4c430; /* Yellow */ | + | display: inline; |
| + | white-space: nowrap; |
| } | | } |
− | table.ambox-merge {
| + | .navbar li { |
− | border-left: 10px solid #9932cc; /* Purple */ | + | word-spacing: -0.125em; |
| } | | } |
− | table.ambox-growth {
| + | /* Navbar styling when nested in navbox */ |
− | border-left: 10px solid #228b22; /* Green */
| + | .navbox .navbar { |
| + | display: block; |
| + | font-size: 100%; |
| } | | } |
− | table.ambox-protection {
| + | .navbox-title .navbar { |
− | border-left: 10px solid #bba; /* Gray */ | + | /* @noflip */ |
| + | float: left; |
| + | /* @noflip */ |
| + | text-align: left; |
| + | /* @noflip */ |
| + | margin-right: 0.5em; |
| + | width: 6em; |
| } | | } |
− | table.ambox.ambox-mini { /* Small floating box variant */
| + | |
| + | /* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript |
| + | in [[MediaWiki:Common.js]] are styled here so they can be customised. */ |
| + | .collapseButton { |
| + | /* @noflip */ |
| float: right; | | float: right; |
− | clear: right; | + | font-weight: normal; |
− | margin: 0 0 0 1em; | + | /* @noflip */ |
− | width: 25%; | + | margin-left: 0.5em; |
| + | /* @noflip */ |
| + | text-align: right; |
| + | 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-toggle { |
| + | font-weight: normal; |
| + | /* @noflip */ |
| + | text-align: right; |
| + | font-size: 90%; |
| + | } |
| + | .navbox .mw-collapsible-toggle { |
| + | width: 6em; |
| } | | } |
− | @media print { /* Do not print article message box */
| + | |
− | .ambox {
| + | /* Change the external link icon to an Adobe icon for all PDF files |
− | display: none;
| + | in browsers that support these CSS selectors, like Mozilla and Opera */ |
− | } | + | div#content a[href$=".pdf"].external, |
| + | div#content a[href*=".pdf?"].external, |
| + | div#content a[href*=".pdf#"].external, |
| + | div#content a[href$=".PDF"].external, |
| + | div#content a[href*=".PDF?"].external, |
| + | div#content a[href*=".PDF#"].external, |
| + | div#mw_content a[href$=".pdf"].external, |
| + | div#mw_content a[href*=".pdf?"].external, |
| + | div#mw_content a[href*=".pdf#"].external, |
| + | div#mw_content a[href$=".PDF"].external, |
| + | div#mw_content a[href*=".PDF?"].external, |
| + | div#mw_content a[href*=".PDF#"].external { |
| + | /* @embed */ |
| + | background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right; |
| + | /* @noflip */ |
| + | padding-right: 18px; |
| } | | } |
| | | |
− | /* Infobox template style */ | + | |
− | .infobox { | + | /* 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; |
| + | } |
| + | |
| + | /* Estilos para sitenotice y similares */ |
| + | .notice { |
| + | text-align: justify; |
| + | margin: 1em; |
| + | padding: 0.2em; |
| + | } |
| + | |
| + | /* 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; |
| + | } |
| + | |
| + | /*InterProject */ |
| + | .interProject { |
| + | display:none; |
| + | clear: both; |
| + | border-top: 2px dotted #aaa; |
| + | margin-top: 2em; |
| + | } |
| + | |
| + | /* CSS para plegables, documentación en [[:en:Wikipedia:NavFrame]] */ |
| + | div.NavFrame { |
| + | margin: 0; |
| + | padding: 4px; |
| border: 1px solid #aaa; | | border: 1px solid #aaa; |
− | background-color: #f9f9f9; | + | text-align: center; |
− | color: black; | + | border-collapse: collapse; |
| + | font-size: 95%; |
| + | } |
| + | div.NavFrame + div.NavFrame { |
| + | border-top-style: none; |
| + | border-top-style: hidden; |
| + | } |
| + | div.NavPic { |
| + | background-color: #fff; |
| + | margin: 0; |
| + | padding: 2px; |
| + | float: left; |
| + | } |
| + | div.NavFrame div.NavHead { |
| + | height: 1.6em; |
| + | font-weight: bold; |
| + | background-color: #ccf; |
| + | position: relative; |
| + | } |
| + | div.NavFrame p, |
| + | div.NavFrame div.NavContent, |
| + | div.NavFrame div.NavContent p { |
| + | font-size: 100%; |
| + | } |
| + | div.NavEnd { |
| + | margin: 0; |
| + | padding: 0; |
| + | line-height: 1px; |
| + | clear: both; |
| + | } |
| + | a.NavToggle { |
| + | position: absolute; |
| + | top: 0; |
| + | right: 3px; |
| + | font-weight: normal; |
| + | font-size: 90%; |
| + | } |
| + | |
| + | /* Hatnotes and disambiguation notices */ |
| + | .rellink, |
| + | .dablink { |
| + | font-style: italic; |
| + | /* @noflip */ |
| + | padding-left: 1.6em; |
| margin-bottom: 0.5em; | | margin-bottom: 0.5em; |
− | margin-left: 1em; | + | } |
− | padding: 0.2em; | + | .rellink i, |
| + | .dablink i { |
| + | font-style: normal; |
| + | } |
| + | |
| + | /* Para taxobox, quitar texto en versatilas para referencias */ |
| + | table.biota i { |
| + | font-variant:normal; |
| + | } |
| + | |
| + | /* TABLAS */ |
| + | |
| + | /* Normal font styling for table row headers with scope="row" tag */ |
| + | .wikitable.plainrowheaders th[scope=row] { |
| + | font-weight: normal; |
| + | /* @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; | | float: right; |
| clear: right; | | clear: right; |
| } | | } |
− | .infobox td, | + | |
− | .infobox th { | + | /* Tablas centradas (class="wikitable center") */ |
− | vertical-align: top; | + | .wikitable.center, |
| + | .toccolours.center { |
| + | margin: auto; |
| } | | } |
− | .infobox caption { | + | |
− | font-size: larger;
| + | /** Cajas de aviso son blancas y con |
− | margin-left: inherit; | + | * una cinta de color en la parte superior */ |
− | }
| + | table.ambox { |
− | .infobox.bordered {
| + | margin: 0 10%; |
| border-collapse: collapse; | | border-collapse: collapse; |
| + | background-color: #fbfbfb; |
| + | border-bottom: 1px solid #aaa; |
| + | border-left: 1px solid #CCC; |
| + | border-right: 1px solid #CCC; |
| + | font-size: 95%; |
| } | | } |
− | .infobox.bordered td, | + | |
− | .infobox.bordered th { | + | table.ambox th.ambox-text, table.ambox td.ambox-text { |
− | border: 1px solid #aaa; | + | padding: 0.25em 0.5em; /* 0.5em left/right */ |
| + | width: 100%; /* Make all templates the same width regardless of text size */ |
| } | | } |
− | .infobox.bordered .borderless td, | + | table.ambox td.ambox-image { |
− | .infobox.bordered .borderless th { | + | padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */ |
− | border: 0; | + | text-align: center; |
| } | | } |
− |
| + | table.ambox td.ambox-imageright { |
− | .infobox.sisterproject { | + | padding: 2px 0.5em 2px 0; /* 0px left, 0.5em right */ |
− | width: 20em; | + | text-align: center; |
− | font-size: 90%; | |
| } | | } |
− | | + | table.ambox-notice {border-top: 5px solid #608EC2} /* Azul */ |
− | @media print {
| + | table.ambox-protection {border-top: 5px solid #bba} /* Gris */ |
− | .infobox.sisterproject {
| + | table.ambox-delete, |
− | display: none;
| + | table.ambox-serious {border-top: 5px solid #b22222} /* Rojo */ |
− | } | + | table.ambox-content {border-top: 5px solid #f28500} /* Naranja */ |
| + | table.ambox-style {border-top: 5px solid #f4c430} /* Amarillo */ |
| + | table.ambox-merge {border-top: 5px solid #8c08a4} /* Purpura */ |
| + | table.ambox-growth {border-top: 5px solid #47a30d} /* Verde */ |
| + | |
| + | table.ambox.ambox-mini { /* Versión pequeña flotante */ |
| + | float: right; |
| + | clear: right; |
| + | margin: 0 0 0 1em; |
| + | width: 25%; |
| } | | } |
− |
| + | |
− | /* Importo formato para versos de WikiSource | + | /* Ciertas cajas para discusión que NO son ambox (no tienen cinta de color) |
− | pre.verse {
| + | por ejemplo, la caja grande de artículo destacado */ |
− | background-color: #ffffff;
| + | .messagebox { |
− | font-family:sans-serif;
| + | border: 1px solid #aaa; |
− | line-height: 150%;
| + | background-color: #f9f9f9; |
− | border: none;
| + | width: 80%; |
− | padding-left: 2em;
| + | margin: 0 auto 1em auto; |
− | margin: 0;
| + | padding: .2em; |
− | white-space: pre;
| |
| } | | } |
− |
| + | .messagebox.merge { |
− | .IconoPlantillaMantenimiento { | + | border: 1px solid #c0b8cc; |
− | float:left;
| + | background-color: #f0e5ff; |
− | margin-left: 1em;
| + | text-align: center; |
− | margin-right: 1em;
| |
| } | | } |
− |
| + | .messagebox.cleanup { |
− | /* Support for Template:IPA, Template:Unicode and Template:Polytonic. The inherit declaration
| + | border: 1px solid #9f9fff; |
− | resets the font for all browsers except MSIE6. The empty comment must remain. */
| + | background-color: #efefff; |
− | .IPA {
| + | text-align: center; |
− | 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 { | + | .messagebox.standard-talk { |
− | font-family: TITUS Cyberbit Basic, Code2000, Doulos SIL, Chrysanthi Unicode,
| + | border: 1px solid #c0c090; |
− | Bitstream Cyberbit, Bitstream CyberBase, Thryomanes,
| + | background-color: #f8eaba; |
− | Gentium, GentiumAlt, Visual Geez Unicode, Lucida Grande,
| + | margin: 4px auto; |
− | 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. | | /** Estilos para tablas. |
− | ** EXPERIMENTAL **
| |
| la idea es, si se quiere que la primera columna de la tabla esté alineada | | 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 | | a la derecha, la segunda centrada y la tercera a la izquierda, usar |
| {| class="col1der col2cen col3izq" | | {| class="col1der col2cen col3izq" |
| en vez de repetir "style='text-align:right'", etc, en '''cada''' celda | | 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 |
| **/ | | **/ |
− | table.col1der TD:first-child { text-align:right; } | + | table.col1der TD:first-child {text-align:right} |
− | table.col1izq TD:first-child { text-align:left; } | + | table.col1izq TD:first-child {text-align:left} |
− | table.col1cen TD:first-child { text-align:center; } | + | table.col1cen TD:first-child {text-align:center} |
− |
| + | |
− | table.col2der TD:first-child + TD { text-align:right; } | + | table.col2der TD:first-child + TD {text-align:right} |
− | table.col2izq TD:first-child + TD { text-align:left; } | + | table.col2izq TD:first-child + TD {text-align:left} |
− | table.col2cen TD:first-child + TD { text-align:center; } | + | table.col2cen TD:first-child + TD {text-align:center} |
− |
| + | |
− | table.col3der TD:first-child + TD + TD { text-align:right; } | + | table.col3der TD:first-child + TD + TD {text-align:right} |
− | table.col3izq TD:first-child + TD + TD { text-align:left; } | + | table.col3izq TD:first-child + TD + TD {text-align:left} |
− | table.col3cen TD:first-child + TD + TD { text-align:center; } | + | table.col3cen TD:first-child + TD + TD {text-align:center} |
− |
| + | |
− | table.col4der TD:first-child + TD + TD + TD { text-align:right; } | + | table.col4der TD:first-child + TD + TD + TD {text-align:right} |
− | table.col4izq TD:first-child + TD + TD + TD { text-align:left; } | + | table.col4izq TD:first-child + TD + TD + TD {text-align:left} |
− | table.col4cen TD:first-child + TD + TD + TD { text-align:center; } | + | table.col4cen TD:first-child + TD + TD + TD {text-align:center} |
− |
| + | |
− | table.col5der TD:first-child + TD + TD + TD + TD { text-align:right; } | + | 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.col5izq TD:first-child + TD + TD + TD + TD {text-align:left} |
− | table.col5cen TD:first-child + TD + TD + TD + TD { text-align:center; } | + | table.col5cen TD:first-child + TD + TD + TD + TD {text-align:center} |
− |
| + | |
− | /* hiddenStructure importado de w:en para permitir esconder automáticamente | + | table.col6der TD:first-child + TD + TD + TD + TD + TD {text-align:right} |
− | los parámetros vacíos en tablas */ | + | table.col6izq TD:first-child + TD + TD + TD + TD + TD {text-align:left} |
− | .hiddenStructure { | + | table.col6cen TD:first-child + TD + TD + TD + TD + TD {text-align:center} |
− | display: none; | + | |
− | speak: none; | + | /* The backgrounds for galleries. */ |
| + | div#content .gallerybox div.thumb { |
| + | background-color: #F9F9F9; /* Light gray padding */ |
| + | } |
| + | /* Put a chequered background behind images, only visible if they have transparency */ |
| + | .gallerybox .thumb img { |
| + | /* @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. */ |
| + | .ns-0 .gallerybox .thumb img, |
| + | .ns-2 .gallerybox .thumb img, |
| + | .ns-100 .gallerybox .thumb img, |
| + | .nochecker .gallerybox .thumb img { |
| + | background: white; |
| + | } |
| + | |
| + | .abbr {/* al estilo de la etiqueta <abbr> */ |
| + | cursor: help; |
| + | border-bottom: 1px dotted #000; |
| + | } |
| + | |
| + | /* Aviso en espacios de trabajo de usuarios */ |
| + | |
| + | body.ns-2 div#contentSub > span.subpages:before, |
| + | body.ns-3 div#contentSub > span.subpages:before { |
| + | content: " ¡Atenció! Açò no és un artícul enciclopèdic, sino un espai de treball 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; |
| + | } |
| + | |
| + | /* 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, |
| + | span.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 table.mw-babel-wrapper { |
| + | float:none; |
| + | clear:none; |
| + | margin:0; |
| } | | } |
| | | |
− | /* Ayudita para [[Especial:Allpages]]: los redirects aparecen en cursiva */
| + | .babel-plain div.mw-babel-box { |
− | .allpagesredirect {font-style: italic;} | + | margin:0; |
− |
| |
− | /* Put a checker background at the image description page only visible
| |
− | if the image has transparent background */ | |
− |
| |
− | #file img {
| |
− | background: url(http://upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png)
| |
− | repeat;
| |
| } | | } |
| | | |
− | form#upload,.UploadFormShowed {display: none;}
| + | .babel-plain .mw-babel-header, |
− |
| + | .babel-plain .mw-babel-footer { |
− | /* Estilo para controlar el tamaño del texto citado.
| + | display:none; |
− | Quien quiera cambiar el suyo no tiene más que editar su propia monobook.css */
| |
− |
| |
− | .citado { | |
− | font-size: 90%; | |
− | padding: 0.1em;
| |
| } | | } |
− |
| + | .hiddenStructure { display: none; speak: none;} |
− |
| + | |
− | /* Disponibilidad para tareas de mantenimiento/Tablas por día/semana */ | + | |
− |
| + | |
− | table.user-availability {
| + | |
− | text-align:center;
| + | |
− | border:1px solid #333366;
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | /* CSS placed here will be applied to all skins */ |
| + | |
| + | /* Default style for navigation boxes */ |
| + | .navbox { /* Navbox container style */ |
| + | border: 1px solid #aaa; |
| + | width: 100%; |
| + | margin: auto; |
| + | clear: both; |
| + | font-size: 88%; |
| + | text-align: center; |
| + | padding: 1px; |
| } | | } |
− | table.user-availability th {
| + | .navbox-inner, |
− | font-size:110%
| + | .navbox-subgroup { |
| + | width: 100%; |
| } | | } |
− | table.user-availability .toprow td+td {
| + | .navbox-group, |
− | width:30px;
| + | .navbox-title, |
− | height:10px;
| + | .navbox-abovebelow { |
− | background-color:#eeeeee;
| + | padding: 0.25em 1em; /* Title, group and above/below styles */ |
− | border:1px solid #aaaaaa
| + | line-height: 1.5em; |
| + | text-align: center; |
| } | | } |
− | table.user-availability .off {
| + | th.navbox-group { /* Group style */ |
− | font-size:80%;
| + | white-space: nowrap; |
− | border:1px solid #aaaaaa;
| + | /* @noflip */ |
− | background-color:#ffffff;
| + | text-align: right; |
| } | | } |
− | table.user-availability .onn {
| + | .navbox, |
− | font-size:80%;
| + | .navbox-subgroup { |
− | border:1px solid #aaaaaa;
| + | background: #fdfdfd; /* Background color */ |
− | background-color:#ccffcc;
| |
| } | | } |
− | table.user-availability .wrk {
| + | .navbox-list { |
− | font-size:80%;
| + | line-height: 1.8em; |
− | border:1px solid #aaaaaa;
| + | border-color: #fdfdfd; /* Must match background color */ |
− | background-color:#ccccff; | |
| } | | } |
− | table.user-availability .cll {
| + | .navbox th, |
− | font-size:80%;
| + | .navbox-title { |
− | border:1px solid #aaaaaa;
| + | background: #ccccff; /* Level 1 color */ |
− | background-color:#ffffdd;
| |
| } | | } |
− | table.user-availability .key {
| + | .navbox-abovebelow, |
− | font-size:90%;
| + | th.navbox-group, |
− | border-top:1px dashed black;
| + | .navbox-subgroup .navbox-title { |
− | text-align:right
| + | background: #ddddff; /* Level 2 color */ |
| } | | } |
− | table.user-availability .key span {
| + | .navbox-subgroup .navbox-group, |
− | padding:2px
| + | .navbox-subgroup .navbox-abovebelow { |
| + | background: #e6e6ff; /* Level 3 color */ |
| } | | } |
− |
| + | .navbox-even { |
− | /* Change the external link icon to an Adobe icon for all PDF files */
| + | background: #f7f7f7; /* Even row striping */ |
− | /* (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(http://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;
| |
| } | | } |
− |
| + | .navbox-odd { |
− | /* Change the external link icon to an Adobe icon anywhere the PDFlink class */
| + | background: transparent; /* Odd row striping */ |
− | /* is used (notably Template:PDFlink). This works in IE, unlike the above. */
| |
− | span.PDFlink a {
| |
− | background: url(http://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;
| |
| } | | } |
− | | + | table.navbox + table.navbox { /* Single pixel border between adjacent navboxes */ |
− | /* make the list of references look smaller */ | + | margin-top: -1px; /* (doesn't work for IE6, but that's okay) */ |
− | ol.references {
| |
− | font-size: 100%;
| |
| } | | } |
− |
| + | .navbox .hlist td dl, |
− | .references-small { font-size: 90%;} | + | .navbox .hlist td ol, |
− |
| + | .navbox .hlist td ul, |
− | .references-2column { | + | .navbox td.hlist dl, |
− | font-size: 90%;
| + | .navbox td.hlist ol, |
| + | .navbox td.hlist ul { |
| + | padding: 0.125em 0; /* Adjust hlist padding in navboxes */ |
| } | | } |
− |
| + | ol + table.navbox, |
− | /* Highlight clicked reference in blue to help navigation */
| + | ul + table.navbox { |
− |
| + | margin-top: 0.5em; /* Prevent lists from clinging to navboxes */ |
− | ol.references > li:target {
| |
− | background-color: #DEF;
| |
| } | | } |
− |
| + | |
− | sup.reference:target {
| + | /* Default styling for Navbar template */ |
− | background-color: #DEF;
| + | .navbar { |
| + | display: inline; |
| + | font-size: 88%; |
| + | font-weight: normal; |
| } | | } |
− |
| + | .navbar ul { |
− | /*** Llamadas al pie:
| + | display: inline; |
− | esto oculta los corchetes
| |
− | (en los navegadores que entienden css)
| |
− | */
| |
− |
| |
− | .corchete-llamada { display /**/: none; }
| |
− |
| |
− | /* Ocultar para los no bibliotecarios */
| |
− | .para_biblios { display: none }
| |
− |
| |
− | .rotate_0 { display: block }
| |
− | .rotate_1, .rotate_2, .rotate_3, .rotate_4, .rotate_5, .rotate_6, .rotate_7, .rotate_8, .rotate_9 { display: none }
| |
− | /* Geographical coordinates
| |
− |
| |
− | 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 [[Template: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.
| |
− |
| |
− | */
| |
− |
| |
− | .geo-default { display: inline; }
| |
− | .geo-nondefault { display: none; }
| |
− | .geo-dms { display: inline; }
| |
− | .geo-dec { display: inline; }
| |
− | .geo-multi-punct { display: none; }
| |
− |
| |
− | .longitude .latitude {
| |
| white-space: nowrap; | | white-space: nowrap; |
| } | | } |
− |
| + | .navbar li { |
− | /* This is used for the Geo microformat, but no style is needed for now other than .geo-dec. */ | + | word-spacing: -0.125em; |
− | .geo { } | + | } |
− |
| + | .navbar.mini li span { |
− | /***** end Geo-related */ | + | font-variant: small-caps; |
− |
| + | } |
− | /*</nowiki></pre>*/ | + | /* Navbar styling when nested in infobox and navbox */ |
− |
| + | .infobox .navbar { |
− | /* [[Plantilla:Muchasref]] */ | + | font-size: 100%; |
− | @media screen, projection {
| + | } |
− |
| + | .navbox .navbar { |
− | .listareferencias {
| + | display: block; |
− | border: 1px solid #AAAAAA; | + | font-size: 100%; |
− | height: 220px; | + | } |
− | overflow: auto; | + | .navbox-title .navbar { |
− | padding: 3px; | + | /* @noflip */ |
− | }
| + | float: left; |
− |
| + | /* @noflip */ |
| + | text-align: left; |
| + | /* @noflip */ |
| + | margin-right: 0.5em; |
| + | width: 6em; |
| + | } |
| + | |
| + | /* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript |
| + | in [[MediaWiki:Common.js]] are styled here so they can be customised. */ |
| + | .collapseButton { |
| + | /* @noflip */ |
| + | float: right; |
| + | font-weight: normal; |
| + | /* @noflip */ |
| + | margin-left: 0.5em; |
| + | /* @noflip */ |
| + | text-align: right; |
| + | 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; |
| + | } |
| + | |
| + | /* Styling for JQuery makeCollapsible, matching that of collapseButton */ |
| + | .mw-collapsible-toggle { |
| + | font-weight: normal; |
| + | /* @noflip */ |
| + | text-align: right; |
| + | } |
| + | .navbox .mw-collapsible-toggle { |
| + | width: 6em; |
| + | } |
| + | .thumbcaption{ |
| + | text-align:center!important; |
| } | | } |