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 42: | Línea 42: | ||
} | } | ||
/* Panel lateral */ | /* Panel lateral de MediaWiki */ | ||
#mw-panel { | #mw-panel { | ||
background-color: #2b3e50; | background-color: #2b3e50; | ||
| Línea 56: | Línea 56: | ||
/* Quitar logo grande si no se usa */ | /* Quitar logo grande si no se usa */ | ||
#p-logo | #p-logo, | ||
#footer { | #footer { | ||
display: none; | display: none; | ||
| Línea 82: | Línea 78: | ||
} | } | ||
/* Encabezados h2 y h3 */ | |||
/* | |||
h2, h3 { | h2, h3 { | ||
border-left: 5px solid #ffb400; | border-left: 5px solid #ffb400; | ||
| Línea 107: | Línea 102: | ||
background: #1e324f; | background: #1e324f; | ||
} | } | ||
.button-icon::before { | .button-icon::before { | ||
content: '🔹'; | content: '🔹'; | ||
} | } | ||
/* Cajas tipo aviso | /* Cajas tipo aviso */ | ||
.box-info { | .box-info { | ||
background: #eef4ff; | background: #eef4ff; | ||
| Línea 121: | Línea 114: | ||
margin: 20px 0; | margin: 20px 0; | ||
} | } | ||
.box-warning { | .box-warning { | ||
background: #fff4e5; | background: #fff4e5; | ||
| Línea 129: | Línea 121: | ||
margin: 20px 0; | margin: 20px 0; | ||
} | } | ||
.box-tip { | .box-tip { | ||
background: #eaffea; | background: #eaffea; | ||
| Línea 138: | Línea 129: | ||
} | } | ||
/* Listas | /* Listas */ | ||
ul, ol { | ul, ol { | ||
padding-left: 40px; | padding-left: 40px; | ||
margin-bottom: 20px; | margin-bottom: 20px; | ||
} | } | ||
.mw-body a { | .mw-body a { | ||
color: #1e70bf; | color: #1e70bf; | ||
| Línea 150: | Línea 139: | ||
} | } | ||
/* Navbar horizontal */ | |||
.oroza-navbar { | .oroza-navbar { | ||
background: #2b3e50; | background: #2b3e50; | ||
| Línea 169: | Línea 159: | ||
} | } | ||
/* Sidebar lateral */ | |||
.oroza-sidebar { | .oroza-sidebar { | ||
background: #ffffff; | background: #ffffff; | ||
border: 1px solid #ddd; | border: 1px solid #ddd; | ||
padding: | padding: 15px 20px; | ||
border-radius: 10px; | border-radius: 10px; | ||
width: | width: 240px; | ||
font-size: | font-size: 14px; | ||
box-shadow: 0 0 8px rgba(0,0,0,0.05); | box-shadow: 0 0 8px rgba(0,0,0,0.05); | ||
margin-bottom: | margin-bottom: 20px; | ||
} | } | ||
.oroza-sidebar .menu-title { | .oroza-sidebar .menu-title { | ||
font-weight: bold; | font-weight: bold; | ||
color: #2b4a6d; | color: #2b4a6d; | ||
margin-bottom: | font-size: 15px; | ||
margin-bottom: 10px; | |||
border-left: 4px solid #ffb400; | |||
padding-left: 8px; | |||
} | |||
.oroza-sidebar ul { | |||
list-style: none; | |||
padding-left: 0; | |||
margin: 0; | |||
} | |||
.oroza-sidebar li { | |||
margin: 6px 0; | |||
display: flex; | |||
align-items: center; | |||
gap: 8px; | |||
} | |||
.oroza-sidebar li::before { | |||
content: '📌'; | |||
display: inline-block; | |||
margin-right: 5px; | |||
} | } | ||
/* Estilos responsivos */ | |||
/* | |||
@media screen and (max-width: 768px) { | @media screen and (max-width: 768px) { | ||
.oroza-flex-wrapper { | .oroza-flex-wrapper { | ||
| Línea 211: | Línea 219: | ||
display: block; | display: block; | ||
padding: 10px 0; | padding: 10px 0; | ||
} | |||
.toggle-label { | |||
display: block; | |||
} | |||
.oroza-sidebar { | |||
display: none; | |||
} | |||
.toggle-checkbox:checked + .toggle-label + .oroza-sidebar { | |||
display: block; | |||
} | } | ||
} | } | ||
/* | /* Menú colapsable */ | ||
.toggle-checkbox { | .toggle-checkbox { | ||
display: none; | display: none; | ||
} | } | ||
.toggle-label { | .toggle-label { | ||
display: none; | display: none; | ||
| Línea 229: | Línea 248: | ||
margin-bottom: 10px; | margin-bottom: 10px; | ||
text-align: center; | text-align: center; | ||
} | } | ||
Revisión del 13:51 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 de MediaWiki */
#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,
#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;
}
/* 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;
}
.button-icon::before {
content: '🔹';
}
/* Cajas tipo aviso */
.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 */
ul, ol {
padding-left: 40px;
margin-bottom: 20px;
}
.mw-body a {
color: #1e70bf;
font-weight: 500;
}
/* Navbar horizontal */
.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;
}
/* Sidebar lateral */
.oroza-sidebar {
background: #ffffff;
border: 1px solid #ddd;
padding: 15px 20px;
border-radius: 10px;
width: 240px;
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;
font-size: 15px;
margin-bottom: 10px;
border-left: 4px solid #ffb400;
padding-left: 8px;
}
.oroza-sidebar ul {
list-style: none;
padding-left: 0;
margin: 0;
}
.oroza-sidebar li {
margin: 6px 0;
display: flex;
align-items: center;
gap: 8px;
}
.oroza-sidebar li::before {
content: '📌';
display: inline-block;
margin-right: 5px;
}
/* Estilos responsivos */
@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;
}
.toggle-label {
display: block;
}
.oroza-sidebar {
display: none;
}
.toggle-checkbox:checked + .toggle-label + .oroza-sidebar {
display: block;
}
}
/* 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;
}