Diferencia entre revisiones de «MediaWiki:Common.css»
Ir a la navegación
Ir a la búsqueda
Página creada con «body { background-color: #f5f5f5; font-family: 'Segoe UI', sans-serif; } #content { background: white; padding: 20px; border-radius: 12px; box-shadow: 0px 0px 10px rgba(0,0,0,0.1); } #p-logo { display: none; } #mw-panel { background: #2f3e4e; color: white; } #mw-panel a { color: #dcdcdc; } #mw-panel a:hover { color: #ffffff; text-decoration: underline; } #footer { display: none; } .mw-body { max-width: 1200px; margin: auto; }» |
Sin resumen de edición |
||
Línea 1: | Línea 1: | ||
/* Fondo general y tipografía */ | |||
body { | body { | ||
background-color: # | background-color: #f2f2f2; | ||
font-family: 'Segoe UI', sans-serif; | font-family: 'Segoe UI', 'Helvetica Neue', sans-serif; | ||
color: #333; | |||
} | } | ||
/* Contenido principal */ | |||
#content { | #content { | ||
background: | background-color: #fff; | ||
padding: 20px; | padding: 30px; | ||
margin: 20px auto; | |||
border-radius: 12px; | border-radius: 12px; | ||
box-shadow: | 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 { | #mw-panel { | ||
background: # | background-color: #2b3e50; | ||
padding-top: 10px; | |||
} | } | ||
#mw-panel a { | #mw-panel a { | ||
color: # | 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 { | #footer { | ||
display: none; | 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; | |||
} | } |
Revisión del 12:54 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; }