Array

MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 4: Line 4:


@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 .wrap {
     .site-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: #f6f6f6;
         padding: 36px 0;
         padding: 36px 0;
     }
     }

Revision as of 13:13, 27 January 2026

    figure > a > img {
        width: 100% !important
    }

@media only screen and (max-width: 768px), only screen and (max-device-width: 768px) {
    .site-header {
        padding: 36px 0;
    }
    .site-header .title-area {
        width: 100%;
        max-width: 100%; /* Elimina restricciones de ancho */
        text-align: center;
        margin-bottom: 20px;
    }
    .site-header .site-title a {
        display: inline-block;
        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 */
        background-position: center !important;
    }
    .site-header .title-area img {
        width: auto;
        max-width: 250px;
        height: auto;
    }
    .site-header .header-widget-area {
        display: none; 
    }
    .menu-toggle {
        width: 100%;
        border: none;
        border-top: 5px solid #eeeeee;
        color: #444;
        font-weight: bold;
        padding: 15px 0;
        text-transform: none;
    }
}