Ir al contenido

Diferencia entre revisiones de «MediaWiki:Common.css»

Sin resumen de edición
Etiqueta: Revertido
Sin resumen de edición
Etiquetas: Reversión manual Revertido
Línea 1: Línea 1:
/*
/*
  * ===================================================================
  * ===================================================================
  * INICIANDO PROTOCOLO DE ESTILO: CÓDIGO LYOKO
  * HOJA DE ESTILO: VERSIÓN "EL TESORO DEL REY DE LOS PIRATAS"
  * INTERFAZ DEL SUPERORDENADOR - ACCESO AUTORIZADO
  * Inspirado en el mundo de One Piece. ¡Al abordaje!
  *
  *
  * ...
  * ,n                      ,_
  * ;::::;
  * d'b                    ,d'
  * ;::::; :;
* d'`b                  d'`b
  * ;:::::'  :;
  * d'` `b                d'` `b
  * ;:::::;     ;.
  * d'`  `b              d'`   `b
  * ,:::::'      ;           OOO
  * d'`     `b            d'`    `b
  * ::::::;      ;          OOOOO
  * d'`       `b           d'`      `b
  * ;:::::;       ;        OOOOOOOO
  * d'        `b        d'        `b
  * ,;::::::;     ;'        / OOOOOOO
  * /            `\       /            `\
  * ;:::::::::`. ,,,;.        / / DOOOOOO
  * /              `\     /             `\
  * ,::::::::::::;,,,,,,.      /  /     DOOOO
  * /________________`\  /________________`\
  * ::::::::::::::;,,,,,,,.  /  /       DOOO
  * `"""""""""""""""`     `"""""""""""""""`
  * ;:::::::::::::;,,,,,,,,. /  /         DO O
  * /""""\  /^\ /""""\
  * ;:::::::::::::;,,,,,,,,, /  /          D O
  * \    /  \_/  \    /
  * ::::::::::::::;,,,,,,,,,/ /           D
  * |  |  /   \ |  |
  * `:::::::::::::;,,,,,,,' /
  * |  | \  /  | |
  * `::::::::::;,,,,,,,' /
  * \    / /"""\ \    /
  * `::::::::;,,,,,' /
  * \__/ /    \ \__/
  * `:::::;,,,'  /
  * /       \
  * `::;,'  /
  * /_________\
  *
  *
  * ===================================================================
  * ===================================================================
  */
  */


/* Fuentes digitales para la inmersión total */
/* Importamos una fuente con sabor a aventura para los títulos */
@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&family=VT323&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Pirata+One&family=Merriweather:ital,wght@0,400;0,700;1,400&display=swap');


