Array

MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
 
(53 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) {
@media only screen and (max-width: 768px), only screen and (max-device-width: 768px) {
    .site-header {
 
        padding: 36px 0;
h1 {
    }
font-size: 7rem !important;
    .site-header .title-area {
}
        width: 100%;
        max-width: 100%; /* Elimina restricciones de ancho */
h2 {
        text-align: center;
font-size: 5.2rem !important;
        margin-bottom: 20px;
}
    }
    .site-header .site-title a {
h3 {
        display: inline-block;
font-size: 4.8rem !important;
        width: 100%;
}
        min-height: 100px; /* Ajusta este valor según la altura real de tu logo */
        background-size: contain !important; /* Asegura que el logo escale sin recortarse */
h4 {
        background-position: center !important;
font-size: 3.8rem !important;
    }
}
    .site-header .title-area img {
        width: auto;
h5 {
        max-width: 250px;
font-size: 4.0rem !important;
        height: auto;
}
    }
    .site-header .header-widget-area {
h6 {
        display: none;
font-size: 3.8rem !important;
    }
}
    .menu-toggle {
        width: 100%;
        border: none;
        border-top: 5px solid #eeeeee;
        color: #444;
        font-weight: bold;
        padding: 15px 0;
        text-transform: none;
    }
}
}

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;
	}
}