MediaWiki:FSF.css

De FSF
Revisión del 07:20 24 feb 2026 de Ely (discusión | contribs.)
(difs.) ← Revisión anterior | Revisión actual (difs.) | Revisión siguiente → (difs.)

Nota: Después de publicar, quizás necesite actualizar la caché de su navegador para ver los cambios.

  • Firefox/Safari: Mantenga presionada la tecla Shift mientras pulsa el botón Actualizar, o presiona Ctrl+F5 o Ctrl+R (⌘+R en Mac)
  • Google Chrome: presione Ctrl+Shift+R (⌘+Shift+R en Mac)
  • Edge: mantenga presionada Ctrl mientras pulsa Actualizar, o presione Ctrl+F5
/* ==========================================
   FSF — COMPACT MODE (alta densidad visual)
   ========================================== */

/* =====================================================
   FSF — Panel Diario arriba del TOC
   ===================================================== */

#toc::before {
    content: "";
    display: block;
}

/* Contenedor visual */
#toc {
    position: relative;
}

/* Espacio arriba del TOC */
#toc .fsf-panel-diario {
    margin-bottom: 12px;
}
/* --- --- --- --- --- --- --- --- --- */
/* ==========================================
   FSF PANEL DIARIO — Estilo Vivo
   ========================================== */

.fsf-panel-container {
    background: linear-gradient(135deg, #ffffff, #f6f9fb);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 14px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    font-size: 0.9em;
}

.fsf-panel-titulo {
    font-weight: bold;
    color: #004a6c;
    margin-bottom: 4px;
}

.fsf-panel-fecha {
    font-size: 0.85em;
    color: #8c6930;
    margin-bottom: 6px;
}

.fsf-panel-atajos a {
    color: #00527a;
    text-decoration: none;
}

.fsf-panel-atajos a:hover {
    color: #0093C9;
}

.fsf-panel-mensaje {
    margin-top: 8px;
    font-style: italic;
    opacity: 0.75;
}
/* --- --- --- --- --- --- --- --- --- */
/* --- --- --- --- --- --- --- --- --- */
/* --- --- --- --- --- --- --- --- --- */

/* --- Reducción global de espacios --- */
body,
#mw-content-text {
    line-height: 1.2 !important;            /* Más compacto sin perder lectura */
    font-size: 14px !important;             /* Ligera reducción general */
}

/* --- Párrafos sin salto grande --- */
#mw-content-text p {
    margin-top: 0.25em !important;
    margin-bottom: 0.25em !important;
    padding: 0 !important;
}

/* --- Simulación de <br> reducido --- */
br {
    display: block;
    margin-top: 0.15em !important;
    margin-bottom: 0.15em !important;
}

/* --- Listas más compactas --- */
ul, ol {
    margin-top: 0.25em !important;
    margin-bottom: 0.25em !important;
    padding-left: 0.2em !important; /* sin reducir demasiado la sangría */
}
li {
    margin: 0.15em 0 !important;
}

/* --- Encabezados compactados --- */
#mw-content-text h1,
#mw-content-text h2,
#mw-content-text h3,
#mw-content-text h4,
#mw-content-text h5,
#mw-content-text h6 {
    margin-top: 0.6em !important;
    margin-bottom: 0.3em !important;
    padding: 0 !important;
    line-height: 1.25 !important;
}

#mw-content-text h1 { font-size: 1.7em !important; }
#mw-content-text h2 { font-size: 1.45em !important; }
#mw-content-text h3 { font-size: 1.25em !important; }
#mw-content-text h4 { font-size: 1.25em !important; }
#mw-content-text h5 { font-size: 1.2em !important; }
#mw-content-text h6 { font-size: 1.1em !important; }

/* --- Tablas compactas --- */
table.wikitable td,
table.wikitable th {
    padding: 4px 6px !important;         /* Compactado elegante */
    line-height: 1.2 !important;
}
table.wikitable {
    margin-top: 0.6em !important;
    margin-bottom: 0.6em !important;
}

/* --- Caja TOC más compacta --- */
#toc {
    width: 400px !important;
    padding: 8px !important;
    margin-bottom: 0.5em !important;
}
#toc ul {
    margin-top: 0.2em !important;
    margin-bottom: 0.2em !important;
}
#toc ul li {
    margin: 0.15em 0 !important;
}

/* --- Bloques FSF más densos --- */
.fsf-caja,
.fsf-alerta,
.fsf-aviso {
    padding: 10px 12px !important;
    margin: 0.7em 0 !important;
}