/* --- Variables Globales del Sistema --- */
/* --- Variables del Tesoro (Paleta de Colores y Fuentes) --- */
:root {
:root {
     --color-cyan-interfaz: #00ffff;
     --color-mar-profundo: #0a1f44; /* Azul oscuro del Grand Line */
     --color-verde-terminal: #39ff14;
     --color-oro-tesoro: #ffd700; /* Oro puro de Skypiea */
     --color-amarillo-aelita: #fefe44;
     --color-madera-sunny: #6b4a3a; /* Madera del Thousand Sunny */
     --color-fondo-digital: #030814;
     --color-pergamino: #fdf5e6; /* Color de un mapa antiguo */
     --color-transparencia-bg: rgba(10, 25, 47, 0.85);
     --color-tinta-mapa: #3a322d; /* Tinta para las leyendas */
     --color-texto-base: #c8d8f0;
     --color-vela-barco: #f5f5dc; /* Blanco de las velas */
 
     --color-bandera-roja: #d11a2a; /* Rojo de la bandera pirata */
     --fuente-terminal: 'Share Tech Mono', monospace;
   
     --fuente-pixel: 'VT323', monospace;
     --fuente-pirata: 'Pirata One', cursive; /* Para gritar ¡SOY EL REY DE LOS PIRATAS! */
 
     --fuente-bitacora: 'Merriweather', serif; /* Para el texto del cuerpo, como una bitácora */
     --sombra-neon-cyan: 0 0 5px var(--color-cyan-interfaz),
      
                      0 0 10px var(--color-cyan-interfaz),
     --sombra-caja: 5px 5px 15px rgba(0, 0, 0, 0.4);
                      0 0 20px var(--color-cyan-interfaz),
     --borde-madera: 4px solid var(--color-madera-sunny);
                      0 0 40px rgba(0, 255, 255, 0.5);
    --sombra-texto-neon-cyan: 0 0 4px var(--color-cyan-interfaz);
    --sombra-texto-neon-verde: 0 0 5px var(--color-verde-terminal);
}
 
/* --- Definición de Animaciones --- */
@keyframes scanline {
     0% { background-position: 0 0; }
     100% { background-position: 0 100%; }
}
 
@keyframes glitch {
    0%, 100% { text-shadow: var(--sombra-texto-neon-cyan); clip-path: inset(0 0 0 0); }
    5% { clip-path: inset(0.5em 0 0.2em 0); }
    10% { text-shadow: 2px 0 var(--color-amarillo-aelita), -2px 0 var(--color-verde-terminal); clip-path: inset(0.2em 0 0.8em 0); }
     15% { clip-path: inset(0.9em 0 0.1em 0); }
    20% { text-shadow: var(--sombra-texto-neon-cyan); clip-path: inset(0.1em 0 0.5em 0); }
    /* ... (más pasos para un glitch más complejo) */
}
 
@keyframes flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}
 
/* --- Estilo del Cuerpo (El Mar Digital) --- */
html {
    background-color: var(--color-fondo-digital);
}
}


/* --- Estilo General del Cuerpo (El Océano) --- */
body {
body {
     background-color: transparent;
     background-color: var(--color-pergamino);
     background-image:  
     background-image: url('https://www.transparenttextures.com/patterns/old-paper.png'); /* Textura sutil de papel viejo */
        linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
     font-family: var(--fuente-bitacora);
        linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
     color: var(--color-tinta-mapa);
    background-size: 100% 4px, 6px 100%;
     line-height: 1.6;
     font-family: var(--fuente-terminal);
     color: var(--color-texto-base);
     animation: scanline 10s linear infinite;
    text-shadow: 0 0 2px rgba(200, 216, 240, 0.5);
}
}


/* --- Encabezados (Comandos del Sistema) --- */
/* --- Encabezados (Gritos de Guerra) --- */
h1, h2, h3 {
h1, h2, h3, h4, h5, h6 {
     font-family: var(--fuente-pixel);
     font-family: var(--fuente-pirata);
     color: var(--color-cyan-interfaz);
     color: var(--color-mar-profundo);
    text-shadow: var(--sombra-texto-neon-cyan);
     letter-spacing: 1.5px;
     letter-spacing: 2px;
     border-bottom: 2px dashed var(--color-madera-sunny);
    text-transform: uppercase;
     border-bottom: 1px solid var(--color-cyan-interfaz);
     padding-bottom: 10px;
     padding-bottom: 10px;
    margin-bottom: 1em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}
}


h1 {
h1 { font-size: 3.5em; }
    font-size: 3em;
h2 { font-size: 2.8em; }
    animation: glitch 3s infinite;
h3 { font-size: 2.2em; }
}
 
h2::before {
    content: '>$ ';
    color: var(--color-verde-terminal);
    animation: flicker 1.5s infinite;
}


/* --- Enlaces (Hipervínculos Virtuales) --- */
/* --- Enlaces (Rutas en el Mapa) --- */
a {
a {
     color: var(--color-amarillo-aelita);
     color: var(--color-mar-profundo);
     text-decoration: none;
     text-decoration: none;
     font-weight: bold;
     font-weight: bold;
     text-shadow: 0 0 4px var(--color-amarillo-aelita);
     border-bottom: 1px dotted var(--color-mar-profundo);
     transition: all 0.2s ease;
     transition: all 0.3s ease-in-out;
}
}


