« MediaWiki:Common.css » : différence entre les versions
Apparence
Mise à jour du CSS du wiki |
Aucun résumé des modifications |
||
| Ligne 1 : | Ligne 1 : | ||
/* | /* 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; | ||
} | } | ||
.zw-intro { | |||
.zw- | |||
text-align: center; | text-align: center; | ||
margin: 24px 0 8px; | |||
font-size: 1. | font-size: 1.05rem; | ||
} | } | ||
.zw-grid > p { display: contents; } | |||
Version du 30 août 2026 à 21:32
/* 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;
}
.zw-intro {
text-align: center;
margin: 24px 0 8px;
font-size: 1.05rem;
}
.zw-grid > p { display: contents; }