|
|
Línea 1: |
Línea 1: |
| /* Los estilos CSS colocados aquí se aplicarán a todas las apariencias */ | | /* Los estilos CSS colocados aquí se aplicarán a todas las apariencias */ |
|
| |
| body.page-Página_principal.action-view h1.firstHeading, body.page-Página_principal.action-submit h1.firstHeading { display: none; }
| |
|
| |
| /* Infobox template style */
| |
| .infobox {
| |
| border: 1px solid #aaaaaa;
| |
| background-color: #f9f9f9;
| |
| color: black;
| |
| margin-bottom: 0.5em;
| |
| margin-left: 1em;
| |
| padding: 0.2em;
| |
| float: right;
| |
| clear: right;
| |
| }
| |
| .infobox caption {
| |
| font-size: larger;
| |
| margin-left: inherit;
| |
| }
| |
| .infobox.bordered {
| |
| border-collapse: collapse;
| |
| }
| |
| .infobox.bordered td,
| |
| .infobox.bordered th {
| |
| border: 1px solid #aaaaaa;
| |
| }
| |
| .infobox.bordered .borderless td,
| |
| .infobox.bordered .borderless th {
| |
| border: 0;
| |
| }
| |
|
| |
| .infobox.sisterproject {
| |
| width: 20em;
| |
| font-size: 90%;
| |
| }
| |
|
| |
| /* Importo formato para versos de WikiSource */
| |
| pre.verse {
| |
| background-color: #ffffff;
| |
| font-family: sans-serif;
| |
| line-height: 150%;
| |
| border: none;
| |
| padding-left: 2em;
| |
| margin: 0;
| |
| white-space: pre;
| |
| }
| |
|
| |
| .IconoPlantillaMantenimiento {
| |
| float: left;
| |
| margin-left: 1em;
| |
| margin-right: 1em;
| |
| }
| |
|
| |
| /* hiddenStructure importado de w:en para permitir esconder automáticamente los parámetros vacíos en tablas */
| |
| .hiddenStructure {
| |
| display: none;
| |
| speak: none;
| |
| }
| |
|
| |
| /* Permite definir fichas en recuadro, junto con las clases "izquierda" y "derecha" */
| |
| .recuadro {
| |
| margin: 0 0 1ex 1em;
| |
| width: 250px;
| |
| background: #f7f8ff;
| |
| border: 1px solid #88a;
| |
| border-collapse: collapse;
| |
| font-size: 95%;
| |
| }
| |
| .recuadro caption {
| |
| font-size: 120%;
| |
| font-weight: bold;
| |
| }
| |
| .derecha { float: right; }
| |
| .izquierda { float: left; }
| |
|
| |
| /* Complemento de {{tablabonita}}. Usando una clase CSS se puede predefinir un estilo para las celdas de encabezado */
| |
| .bonita {
| |
| margin: 1ex 0.5em;
| |
| padding: 0.5em;
| |
| background: #f9f9f9;
| |
| border: 1px #aaa solid;
| |
| border-collapse: collapse;
| |
| font-size: 95%;
| |
| }
| |
| .bonita th {
| |
| background: #cccccc;
| |
| }
| |
|
| |
| /* Hay consenso en evitar subidas locales de archivos. Trampas CSS para ocultar a los novatos que se pueden subir archivos. */
| |
| #t-upload, #mw-upload-form {
| |
| display: none;
| |
| speak: none;
| |
| }
| |
|
| |
| /* Poner en cursiva los redirects de [[Especial:Allpages]] */
| |
| .allpagesredirect {
| |
| font-style: italic;
| |
| }
| |
| .portal-columna-izquierda {
| |
| float: left;
| |
| width: 50%;
| |
| }
| |
| .portal-columna-derecha {
| |
| float: right;
| |
| width: 49%;
| |
| }
| |
| .portal-columna-izquierda-ancha {
| |
| float: left;
| |
| width: 60%;
| |
| }
| |
| .portal-columna-derecha-angosta {
| |
| float: right;
| |
| width: 39%;
| |
| }
| |
| .portal-columna-izquierda-extra-ancha {
| |
| float: left;
| |
| width: 70%;
| |
| }
| |
| .portal-columna-derecha-extra-angosta {
| |
| float: right;
| |
| width: 29%;
| |
| }
| |
| @media only screen and (max-width: 800px) {
| |
| /* Colocar los elementos en una sola columna si la pantalla es angosta */
| |
| .portal-columna-izquierda,
| |
| .portal-columna-derecha,
| |
| .portal-columna-izquierda-ancha,
| |
| .portal-columna-derecha-angosta,
| |
| .portal-columna-izquierda-extra-ancha,
| |
| .portal-columna-derecha-extra-angosta {
| |
| float: inherit;
| |
| width: inherit;
| |
| }
| |
| }
| |
|
| |
| /* Ocultar el título de la página en la Portada */
| |
| body.page-Portada h1.firstHeading {
| |
| display:none;
| |
| }
| |
|
| |
| /** 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: center;
| |
| }
| |
| table.ambox .ambox-imageright {
| |
| 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;
| |
| background-color: #efefff;
| |
| text-align: center;
| |
| }
| |
| .messagebox.standard-talk {
| |
| border: 1px solid #c0c090;
| |
| background-color: #f8eaba;
| |
| margin: 4px auto;
| |
| }
| |
| .messagebox.warning {
| |
| border: 1px solid #fcc;
| |
| background-color: #fee;
| |
| text-align: center;
| |
| font-size: 100%;
| |
| }
| |