a:hover, a:focus {
a:hover, a:focus {
     color: var(--color-fondo-digital);
     color: var(--color-oro-tesoro);
     background-color: var(--color-amarillo-aelita);
     background-color: var(--color-mar-profundo);
     box-shadow: 0 0 10px var(--color-amarillo-aelita);
     border-bottom-color: var(--color-oro-tesoro);
     padding: 2px 4px;
     padding: 2px 4px;
    border-radius: 3px;
}
}


/*
/*
  * ===================================================================
  * ===================================================================
  * LA FICHA DE INFO (INFOBOX) - MONITOR CENTRAL DEL SUPERORDENADOR
  * LA FICHA DE INFO (INFOBOX) - ¡EL CARTEL DE "SE BUSCA"!
  * ===================================================================
  * ===================================================================
  */
  */
Línea 134: Línea 97:
     float: right;
     float: right;
     clear: right;
     clear: right;
     width: 24em;
     width: 25em; /* Un poco más ancho para el dramatismo */
     margin: 0.5em 0 0.5em 1.5em;
     margin: 0.5em 0 0.5em 1.5em;
     padding: 0; /* Padding gestionado por elementos internos */
     padding: 10px;
      
      
     background-color: var(--color-transparencia-bg);
     background-color: var(--color-vela-barco);
     border: 2px solid var(--color-cyan-interfaz);
    background-image: url('https://www.transparenttextures.com/patterns/paper-fibers.png');
     box-shadow: var(--sombra-neon-cyan);
     border: var(--borde-madera);
    border-radius: 8px;
     box-shadow: var(--sombra-caja);
      
      
     font-size: 95%;
     font-size: 92%;
     border-radius: 0; /* Bordes afilados, tecnológicos */
     color: var(--color-tinta-mapa);
     clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%); /* Esquina cortada */
     transition: transform 0.3s ease, box-shadow 0.3s ease;
}
}


/* Título de la ficha - Nombre del Programa */
.infobox:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.5);
}
 
/* Título de la ficha - El nombre del pirata buscado */
.infobox .infobox-title,
.infobox .infobox-title,
.infobox .infobox-above,
.infobox .infobox-above,
.infobox caption {
.infobox caption {
     font-family: var(--fuente-pixel);
     font-family: var(--fuente-pirata);
     font-size: 1.5em;
     font-size: 200%;
    font-weight: normal; /* La fuente ya es suficientemente audaz */
     text-align: center;
     text-align: center;
     color: var(--color-verde-terminal);
     color: var(--color-vela-barco);
     text-shadow: var(--sombra-texto-neon-verde);
     background-color: var(--color-madera-sunny);
     background-color: rgba(0, 255, 255, 0.1);
     padding: 0.5em 0.2em;
     padding: 0.8em 0.5em;
    margin: -11px -11px 10px -11px; /* Para que ocupe todo el ancho */
     border-radius: 3px 3px 0 0;
    text-shadow: 2px 2px 3px #000;
    letter-spacing: 2px;
     text-transform: uppercase;
     text-transform: uppercase;
    letter-spacing: 3px;
    border-bottom: 1px solid var(--color-cyan-interfaz);
}
}


/* Cabeceras y subcabeceras - Categorías del botín */
.infobox .infobox-header,
.infobox .infobox-header,
.infobox .infobox-subheader {
.infobox .infobox-subheader {
     background-color: rgba(0, 255, 255, 0.15);
     background-color: #e0d7c8; /* Un tono de pergamino más oscuro */
     color: var(--color-cyan-interfaz);
     font-weight: bold;
     text-align: center;
     text-align: center;
     padding: 0.5em;
     border-top: 1px solid var(--color-madera-sunny);
    border-bottom: 1px solid var(--color-madera-sunny);
}
}


/* Celdas de datos */
/* Etiquetas y Datos - Detalles de la recompensa */
.infobox .infobox-label,
.infobox .infobox-label,
.infobox th,
.infobox th {
    font-weight: bold;
    padding-right: 0.8em;
    text-align: left;
    color: var(--color-mar-profundo);
}
 
