« MediaWiki:Common.css » : différence entre les versions

De fablabo
Aller à :navigation, rechercher
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 1 : Ligne 1 :
/* -------- Import du style de l'ancien thème : -------- */
@font-face {
@font-face {
   font-family: VagRounded;
   font-family: VagRounded;
Ligne 387 : Ligne 388 :
     width: 32%px;
     width: 32%px;
     height: 157px
     height: 157px
}
.vf-liste-vignettes {
    overflow: auto;
    display: grid;
    grid-template-columns: repeat(3, 32%);
    grid-gap: 8px 2%
}
@media (max-width: 992px) {
    .vf-liste-vignettes {
        grid-template-columns: repeat(2, 49%);
        grid-gap: 4px 1.33%
    }
}
@media (max-width: 768px) {
    .vf-liste-vignettes {
        grid-template-columns: 90%;
        grid-gap: 1rem;
        justify-content: center
    }
}
}


Ligne 704 : Ligne 683 :
     color: #fcce15
     color: #fcce15
}
}
@media (min-width: 768px) {
    .navbar-expand-md .navbar-nav {
        width: 100%;
        justify-content: space-around;
    }
}




/* -------- Import des tampons de dangerosité et ajout des couleurs -------- */


span#vf-tampon {
span#vf-tampon {
Ligne 731 : Ligne 719 :
}
}


@media (min-width: 768px) {
 
     .navbar-expand-md .navbar-nav {
 
         width: 100%;
/* -------- Pas de titre sur la page d'accueil -------- */
         justify-content: space-around;
 
.rootpage-Accueil #firstHeading {
    display: none;
}
.rootpage-Accueil #content {
    padding-top: 2rem;
}
 
 
 
/* -------- Affichage responsive des vignettes -------- */
 
.vf-liste-vignettes {
    overflow: auto;
    display: grid;
    grid-template-columns: repeat(3, 32%);
    grid-gap: 8px 2%
}
 
@media (max-width: 992px) {
     .vf-liste-vignettes {
        grid-template-columns: repeat(2, 49%);
        grid-gap: 4px 1.33%
    }
}
 
@media (max-width: 768px) {
    .vf-liste-vignettes {
         grid-template-columns: 90%;
        grid-gap: 1rem;
         justify-content: center
     }
     }
}
}