Diferencia entre revisiones de «MediaWiki:Common.css»
Ir a la navegación
Ir a la búsqueda
Sin resumen de edición |
Sin resumen de edición |
||
Línea 80: | Línea 80: | ||
button:hover { | button:hover { | ||
background-color: #1e324f; | 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; | |||
} | } |
Revisión del 12:56 26 may 2025
/* 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; }