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 26: | Línea 26: | ||
body { | body { | ||
max-width: 100%; | max-width: 100%; | ||
overflow-x: hidden; | |||
} | |||
img { | |||
max-width: 100%; | |||
height: auto; | |||
} | } | ||
| Línea 41: | Línea 48: | ||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.10); | box-shadow: 0 0 10px rgba(0, 0, 0, 0.10); | ||
max-width: 1200px; | max-width: 1200px; | ||
} | } | ||
/* ========================================================= | /* ========================================================= | ||
| Línea 455: | Línea 459: | ||
- ajustamos logo | - ajustamos logo | ||
- permitimos scroll en tablas | - permitimos scroll en tablas | ||
========================================================= */ | |||
/* ========================================================= | |||
RESPONSIVE CORREGIDO | |||
--------------------------------------------------------- | |||
- No reduce el ancho en PC | |||
- Corrige mejor el móvil | |||
- Usa !important en lo necesario porque en wiki a veces | |||
hay estilos inline que ganan prioridad visual | |||
========================================================= */ | ========================================================= */ | ||
@media screen and (max-width: 768px) { | @media screen and (max-width: 768px) { | ||
/* | /* Caja principal más compacta en móvil */ | ||
#content { | #content { | ||
padding: 16px; | padding: 16px !important; | ||
margin: 10px; | margin: 10px !important; | ||
border-radius: 10px; | border-radius: 10px !important; | ||
} | } | ||
/* Si | /* Si tu layout usa wrapper flex */ | ||
.oroza-flex-wrapper { | .oroza-flex-wrapper { | ||
display: flex; | display: flex !important; | ||
flex-direction: column; | flex-direction: column !important; | ||
gap: 16px; | gap: 16px !important; | ||
} | } | ||
.oroza-flex-wrapper > div { | .oroza-flex-wrapper > div { | ||
width: 100% !important; | width: 100% !important; | ||
min-width: 0; | max-width: 100% !important; | ||
min-width: 0 !important; | |||
} | } | ||
| Línea 479: | Línea 492: | ||
.oroza-sidebar { | .oroza-sidebar { | ||
width: 100% !important; | width: 100% !important; | ||
padding: 14px 16px; | max-width: 100% !important; | ||
margin-bottom: 16px !important; | |||
display: block !important; | |||
padding: 14px 16px !important; | |||
box-sizing: border-box !important; | |||
} | } | ||
.oroza-sidebar .menu-title { | .oroza-sidebar .menu-title { | ||
font-size: 15px; | font-size: 15px !important; | ||
margin: 16px 0 10px; | margin: 16px 0 10px !important; | ||
} | } | ||
.oroza-sidebar li { | .oroza-sidebar li { | ||
font-size: 13px !important; | |||
font-size: 13px; | line-height: 1.35 !important; | ||
line-height: 1.35; | gap: 6px !important; | ||
} | } | ||
/* Navbar | /* Navbar: | ||
en vez de ponerla en columna, dejamos fila con wrap */ | |||
.oroza-navbar { | .oroza-navbar { | ||
display: flex !important; | |||
flex-direction: row !important; | flex-direction: row !important; | ||
flex-wrap: wrap; | flex-wrap: wrap !important; | ||
justify-content: center; | justify-content: center !important; | ||
align-items: center; | align-items: center !important; | ||
gap: 8px | gap: 8px 10px !important; | ||
padding: 12px | padding: 12px 10px !important; | ||
margin: 12px 10px; | margin: 12px 10px !important; | ||
border-radius: 10px; | border-radius: 10px !important; | ||
} | } | ||
/* El logo absoluto suele romper el centrado en móvil | /* El logo absoluto suele romper el centrado en móvil */ | ||
.oroza-navbar-logo { | .oroza-navbar-logo { | ||
position: static; | position: static !important; | ||
width: 100%; | left: auto !important; | ||
justify-content: center; | width: 100% !important; | ||
margin-bottom: 6px; | justify-content: center !important; | ||
margin-bottom: 6px !important; | |||
} | } | ||
.oroza-navbar-logo img { | .oroza-navbar-logo img { | ||
width: | width: 56px !important; | ||
max-width: 56px !important; | |||
} | } | ||
.oroza-navbar a { | .oroza-navbar a { | ||
display: inline-flex; | display: inline-flex !important; | ||
align-items: center; | align-items: center !important; | ||
justify-content: center; | justify-content: center !important; | ||
padding: 6px | padding: 6px 9px !important; | ||
font-size: 13px; | font-size: 13px !important; | ||
line-height: 1.2; | line-height: 1.2 !important; | ||
text-align: center; | text-align: center !important; | ||
white-space: nowrap; | white-space: nowrap !important; | ||
} | } | ||
/* Títulos | /* Títulos más compactos en móvil */ | ||
.firstHeading { | .firstHeading { | ||
font-size: 1.6rem; | font-size: 1.6rem !important; | ||
margin-bottom: 14px; | line-height: 1.2 !important; | ||
margin-bottom: 14px !important; | |||
} | } | ||
h1 { | h1 { | ||
font-size: 1.9rem; | font-size: 1.9rem !important; | ||
margin-top: 24px; | margin-top: 24px !important; | ||
margin-bottom: 18px; | margin-bottom: 18px !important; | ||
} | } | ||
h2 { | h2 { | ||
font-size: 1.6rem; | font-size: 1.6rem !important; | ||
margin-top: 22px; | margin-top: 22px !important; | ||
margin-bottom: 16px; | margin-bottom: 16px !important; | ||
} | } | ||
h3 { | h3 { | ||
font-size: 1.35rem; | font-size: 1.35rem !important; | ||
margin-top: 20px; | margin-top: 20px !important; | ||
margin-bottom: 14px; | margin-bottom: 14px !important; | ||
} | } | ||
h4 { | h4 { | ||
font-size: 1.15rem; | font-size: 1.15rem !important; | ||
margin-top: 18px; | margin-top: 18px !important; | ||
margin-bottom: 12px; | margin-bottom: 12px !important; | ||
} | } | ||
h5 { | h5 { | ||
font-size: 1rem; | font-size: 1rem !important; | ||
margin-top: 16px; | margin-top: 16px !important; | ||
margin-bottom: 10px; | margin-bottom: 10px !important; | ||
} | } | ||
h6 { | h6 { | ||
font-size: 0.95rem; | font-size: 0.95rem !important; | ||
margin-top: 14px; | margin-top: 14px !important; | ||
margin-bottom: 10px; | margin-bottom: 10px !important; | ||
} | } | ||
| Línea 578: | Línea 595: | ||
ul, | ul, | ||
ol { | ol { | ||
padding-left: 22px; | padding-left: 22px !important; | ||
margin-bottom: 16px; | margin-bottom: 16px !important; | ||
} | } | ||
/* Cajas informativas | /* Cajas informativas */ | ||
.box-info, | .box-info, | ||
.box-warning, | .box-warning, | ||
.box-tip { | .box-tip { | ||
padding: 12px; | padding: 12px !important; | ||
margin: 14px 0; | margin: 14px 0 !important; | ||
border-radius: 8px; | border-radius: 8px !important; | ||
} | } | ||
/* | /* Botones ocupan mejor el ancho disponible */ | ||
.button-icon { | .button-icon { | ||
width: 100%; | width: 100% !important; | ||
padding: 10px 12px; | justify-content: center !important; | ||
text-align: center; | padding: 10px 12px !important; | ||
box-sizing: border-box !important; | |||
text-align: center !important; | |||
} | } | ||
/* | /* Tablas con scroll horizontal */ | ||
.oroza-table, | .oroza-table, | ||
.oroza-table.auto-width { | .oroza-table.auto-width { | ||
display: block; | display: block !important; | ||
width: 100% !important; | width: 100% !important; | ||
max-width: 100%; | max-width: 100% !important; | ||
overflow-x: auto; | overflow-x: auto !important; | ||
-webkit-overflow-scrolling: touch; | -webkit-overflow-scrolling: touch !important; | ||
white-space: nowrap; | white-space: nowrap !important; | ||
} | } | ||
.oroza-table th, | .oroza-table th, | ||
.oroza-table td { | .oroza-table td { | ||
white-space: nowrap; | white-space: nowrap !important; | ||
font-size: 13px !important; | |||
padding: 10px 12px !important; | |||
} | } | ||
/* Imágenes | /* Imágenes más fluidas */ | ||
img.round-fade { | img.round-fade { | ||
width: 100%; | width: 100% !important; | ||
max-width: 100%; | max-width: 100% !important; | ||
border-radius: 14px; | border-radius: 14px !important; | ||
margin: 10px auto; | margin: 10px auto !important; | ||
} | } | ||
/* | /* Hover desactivado en móvil */ | ||
.zoom-img:hover, | .zoom-img:hover, | ||
img.round-fade:hover { | img.round-fade:hover { | ||
transform: none; | transform: none !important; | ||
opacity: 0.97 !important; | |||
} | |||
.toggle-label { | |||
display: none !important; | |||
} | } | ||
} | } | ||
/* ========================================================= | /* ========================================================= | ||
MOVILES PEQUEÑOS | |||
========================================================= */ | ========================================================= */ | ||
@media screen and (max-width: 480px) { | @media screen and (max-width: 480px) { | ||
#content { | #content { | ||
padding: 12px; | padding: 12px !important; | ||
margin: 8px; | margin: 8px !important; | ||
border-radius: 8px; | border-radius: 8px !important; | ||
} | } | ||
.oroza-navbar { | .oroza-navbar { | ||
gap: 6px 8px; | gap: 6px 8px !important; | ||
padding: 10px; | padding: 10px 8px !important; | ||
} | } | ||
.oroza-navbar a { | .oroza-navbar a { | ||
font-size: 12px; | font-size: 12px !important; | ||
padding: 6px 8px; | padding: 6px 8px !important; | ||
} | } | ||
.oroza-navbar-logo img { | .oroza-navbar-logo img { | ||
width: | width: 48px !important; | ||
max-width: 48px !important; | |||
} | } | ||
.firstHeading { | .firstHeading { | ||
font-size: 1.4rem; | font-size: 1.4rem !important; | ||
} | } | ||
h1 { | h1 { | ||
font-size: 1.65rem; | font-size: 1.65rem !important; | ||
} | } | ||
h2 { | h2 { | ||
font-size: 1.4rem; | font-size: 1.4rem !important; | ||
} | } | ||
h3 { | h3 { | ||
font-size: 1.2rem; | font-size: 1.2rem !important; | ||
} | } | ||
.oroza-sidebar { | .oroza-sidebar { | ||
padding: 12px; | padding: 12px !important; | ||
} | } | ||
.oroza-sidebar li { | .oroza-sidebar li { | ||
font-size: 12px | font-size: 12px !important; | ||
} | } | ||
} | } | ||
/* ========================================================= | /* ========================================================= | ||
Revisión del 09:41 5 abr 2026
/* =========================================================
OROZA WIKI - ESTILOS GENERALES MEJORADOS
---------------------------------------------------------
Objetivo:
- Mantener tu estilo visual limpio y profesional
- Mejorar el comportamiento en celular
- Evitar que navbar, tablas e imágenes rompan el diseño
- Hacer el CSS más fácil de entender y mantener
========================================================= */
/* =========================================================
1) BASE GENERAL DEL SITIO
---------------------------------------------------------
Estilos globales del body, tipografía y color base
========================================================= */
body {
background-color: #f2f2f2;
font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
color: #333;
overflow-x: hidden; /* Evita scroll horizontal accidental */
}
/* Hace que imágenes y elementos no se salgan del ancho de pantalla */
html,
body {
max-width: 100%;
overflow-x: hidden;
}
img {
max-width: 100%;
height: auto;
}
/* =========================================================
2) CONTENIDO PRINCIPAL
---------------------------------------------------------
Caja principal blanca donde se ve el contenido de la wiki
========================================================= */
#content {
background-color: #fff;
padding: 30px;
margin: 20px auto;
border-radius: 12px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.10);
max-width: 1200px;
}
/* =========================================================
3) TITULO PRINCIPAL DE PAGINA
---------------------------------------------------------
Controla el heading principal de MediaWiki
========================================================= */
.firstHeading {
font-size: 2.2rem;
font-weight: bold;
color: #2b4a6d;
margin-bottom: 20px;
line-height: 1.2;
text-align: center;
}
/* =========================================================
4) TABLA DE CONTENIDO
---------------------------------------------------------
Caja del índice / TOC
========================================================= */
#toc {
background-color: #eef4ff;
border: 1px solid #cddaf1;
padding: 10px;
border-radius: 8px;
}
/* =========================================================
5) ENLACES
---------------------------------------------------------
Estilo general para links
========================================================= */
a {
color: #1e70bf;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
.mw-body a {
color: #1e70bf;
font-weight: 500;
}
/* =========================================================
6) ENCABEZADOS JERARQUICOS
---------------------------------------------------------
h1 a h6 centrados, elegantes 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;
line-height: 1.3;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.08);
border-bottom: none;
background: none !important;
}
/* Tamaños progresivos de títulos */
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;
}
/* =========================================================
7) BOTONES CON ICONO
---------------------------------------------------------
Útiles para enlaces visuales tipo botón
========================================================= */
.button-icon {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
background: #2b4a6d;
color: white;
padding: 8px 12px;
border-radius: 8px;
text-decoration: none;
font-weight: 600;
transition: background 0.2s ease;
box-sizing: border-box;
}
.button-icon:hover {
background: #1e324f;
}
.button-icon::before {
content: '🔹';
}
/* =========================================================
8) CAJAS INFORMATIVAS
---------------------------------------------------------
Bloques para avisos, recomendaciones y alertas
========================================================= */
.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;
}
/* =========================================================
9) LISTAS
---------------------------------------------------------
Espaciado para ul y ol
========================================================= */
ul,
ol {
padding-left: 40px;
margin-bottom: 20px;
}
/* =========================================================
10) NAVBAR HORIZONTAL
---------------------------------------------------------
Menú superior personalizado
Mejorado para que no se rompa tan fácil en pantallas chicas
========================================================= */
.oroza-navbar {
background: #2b3e50;
padding: 15px 25px;
display: flex;
flex-wrap: wrap; /* Permite acomodar links si no caben */
gap: 18px 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;
box-sizing: border-box;
}
.oroza-navbar a {
color: white !important;
text-decoration: none;
font-size: 16px;
line-height: 1.2;
white-space: nowrap; /* Evita que un link se parta en dos renglones */
}
.oroza-navbar a:hover {
text-decoration: underline;
color: #ffcc33 !important;
}
/* Logo en desktop: se mantiene posicionado a la izquierda */
.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);
}
/* =========================================================
11) SIDEBAR LATERAL
---------------------------------------------------------
Menú lateral de navegación
========================================================= */
.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;
box-sizing: border-box;
}
/* Título de cada sección del menú lateral */
.oroza-sidebar .menu-title {
font-weight: bold;
color: #2b4a6d;
font-size: 17px;
margin: 20px 0 12px;
border-left: 4px solid #ffb400;
padding-left: 10px;
}
/* Lista interna del sidebar */
.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;
}
/* =========================================================
12) TABLAS PERSONALIZADAS
---------------------------------------------------------
Mejoradas para escritorio y con scroll horizontal en móvil
========================================================= */
.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;
}
/* Variante opcional para tablas de ancho automático */
.oroza-table.auto-width {
width: auto !important;
max-width: 100%;
table-layout: auto !important;
margin: 20px auto;
display: table;
}
/* =========================================================
13) EFECTO ZOOM EN IMAGENES
---------------------------------------------------------
Útil para imágenes pequeñas o decorativas
========================================================= */
.zoom-img {
transition: transform 0.25s ease;
cursor: zoom-in;
}
.zoom-img:hover {
transform: scale(1.35);
z-index: 10;
}
/* =========================================================
14) IMAGENES REDONDEADAS CON EFECTO SUAVE
---------------------------------------------------------
Tus imágenes principales decorativas
========================================================= */
img {
max-width: 100%;
height: auto;
}
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, opacity 0.3s ease;
object-fit: cover;
opacity: 0.97;
}
img.round-fade:hover {
transform: scale(1.08);
opacity: 1;
}
/* =========================================================
15) OCULTAR ELEMENTOS ORIGINALES DE MEDIAWIKI
---------------------------------------------------------
Esto oculta partes viejas del layout por defecto
========================================================= */
#p-logo,
#footer,
#mw-panel {
display: none !important;
}
/* =========================================================
16) TOGGLE / MENU COLAPSABLE
---------------------------------------------------------
Si no lo usas, se deja oculto
========================================================= */
.toggle-checkbox {
display: none;
}
.toggle-label {
display: none !important;
}
/* =========================================================
17) TABLET Y MOVIL
---------------------------------------------------------
Aquí está la mejora más importante.
Ya no apilamos la navbar completa en columna.
En lugar de eso:
- reducimos tamaños
- hacemos wrap controlado
- ajustamos logo
- permitimos scroll en tablas
========================================================= */
/* =========================================================
RESPONSIVE CORREGIDO
---------------------------------------------------------
- No reduce el ancho en PC
- Corrige mejor el móvil
- Usa !important en lo necesario porque en wiki a veces
hay estilos inline que ganan prioridad visual
========================================================= */
@media screen and (max-width: 768px) {
/* Caja principal más compacta en móvil */
#content {
padding: 16px !important;
margin: 10px !important;
border-radius: 10px !important;
}
/* Si tu layout usa wrapper flex */
.oroza-flex-wrapper {
display: flex !important;
flex-direction: column !important;
gap: 16px !important;
}
.oroza-flex-wrapper > div {
width: 100% !important;
max-width: 100% !important;
min-width: 0 !important;
}
/* Sidebar a ancho completo */
.oroza-sidebar {
width: 100% !important;
max-width: 100% !important;
margin-bottom: 16px !important;
display: block !important;
padding: 14px 16px !important;
box-sizing: border-box !important;
}
.oroza-sidebar .menu-title {
font-size: 15px !important;
margin: 16px 0 10px !important;
}
.oroza-sidebar li {
font-size: 13px !important;
line-height: 1.35 !important;
gap: 6px !important;
}
/* Navbar:
en vez de ponerla en columna, dejamos fila con wrap */
.oroza-navbar {
display: flex !important;
flex-direction: row !important;
flex-wrap: wrap !important;
justify-content: center !important;
align-items: center !important;
gap: 8px 10px !important;
padding: 12px 10px !important;
margin: 12px 10px !important;
border-radius: 10px !important;
}
/* El logo absoluto suele romper el centrado en móvil */
.oroza-navbar-logo {
position: static !important;
left: auto !important;
width: 100% !important;
justify-content: center !important;
margin-bottom: 6px !important;
}
.oroza-navbar-logo img {
width: 56px !important;
max-width: 56px !important;
}
.oroza-navbar a {
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
padding: 6px 9px !important;
font-size: 13px !important;
line-height: 1.2 !important;
text-align: center !important;
white-space: nowrap !important;
}
/* Títulos más compactos en móvil */
.firstHeading {
font-size: 1.6rem !important;
line-height: 1.2 !important;
margin-bottom: 14px !important;
}
h1 {
font-size: 1.9rem !important;
margin-top: 24px !important;
margin-bottom: 18px !important;
}
h2 {
font-size: 1.6rem !important;
margin-top: 22px !important;
margin-bottom: 16px !important;
}
h3 {
font-size: 1.35rem !important;
margin-top: 20px !important;
margin-bottom: 14px !important;
}
h4 {
font-size: 1.15rem !important;
margin-top: 18px !important;
margin-bottom: 12px !important;
}
h5 {
font-size: 1rem !important;
margin-top: 16px !important;
margin-bottom: 10px !important;
}
h6 {
font-size: 0.95rem !important;
margin-top: 14px !important;
margin-bottom: 10px !important;
}
/* Listas más compactas */
ul,
ol {
padding-left: 22px !important;
margin-bottom: 16px !important;
}
/* Cajas informativas */
.box-info,
.box-warning,
.box-tip {
padding: 12px !important;
margin: 14px 0 !important;
border-radius: 8px !important;
}
/* Botones ocupan mejor el ancho disponible */
.button-icon {
width: 100% !important;
justify-content: center !important;
padding: 10px 12px !important;
box-sizing: border-box !important;
text-align: center !important;
}
/* Tablas con scroll horizontal */
.oroza-table,
.oroza-table.auto-width {
display: block !important;
width: 100% !important;
max-width: 100% !important;
overflow-x: auto !important;
-webkit-overflow-scrolling: touch !important;
white-space: nowrap !important;
}
.oroza-table th,
.oroza-table td {
white-space: nowrap !important;
font-size: 13px !important;
padding: 10px 12px !important;
}
/* Imágenes más fluidas */
img.round-fade {
width: 100% !important;
max-width: 100% !important;
border-radius: 14px !important;
margin: 10px auto !important;
}
/* Hover desactivado en móvil */
.zoom-img:hover,
img.round-fade:hover {
transform: none !important;
opacity: 0.97 !important;
}
.toggle-label {
display: none !important;
}
}
/* =========================================================
MOVILES PEQUEÑOS
========================================================= */
@media screen and (max-width: 480px) {
#content {
padding: 12px !important;
margin: 8px !important;
border-radius: 8px !important;
}
.oroza-navbar {
gap: 6px 8px !important;
padding: 10px 8px !important;
}
.oroza-navbar a {
font-size: 12px !important;
padding: 6px 8px !important;
}
.oroza-navbar-logo img {
width: 48px !important;
max-width: 48px !important;
}
.firstHeading {
font-size: 1.4rem !important;
}
h1 {
font-size: 1.65rem !important;
}
h2 {
font-size: 1.4rem !important;
}
h3 {
font-size: 1.2rem !important;
}
.oroza-sidebar {
padding: 12px !important;
}
.oroza-sidebar li {
font-size: 12px !important;
}
}
/* =========================================================
19) AJUSTE PARA DISPOSITIVOS QUE SI SOPORTAN HOVER
---------------------------------------------------------
Solo deja zoom bonito en escritorio / mouse
========================================================= */
@media (hover: hover) {
.zoom-img:hover {
transform: scale(1.35);
z-index: 10;
}
img.round-fade:hover {
transform: scale(1.08);
opacity: 1;
}
}
/* =========================================================
20) AJUSTE PARA DISPOSITIVOS TOUCH
---------------------------------------------------------
Quita animaciones de hover agresivas en celular
========================================================= */
@media (hover: none) {
.zoom-img:hover,
img.round-fade:hover {
transform: none;
opacity: 0.97;
}
}