Diferencia entre revisiones de «MediaWiki:FSF.css»
De FSF
Página creada con «→========================================== FSF — COMPACT MODE (alta densidad visual) ==========================================: →--- Reducción global de espacios ---: body, #mw-content-text { line-height: 1.2 !important; →Más compacto sin perder lectura: font-size: 15px !important; →Ligera reducción general: } →--- Párrafos sin salto grande ---: #mw-content-text p { margin-top: 0.25em !important;…» |
Sin resumen de edición |
||
| Línea 103: | Línea 103: | ||
.mw-body { | .mw-body { | ||
padding: 1em 1.6em !important; | padding: 1em 1.6em !important; | ||
} | |||
/* ========================================== | |||
FSF — Compact Sidebar for Timeless | |||
========================================== */ | |||
/* Texto general del sidebar */ | |||
#mw-site-navigation, | |||
#mw-related-navigation { | |||
font-size: 12.5px !important; /* Tamaño reducido */ | |||
line-height: 1.25 !important; | |||
} | |||
/* Títulos del sidebar (secciones) */ | |||
#mw-site-navigation .sidebar-chunk h2, | |||
#mw-related-navigation .sidebar-chunk h2 { | |||
font-size: 13px !important; | |||
margin-top: 0.4em !important; | |||
margin-bottom: 0.25em !important; | |||
} | |||
/* Enlaces individuales del sidebar */ | |||
#mw-site-navigation a, | |||
#mw-related-navigation a { | |||
font-size: 12.5px !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; | |||
} | } | ||
Revisión del 09:19 7 dic 2025
/* ==========================================
FSF — COMPACT MODE (alta densidad visual)
========================================== */
/* --- Reducción global de espacios --- */
body,
#mw-content-text {
line-height: 1.2 !important; /* Más compacto sin perder lectura */
font-size: 15px !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: 1.4em !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.1em !important; }
#mw-content-text h5 { font-size: 1em !important; }
#mw-content-text h6 { font-size: .95em !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: 260px !important;
padding: 8px !important;
margin-bottom: 0.8em !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: 12.5px !important; /* Tamaño reducido */
line-height: 1.25 !important;
}
/* Títulos del sidebar (secciones) */
#mw-site-navigation .sidebar-chunk h2,
#mw-related-navigation .sidebar-chunk h2 {
font-size: 13px !important;
margin-top: 0.4em !important;
margin-bottom: 0.25em !important;
}
/* Enlaces individuales del sidebar */
#mw-site-navigation a,
#mw-related-navigation a {
font-size: 12.5px !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;
}