Diferencia entre revisiones de «MediaWiki:Common.css»

De Oroza RO Wiki
Ir a la navegación Ir a la búsqueda
Sin resumen de edición
Sin resumen de edición
Línea 1: Línea 1:
/* Fondo general y tipografía */
/* === Tipografía y fondo general === */
body {
body {
   background-color: #f2f2f2;
   background-color: #f2f2f2;
Línea 6: Línea 6:
}
}


/* Contenido principal */
/* === Contenido principal === */
#content {
#content {
   background-color: #fff;
   background-color: #fff;
Línea 16: Línea 16:
}
}


/* Cabecera de títulos */
/* === Título de página === */
.firstHeading {
.firstHeading {
   font-size: 2rem;
   font-size: 2.2rem;
   font-weight: bold;
   font-weight: bold;
   color: #2b4a6d;
   color: #2b4a6d;
  border-bottom: 2px solid #ddd;
   margin-bottom: 20px;
   margin-bottom: 20px;
}
}


/* Tabla de contenido */
/* === Tabla de contenido === */
#toc {
#toc {
   background-color: #eef4ff;
   background-color: #eef4ff;
Línea 33: Línea 32:
}
}


/* Enlaces */
/* === Enlaces === */
a {
a {
   color: #1e70bf;
   color: #1e70bf;
Línea 42: Línea 41:
}
}


/* Panel lateral de MediaWiki */
/* === Encabezados limpios y jerárquicos === */
#mw-panel {
h1, h2, h3, h4, h5, h6 {
   background-color: #2b3e50;
  font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
   padding-top: 10px;
   font-weight: bold;
}
  color: #2b4a6d;
#mw-panel a {
   text-align: center;
   color: #ccc !important;
  background: none;
   font-weight: 500;
  border: none;
}
   padding: 0;
#mw-panel a:hover {
   margin-top: 30px;
   color: #fff !important;
  margin-bottom: 12px;
   line-height: 1.3;
}
}


/* Quitar logo grande y footer */
h1 {
#p-logo,
  font-size: 2.4rem;
#footer {
   margin-top: 40px;
   display: none;
}
}
 
h2 {
/* Botones */
   font-size: 2rem;
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,
h3 {
input[type="button"]:hover,
button:hover {
  background-color: #1e324f;
}
 
/* Encabezado principal (h2) */
h2 {
  background: #f9f9f9;
  border-left: 6px solid #ffb400;
  padding: 12px 15px;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #2b4a6d;
   font-size: 1.6rem;
   font-size: 1.6rem;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
}
 
h4 {
/* Subtítulo (h3) */
h3 {
  background: #ffffff;
  border-left: 4px solid #28a745;
  padding: 10px 14px;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #2b4a6d;
   font-size: 1.3rem;
   font-size: 1.3rem;
   border-radius: 5px;
}
   box-shadow: 0 1px 2px rgba(0,0,0,0.04);
h5 {
   font-size: 1.1rem;
}
h6 {
   font-size: 1rem;
  font-weight: 600;
  color: #444;
}
}


 
/* === Botones con íconos === */
/* Botones con íconos */
.button-icon {
.button-icon {
   display: inline-flex;
   display: inline-flex;
Línea 125: Línea 97:
}
}


/* Cajas tipo aviso */
/* === Cajas informativas === */
.box-info {
.box-info {
   background: #eef4ff;
   background: #eef4ff;
Línea 148: Línea 120:
}
}


/* Listas */
/* === Listas === */
ul, ol {
ul, ol {
   padding-left: 40px;
   padding-left: 40px;
Línea 158: Línea 130:
}
}


/* Navbar horizontal */
/* === Navbar horizontal === */
.oroza-navbar {
.oroza-navbar {
   background: #2b3e50;
   background: #2b3e50;
Línea 178: Línea 150:
}
}


/* Sidebar lateral */
/* === Sidebar lateral personalizada === */
.oroza-sidebar {
.oroza-sidebar {
   background: #ffffff;
   background: #ffffff;
Línea 213: Línea 185:
}
}


/* Estilos responsivos */
/* === 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) {
@media screen and (max-width: 768px) {
   .oroza-flex-wrapper {
   .oroza-flex-wrapper {
Línea 245: Línea 258:
}
}


/* Eliminar funcionalidad del menú colapsable */
/* === Eliminar menú original de MediaWiki === */
#p-logo,
#footer,
#mw-panel {
  display: none !important;
}
 
/* === Quitar funcionalidad del menú colapsable móvil === */
.toggle-checkbox {
.toggle-checkbox {
   display: none;
   display: none;
}
}
.toggle-label {
.toggle-label {
  display: none !important;
}
#mw-panel {
   display: none !important;
   display: none !important;
}
}

Revisión del 15:24 26 may 2025

/* === 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 limpios y jerárquicos === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
  font-weight: bold;
  color: #2b4a6d;
  text-align: center;
  background: none;
  border: none;
  padding: 0;
  margin-top: 30px;
  margin-bottom: 12px;
  line-height: 1.3;
}

h1 {
  font-size: 2.4rem;
  margin-top: 40px;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.6rem;
}
h4 {
  font-size: 1.3rem;
}
h5 {
  font-size: 1.1rem;
}
h6 {
  font-size: 1rem;
  font-weight: 600;
  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: 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 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;
}
.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 {
  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;
}