Aller au contenu

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

De Zenavia Wiki
Page créée avec « Le CSS placé ici sera appliqué à tous les habillages. : Titre : .home-title { text-align: center; margin: 30px 0; } .home-title h1 { font-size: 36px; color: #fff; } .home-title p { font-size: 18px; color: #ccc; } Grille principale : .main-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; max-width: 1200px; margin: 0 auto; } Cartes : .grid-card { backg... »
 
(Aucune différence)

Dernière version du 25 juillet 2025 à 12:22

/* Le CSS placé ici sera appliqué à tous les habillages. */

/* Titre */
.home-title {
    text-align: center;
    margin: 30px 0;
}
.home-title h1 {
    font-size: 36px;
    color: #fff;
}
.home-title p {
    font-size: 18px;
    color: #ccc;
}

/* Grille principale */
.main-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Cartes */
.grid-card {
    background: #1c1c1c;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: 0.2s;
}
.grid-card:hover {
    transform: scale(1.05);
    background-color: #222;
}
.grid-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
}
.grid-card h2 {
    color: #fff;
    margin-bottom: 10px;
}
.grid-card p {
    color: #aaa;
    font-size: 14px;
    margin-bottom: 15px;
}
.grid-card a {
    color: #00bfff;
    font-weight: bold;
    text-decoration: none;
}
.grid-card a:hover {
    text-decoration: underline;
}