Array

MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
 
(60 intermediate revisions by one other user not shown)
Line 1: Line 1:
figure > a > img {
/* Responsive Hn */
width: 100% !important
@media only screen and (max-width: 768px), only screen and (max-device-width: 768px) {
}
 
 
h1 {
 
font-size: 7rem !important;
/* Aplicar solo en dispositivos móviles */
}
@media only screen and (max-width: 800px) {
 
h2 {
    /* 1. Centrar el contenedor principal */
font-size: 5.2rem !important;
    .site-header .wrap {
}
        display: flex;
        flex-direction: column; /* Apila los elementos verticalmente */
h3 {
        align-items: center;    /* Centra horizontalmente */
font-size: 4.8rem !important;
        text-align: center;
}
        padding: 20px 0;       /* Espaciado opcional */
    }
h4 {
 
font-size: 3.8rem !important;
    /* 2. Asegurar que el logo/título ocupe el ancho completo y no flote */
}
    .site-header .title-area {
        width: 100%;
h5 {
        float: none;          /* Por si el tema usa floats */
font-size: 4.0rem !important;
        margin-bottom: 15px;   /* Espacio entre el logo y el texto azul */
}
    }
 
h6 {
    /* 3. Ocultar o ajustar el texto azul (opcional) */
font-size: 3.8rem !important;
    /* En la segunda imagen el texto azul no aparece o es muy discreto.
}
      Si quieres ocultarlo como en la imagen 2, usa: */
    .site-header .header-widget-area {
        display: none;  
    }
 
    /* 4. Estilizar el botón de Menú para que ocupe todo el ancho */
    .menu-toggle {
        width: 100%;
        display: block;
        margin: 0 auto;
        border: none;
        background-color: transparent; /* O el color de fondo que prefieras */
        padding: 15px 0;
        border-top: 1px solid #eee; /* Línea divisoria sutil */
    }
}
}

Latest revision as of 20:54, 6 February 2026

/* Responsive Hn */
@media only screen and (max-width: 768px), only screen and (max-device-width: 768px) {
  
	h1 {
		font-size: 7rem !important;
	}
	
	h2 {
		font-size: 5.2rem !important;
	}
	
	h3 {
		font-size: 4.8rem !important;
	}
	
	h4 {
		font-size: 3.8rem !important;
	}
	
	h5 {
		font-size: 4.0rem !important;
	}
	
	h6 {
		font-size: 3.8rem !important;
	}
}