.infobox .infobox-data,
.infobox .infobox-data,
.infobox td {
.infobox td {
     padding: 0.6em 1em;
     text-align: left;
    border-top: 1px dashed rgba(0, 255, 255, 0.3);
}
}


.infobox .infobox-label,
/* La barra de navegación (v-d-e) se hace más sutil */
.infobox th {
.infobox .infobox-navbar {
     color: var(--color-cyan-interfaz);
     font-size: 80%;
     font-weight: bold;
    text-align: right;
     padding-top: 5px;
}
}


/* --- Tablas (Grids de Datos) --- */
/* --- Tablas (Manifiesto de Carga) --- */
.wikitable {
.wikitable {
     background: transparent;
     background-color: var(--color-vela-barco);
     border: 1px solid var(--color-verde-terminal);
     border: 2px solid var(--color-madera-sunny);
     border-collapse: collapse;
     border-collapse: collapse;
    box-shadow: var(--sombra-caja);
     margin: 1.5em auto;
     margin: 1.5em auto;
}
}


.wikitable th, .wikitable td {
.wikitable > caption {
     border: 1px solid var(--color-verde-terminal);
    font-family: var(--fuente-pirata);
    font-size: 1.5em;
    color: var(--color-mar-profundo);
    padding: 0.5em;
}
 
.wikitable th {
     background-color: var(--color-madera-sunny);
    color: var(--color-vela-barco);
     padding: 0.8em;
     padding: 0.8em;
     text-align: center;
     border: 1px solid #4a342a;
    font-weight: bold;
}
 
.wikitable td {
    padding: 0.6em;
    border: 1px dashed #c5b8a5; /* Líneas punteadas como en un viejo libro */
}
}


.wikitable th {
/* Filas alternas, como tablones de madera */
    color: var(--color-verde-terminal);
.wikitable tr:nth-of-type(even) {
    font-family: var(--fuente-pixel);
     background-color: #f0eae0;  
     text-shadow: var(--sombra-texto-neon-verde);
}
}


/* --- Citas (Registros de Sistema / Mensajes de Franz Hopper) --- */
/* --- Citas y Referencias (Leyendas y Anotaciones del Mapa) --- */
blockquote {
blockquote {
     margin: 1.5em 10px;
    overflow: hidden;
     padding: 1em;
     margin: 1.5em 40px;
    background-color: var(--color-transparencia-bg);
     padding: 1em 2em;
     border-left: 3px solid var(--color-verde-terminal);
     border-left: 5px solid var(--color-oro-tesoro);
     border-right: 3px solid var(--color-verde-terminal);
     background: #faf5eb;
    color: var(--color-verde-terminal);
     font-style: italic;
     font-family: var(--fuente-terminal);
     font-size: 1.1em;
     font-size: 1.1em;
    position: relative;
}
}


blockquote::before {
blockquote::before {
     content: 'LOG_ENTRY: ';
     content: '“';
     color: var(--color-texto-base);
    font-family: var(--fuente-pirata);
    font-size: 4em;
     color: var(--color-oro-tesoro);
    opacity: 0.5;
    position: absolute;
    left: 10px;
    top: -10px;
}
}


/* --- Barra de Desplazamiento Digital --- */
ol.references {
    font-size: 90%;
    background: #f7f2e9;
    padding: 1em 1em 1em 3em;
    border: 1px solid #e0d7c8;
    border-radius: 5px;
}
 
/* ¡Y un último toque pirata para la barra de desplazamiento! */
::-webkit-scrollbar {
::-webkit-scrollbar {
     width: 12px;
     width: 12px;
     background-color: var(--color-fondo-digital);
}
 
::-webkit-scrollbar-track {
     background: var(--color-pergamino);
    border-left: 1px solid var(--color-madera-sunny);
}
}


::-webkit-scrollbar-thumb {
::-webkit-scrollbar-thumb {
     background-color: var(--color-cyan-interfaz);
     background: var(--color-madera-sunny);
     box-shadow: var(--sombra-neon-cyan);
     border-radius: 6px;
    border: 2px solid var(--color-oro-tesoro);
}
}