/* --- Imágenes más ceñidas --- */
.thumb,
.thumbinner {
    margin-top: 0.4em !important;
    margin-bottom: 0.4em !important;
}

/* --- Ajuste de espacios en tablas complejas --- */
.mw-datatable td,
.mw-datatable th {
    padding: 3px 5px !important;
}

/* --- Reducir espacio entre secciones largas --- */
.mw-body {
    padding: 1em 1.6em !important;
}

/* ==========================================
   FSF — Compact Sidebar for Timeless
   ========================================== */

/* Texto general del sidebar */
#mw-site-navigation,
#mw-related-navigation {
    font-size: 10.0px !important;          /* Tamaño reducido */
    line-height: 1.1 !important;
}

/* Títulos del sidebar (secciones) */
#mw-site-navigation .sidebar-chunk h2,
#mw-related-navigation .sidebar-chunk h2 {
    font-size: 11px !important;
    margin-top: 0.3em !important;
    margin-bottom: 0.20em !important;
}

/* Enlaces individuales del sidebar */
#mw-site-navigation a,
#mw-related-navigation a {
    font-size: 11.0px !important;
    padding: 1px 0 !important;             /* Compacta la altura */
}

/* Menús desplegables del sidebar */
#mw-site-navigation ul,
#mw-related-navigation ul {
    margin-top: 0.15em !important;
    margin-bottom: 0.2em !important;
}
#mw-site-navigation li,
#mw-related-navigation li {
    margin: 0.10em 0 !important;
}

/* Caja completa del sidebar más delgada */
#mw-site-navigation,
#mw-related-navigation {
    padding: 6px 10px !important;
}

/* ==========================================
   FSF — Sidebar con tipografía delgada
   ========================================== */

#mw-site-navigation,
#mw-related-navigation {
    font-family:
        "Segoe UI Light",
        "Segoe UI",
        "San Francisco",
        "SF Pro Text",
        "Helvetica Neue",
        Roboto,
        "Noto Sans",
        Arial,
        sans-serif !important;

    font-weight: 300 !important;     /* Hace el texto delgado */
    font-size: 11.px !important;
    line-height: 1.1 !important;
}

/* Títulos del sidebar aún más estilizados */
#mw-site-navigation .sidebar-chunk h2,
#mw-related-navigation .sidebar-chunk h2 {
    font-weight: 400 !important;      /* Un poco más visible pero aún delgado */
    font-size: 12px !important;
}

/* Enlaces del sidebar finos */
#mw-site-navigation a,
#mw-related-navigation a {
    font-weight: 300 !important;      /* Ultra ligero */
    letter-spacing: 0.1px !important; /* Mejora claridad en pantallas pequeñas */
}

/* Sidebar principal más ancho en Timeless */
#mw-site-navigation,
#mw-related-navigation {
    flex: 0 0 11rem !important;   /* Flex-basis: 20rem ≈ 320px */
    max-width: 11rem !important;
    width: 11rem !important;
}


/* ==========================================
   FSF — Animaciones del Sidebar (4 variaciones)
   ========================================== */

/* Ajuste base para el hover */
#mw-site-navigation a,
#mw-related-navigation a {
    display: block !important;
    position: relative !important;
    transition: all 0.25s ease !important;
    padding: 2px 0 !important;
}

/* --- Animación 1: desplazamiento suave --- */
#mw-site-navigation li:nth-child(4n+1) a:hover,
#mw-related-navigation li:nth-child(4n+1) a:hover {
    transform: translateX(4px);
    color: #007bff !important;
}

/* --- Animación 2: subrayado deslizante --- */
#mw-site-navigation li:nth-child(4n+2) a::after,
#mw-related-navigation li:nth-child(4n+2) a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0%;
    height: 2px;
    background: #0099ff;
    transition: width 0.28s ease;
}
#mw-site-navigation li:nth-child(4n+2) a:hover::after,
#mw-related-navigation li:nth-child(4n+2) a:hover::after {
    width: 100%;
}

/* --- Animación 3: brillo lateral suave --- */
#mw-site-navigation li:nth-child(4n+3) a:hover,
#mw-related-navigation li:nth-child(4n+3) a:hover {
    background: linear-gradient(90deg, rgba(0,153,255,0.12), transparent);
    padding-left: 4px !important;
}

/* --- Animación 4: zoom-in elegante --- */
#mw-site-navigation li:nth-child(4n+4) a:hover,
#mw-related-navigation li:nth-child(4n+4) a:hover {
    transform: scale(1.04);
    color: #0056cc !important;
}