MediaWiki:Common.css
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
/* Fondo general y tipografía */ body { background-color: #f2f2f2; font-family: 'Segoe UI', 'Helvetica Neue', sans-serif; color: #333; } /* Contenido principal */ #content { background-color: #fff; padding: 30px; margin: 20px auto; border-radius: 12px; box-shadow: 0 0 10px rgba(0,0,0,0.1); max-width: 1200px; } /* Cabecera de títulos */ .firstHeading { font-size: 2rem; font-weight: bold; color: #2b4a6d; border-bottom: 2px solid #ddd; margin-bottom: 20px; } /* Tabla de contenido */ #toc { background-color: #eef4ff; border: 1px solid #cddaf1; padding: 10px; border-radius: 8px; } /* Enlaces */ a { color: #1e70bf; text-decoration: none; } a:hover { text-decoration: underline; } /* Panel lateral */ #mw-panel { background-color: #2b3e50; padding-top: 10px; } #mw-panel a { color: #ccc !important; font-weight: 500; } #mw-panel a:hover { color: #fff !important; } /* Quitar logo grande si no se usa */ #p-logo { display: none; } /* Footer */ #footer { display: none; } /* Botones */ input[type="submit"], input[type="button"], button { background-color: #2b4a6d; color: white; border: none; padding: 8px 16px; border-radius: 8px; cursor: pointer; } input[type="submit"]:hover, input[type="button"]:hover, button:hover { background-color: #1e324f; } /* Estilo para encabezados H2 y H3 */ h2, h3 { border-left: 5px solid #ffb400; padding-left: 10px; margin-top: 30px; color: #2b4a6d; } /* Botones con íconos */ .button-icon { display: inline-flex; align-items: center; gap: 8px; background: #2b4a6d; color: white; padding: 8px 12px; border-radius: 8px; text-decoration: none; font-weight: 600; transition: background 0.2s ease; } .button-icon:hover { background: #1e324f; } /* Iconos dentro de los botones (usando emojis como alternativa) */ .button-icon::before { content: '🔹'; } /* Cajas tipo aviso/información */ .box-info { background: #eef4ff; border-left: 5px solid #1e70bf; padding: 15px; border-radius: 8px; margin: 20px 0; } .box-warning { background: #fff4e5; border-left: 5px solid #ffa500; padding: 15px; border-radius: 8px; margin: 20px 0; } .box-tip { background: #eaffea; border-left: 5px solid #28a745; padding: 15px; border-radius: 8px; margin: 20px 0; } /* Listas con más espacio */ ul, ol { padding-left: 40px; margin-bottom: 20px; } /* Enlaces azules más definidos */ .mw-body a { color: #1e70bf; font-weight: 500; } .oroza-navbar { background: #2b3e50; padding: 12px 20px; display: flex; gap: 30px; justify-content: center; font-weight: bold; border-bottom: 3px solid #ffb400; } .oroza-navbar a { color: white !important; text-decoration: none; font-size: 16px; } .oroza-navbar a:hover { text-decoration: underline; color: #ffcc33 !important; } .oroza-sidebar { background: #ffffff; border: 1px solid #ddd; padding: 20px; border-radius: 10px; width: 260px; font-size: 14px; box-shadow: 0 0 8px rgba(0,0,0,0.05); margin-bottom: 20px; } .oroza-sidebar .menu-title { font-weight: bold; color: #2b4a6d; margin-bottom: 12px; } /* Ajustes responsivos para columnas */ @media screen and (max-width: 768px) { .oroza-flex-wrapper { flex-direction: column; gap: 20px; } .oroza-flex-wrapper > div { width: 100% !important; } .oroza-sidebar { width: 100% !important; margin-bottom: 20px; } .oroza-navbar { flex-direction: column; align-items: center; } .oroza-navbar a { display: block; padding: 10px 0; } } /* Estilos para menú colapsable */ .toggle-checkbox { display: none; } .toggle-label { display: none; background: #2b4a6d; color: white; padding: 10px 15px; border-radius: 6px; font-weight: bold; cursor: pointer; margin-bottom: 10px; text-align: center; } /* Muestra el botón solo en pantallas pequeñas */ @media screen and (max-width: 768px) { .toggle-label { display: block; } .oroza-sidebar { display: none; } .toggle-checkbox:checked + .toggle-label + .oroza-sidebar { display: block; } }