::-webkit-scrollbar-track {
::-webkit-scrollbar-thumb:hover {
     border: 1px solid var(--color-cyan-interfaz);
     background: #8a6a5a;
}
}

Revisión del 22:16 21 sep 2025

/*
 * ===================================================================
 * HOJA DE ESTILO: VERSIÓN "EL TESORO DEL REY DE LOS PIRATAS"
 * Inspirado en el mundo de One Piece. ¡Al abordaje!
 *
 * ,n                      ,_
 * d'b                    ,d'
 * d'`b                   d'`b
 * d'` `b                 d'` `b
 * d'`   `b               d'`   `b
 * d'`     `b             d'`     `b
 * d'`       `b           d'`       `b
 * d'         `b         d'         `b
 * /            `\       /            `\
 * /              `\     /              `\
 * /________________`\   /________________`\
 * `"""""""""""""""`     `"""""""""""""""`
 * /""""\  /^\  /""""\
 * \    /  \_/  \    /
 * |  |  /   \  |  |
 * |  |  \   /  |  |
 * \    /  /"""\ \    /
 * \__/  /     \ \__/
 * /       \
 * /_________\
 *
 * ===================================================================
 */

/* Importamos una fuente con sabor a aventura para los títulos */
@import url('https://fonts.googleapis.com/css2?family=Pirata+One&family=Merriweather:ital,wght@0,400;0,700;1,400&display=swap');

/* --- Variables del Tesoro (Paleta de Colores y Fuentes) --- */
:root {
    --color-mar-profundo: #0a1f44; /* Azul oscuro del Grand Line */
    --color-oro-tesoro: #ffd700; /* Oro puro de Skypiea */
    --color-madera-sunny: #6b4a3a; /* Madera del Thousand Sunny */
    --color-pergamino: #fdf5e6; /* Color de un mapa antiguo */
    --color-tinta-mapa: #3a322d; /* Tinta para las leyendas */
    --color-vela-barco: #f5f5dc; /* Blanco de las velas */
    --color-bandera-roja: #d11a2a; /* Rojo de la bandera pirata */
    
    --fuente-pirata: 'Pirata One', cursive; /* Para gritar ¡SOY EL REY DE LOS PIRATAS! */
    --fuente-bitacora: 'Merriweather', serif; /* Para el texto del cuerpo, como una bitácora */
    
    --sombra-caja: 5px 5px 15px rgba(0, 0, 0, 0.4);
    --borde-madera: 4px solid var(--color-madera-sunny);
}

/* --- Estilo General del Cuerpo (El Océano) --- */
body {
    background-color: var(--color-pergamino);
    background-image: url('https://www.transparenttextures.com/patterns/old-paper.png'); /* Textura sutil de papel viejo */
    font-family: var(--fuente-bitacora);
    color: var(--color-tinta-mapa);
    line-height: 1.6;
}

/* --- Encabezados (Gritos de Guerra) --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--fuente-pirata);
    color: var(--color-mar-profundo);
    letter-spacing: 1.5px;
    border-bottom: 2px dashed var(--color-madera-sunny);
    padding-bottom: 10px;
    margin-bottom: 1em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

h1 { font-size: 3.5em; }
h2 { font-size: 2.8em; }
h3 { font-size: 2.2em; }

/* --- Enlaces (Rutas en el Mapa) --- */
a {
    color: var(--color-mar-profundo);
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px dotted var(--color-mar-profundo);
    transition: all 0.3s ease-in-out;
}

a:hover, a:focus {
    color: var(--color-oro-tesoro);
    background-color: var(--color-mar-profundo);
    border-bottom-color: var(--color-oro-tesoro);
    padding: 2px 4px;
    border-radius: 3px;
}

/*
 * ===================================================================
 * LA FICHA DE INFO (INFOBOX) - ¡EL CARTEL DE "SE BUSCA"!
 * ===================================================================
 */
