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
/* === Tipografía y fondo general === */
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;
}
/* === Título de página === */
.firstHeading {
font-size: 2.2rem;
font-weight: bold;
color: #2b4a6d;
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;
}
/* === Encabezados jerárquicos mejorados y sin subrayado === */
h1, h2, h3, h4, h5, h6 {
font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
font-weight: 700;
text-align: center;
color: #2b4a6d;
margin-top: 40px;
margin-bottom: 30px; /* más espacio debajo */
line-height: 1.3;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.08);
border-bottom: none; /* elimina subrayado si existiera */
background: none !important; /* previene fondos heredados */
}
/* Tamaños progresivos de mayor a menor */
h1 {
font-size: 2.8rem;
}
h2 {
font-size: 2.5rem;
}
h3 {
font-size: 2.3rem;
}
h4 {
font-size: 1.6rem;
}
h5 {
font-size: 1.3rem;
}
h6 {
font-size: 1.1rem;
color: #444;
}
/* === 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 informativas === */
.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: 15px 25px;
display: flex;
gap: 30px;
justify-content: center;
align-items: center;
font-weight: bold;
border-bottom: 3px solid #ffb400;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
margin: 20px auto;
max-width: 1200px;
position: relative;
}
.oroza-navbar a {
color: white !important;
text-decoration: none;
font-size: 16px;
}
.oroza-navbar a:hover {
text-decoration: underline;
color: #ffcc33 !important;
}
.oroza-navbar-logo {
position: absolute;
left: 25px;
display: flex;
align-items: center;
}
.oroza-navbar-logo img {
width: 80px;
height: auto;
filter: drop-shadow(0 0 5px white);
}
/* === Sidebar lateral personalizada === */
.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;
}
/* Menu title más grande y con más espaciado entre títulos */
.oroza-sidebar .menu-title {
font-weight: bold;
color: #2b4a6d;
font-size: 17px; /* Aumentado */
margin: 20px 0 12px; /* Espacio arriba y abajo */
border-left: 4px solid #ffb400;
padding-left: 10px;
}
/* Lista de items */
.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 {
display: inline-block;
margin-right: 3px;
}
/* === Tablas personalizadas (oroza-table) === */
.oroza-table {
width: 100%;
border-collapse: collapse;
margin: 20px 0;
font-size: 14px;
background-color: #fff;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
border-radius: 8px;
overflow: hidden;
}
.oroza-table thead {
background-color: #2b4a6d;
color: #fff;
text-align: left;
font-weight: bold;
}
.oroza-table th,
.oroza-table td {
padding: 12px 15px;
border-bottom: 1px solid #eee;
}
.oroza-table tbody tr:nth-child(even) {
background-color: #f9f9f9;
}
.oroza-table tbody tr:hover {
background-color: #eef4ff;
}
.oroza-table .highlight {
color: #ffb400;
font-weight: bold;
}
.oroza-table .center-icon {
text-align: center;
font-size: 18px;
}
.oroza-table .zeny {
color: #28a745;
font-weight: bold;
}
/* === Responsive === */
@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;
display: block !important;
}
.oroza-navbar {
flex-direction: column;
align-items: center;
}
.oroza-navbar a {
display: block;
padding: 10px 0;
}
.toggle-label {
display: none !important;
}
}
/* === Eliminar menú original de MediaWiki === */
#p-logo,
#footer,
#mw-panel {
display: none !important;
}
/* === Quitar funcionalidad del menú colapsable móvil === */
.toggle-checkbox {
display: none;
}
.toggle-label {
display: none !important;
}
.oroza-table.auto-width {
width: auto !important;
max-width: 100%;
table-layout: auto !important;
margin: 20px auto;
display: table;
}
.zoom-img {
transition: transform 0.25s ease;
cursor: zoom-in;
}
.zoom-img:hover {
transform: scale(2);
z-index: 10;
}
img.round-fade {
width: 55%;
border-radius: 20px;
margin: 10px auto;
display: block;
box-shadow: inset 0 0 20px rgba(0,0,0,0.1), 0 0 15px rgba(0,0,0,0.08);
transition: transform 0.3s ease;
object-fit: cover;
opacity: 0.97;
}
img.round-fade:hover {
transform: scale(1.3);
opacity: 1;
}
/* Estilos para el Sistema de Bonus de Drop */
.button-download {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
background: #2b4a6d;
color: #fff !important;
padding: 8px 16px;
border-radius: 8px;
text-decoration: none !important;
font-weight: 700;
font-size: 14px;
border: 1px solid #1f3652;
box-shadow: 0 4px 10px rgba(43, 74, 109, 0.15);
transition: all 0.25s ease;
}
.button-download:hover {
background: #1f3652;
color: #fff !important;
text-decoration: none !important;
transform: translateY(-1px);
box-shadow: 0 6px 14px rgba(43, 74, 109, 0.2);
}
.oroza-input {
padding: 8px 12px;
font-size: 13px;
text-align: center;
border: 1px solid #d7dce2;
border-radius: 8px;
outline: none;
background: #fff;
color: #2c2c2c;
box-shadow: 0 2px 4px rgba(0,0,0,0.03);
transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
flex: 1;
min-width: 180px;
}
.oroza-input:focus {
border-color: #c9a44b;
box-shadow: 0 0 0 3px rgba(201,164,75,0.14);
background: #fffefb;
}
.oroza-cat-tabs {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 6px;
margin-bottom: 8px;
}
.oroza-cat-btn {
appearance: none;
border: 1px solid #d7dce2;
background: #ffffff;
color: #2f3742;
padding: 6px 12px;
border-radius: 999px;
font-size: 12px;
font-weight: 700;
cursor: pointer;
transition: all 0.22s ease;
text-align: center;
box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}
.oroza-cat-btn:hover {
border-color: #c9a44b;
background: #fffaf0;
}
.oroza-cat-btn.active {
background: linear-gradient(180deg, #fff8e7 0%, #f7ecd0 100%);
border-color: #c9a44b;
color: #7a5a16;
box-shadow: 0 3px 8px rgba(201,164,75,0.18);
}
.oroza-table-wrap {
overflow-x: auto;
margin: 0 auto;
}
.oroza-table {
width: 100%;
border-collapse: collapse;
white-space: nowrap;
color: #2b2b2b;
font-size: 13px;
margin: 0 auto;
}
.oroza-table thead th {
background: #f8f9fb;
color: #2f3742;
font-weight: 700;
padding: 8px 6px;
border-bottom: 2px solid #dfe3e8;
text-align: center;
vertical-align: middle;
}
.oroza-table tbody td {
padding: 8px 6px;
border-bottom: 1px solid #edf0f3;
text-align: center;
vertical-align: middle;
background: #fff;
}
.oroza-table tbody tr:nth-child(even) td {
background: #fbfcfd;
}
.oroza-table tbody tr:hover td {
background: #fffaf0;
}
@media (max-width: 768px) {
.oroza-input {
min-width: 100%;
}
.oroza-table {
font-size: 12px;
}
.oroza-table thead th,
.oroza-table tbody td {
padding: 6px 4px;
}
}