.infobox {
    float: right;
    clear: right;
    width: 25em; /* Un poco más ancho para el dramatismo */
    margin: 0.5em 0 0.5em 1.5em;
    padding: 10px;
    
    background-color: var(--color-vela-barco);
    background-image: url('https://www.transparenttextures.com/patterns/paper-fibers.png');
    border: var(--borde-madera);
    border-radius: 8px;
    box-shadow: var(--sombra-caja);
    
    font-size: 92%;
    color: var(--color-tinta-mapa);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.infobox:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.5);
}

/* Título de la ficha - El nombre del pirata buscado */
.infobox .infobox-title,
.infobox .infobox-above,
.infobox caption {
    font-family: var(--fuente-pirata);
    font-size: 200%;
    font-weight: normal; /* La fuente ya es suficientemente audaz */
    text-align: center;
    color: var(--color-vela-barco);
    background-color: var(--color-madera-sunny);
    padding: 0.5em 0.2em;
    margin: -11px -11px 10px -11px; /* Para que ocupe todo el ancho */
    border-radius: 3px 3px 0 0;
    text-shadow: 2px 2px 3px #000;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Cabeceras y subcabeceras - Categorías del botín */
.infobox .infobox-header,
.infobox .infobox-subheader {
    background-color: #e0d7c8; /* Un tono de pergamino más oscuro */
    font-weight: bold;
    text-align: center;
    border-top: 1px solid var(--color-madera-sunny);
    border-bottom: 1px solid var(--color-madera-sunny);
}

/* Etiquetas y Datos - Detalles de la recompensa */
.infobox .infobox-label,
.infobox th {
    font-weight: bold;
    padding-right: 0.8em;
    text-align: left;
    color: var(--color-mar-profundo);
}

.infobox .infobox-data,
.infobox td {
    text-align: left;
}

/* La barra de navegación (v-d-e) se hace más sutil */
.infobox .infobox-navbar {
    font-size: 80%;
    text-align: right;
    padding-top: 5px;
}

/* --- Tablas (Manifiesto de Carga) --- */
.wikitable {
    background-color: var(--color-vela-barco);
    border: 2px solid var(--color-madera-sunny);
    border-collapse: collapse;
    box-shadow: var(--sombra-caja);
    margin: 1.5em auto;
}

.wikitable > caption {
    font-family: var(--fuente-pirata);
    font-size: 1.5em;
    color: var(--color-mar-profundo);
    padding: 0.5em;
}

.wikitable th {
    background-color: var(--color-madera-sunny);
    color: var(--color-vela-barco);
    padding: 0.8em;
    border: 1px solid #4a342a;
    font-weight: bold;
}

.wikitable td {
    padding: 0.6em;
    border: 1px dashed #c5b8a5; /* Líneas punteadas como en un viejo libro */
}

/* Filas alternas, como tablones de madera */
.wikitable tr:nth-of-type(even) {
    background-color: #f0eae0; 
}

/* --- Citas y Referencias (Leyendas y Anotaciones del Mapa) --- */
blockquote {
    overflow: hidden;
    margin: 1.5em 40px;
    padding: 1em 2em;
    border-left: 5px solid var(--color-oro-tesoro);
    background: #faf5eb;
    font-style: italic;
    font-size: 1.1em;
    position: relative;
}

blockquote::before {
    content: '“';
    font-family: var(--fuente-pirata);
    font-size: 4em;
    color: var(--color-oro-tesoro);
    opacity: 0.5;
    position: absolute;
    left: 10px;
    top: -10px;
}

ol.references {
    font-size: 90%;
    background: #f7f2e9;
    padding: 1em 1em 1em 3em;
    border: 1px solid #e0d7c8;
    border-radius: 5px;
}

/* ¡Y un último toque pirata para la barra de desplazamiento! */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--color-pergamino);
    border-left: 1px solid var(--color-madera-sunny);
}

::-webkit-scrollbar-thumb {
    background: var(--color-madera-sunny);
    border-radius: 6px;
    border: 2px solid var(--color-oro-tesoro);
}

::-webkit-scrollbar-thumb:hover {
    background: #8a6a5a;
}