« Modèle:Carte logiciel/styles.css » : différence entre les versions
De Infothèque
Autres actions
m A protégé « Modèle:Carte logiciel/styles.css » ([Modifier=Autoriser uniquement les administrateurs] (infini) [Renommer=Autoriser uniquement les administrateurs] (infini)) |
Aucun résumé des modifications |
||
| Ligne 15 : | Ligne 15 : | ||
border-radius: 10px; | border-radius: 10px; | ||
padding: 18px 12px; | padding: 18px 12px; | ||
color: inherit; | |||
text-decoration: none; | |||
transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; | transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; | ||
} | } | ||
| Ligne 22 : | Ligne 24 : | ||
box-shadow: 0 6px 16px rgba(0,0,0,.10); | box-shadow: 0 6px 16px rgba(0,0,0,.10); | ||
border-color: #008080; | border-color: #008080; | ||
color: #008080; | |||
text-decoration: none; | |||
} | } | ||
| Ligne 44 : | Ligne 48 : | ||
font-size: .95em; | font-size: .95em; | ||
line-height: 1.3; | line-height: 1.3; | ||
} | } | ||
Version du 12 août 2026 à 21:10
.ith-card-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
gap: 16px;
margin: 12px 0 28px;
}
.ith-card {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
background: #f8f9fa;
border: 1px solid #e5e7eb;
border-radius: 10px;
padding: 18px 12px;
color: inherit;
text-decoration: none;
transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.ith-card:hover {
transform: translateY(-3px);
box-shadow: 0 6px 16px rgba(0,0,0,.10);
border-color: #008080;
color: #008080;
text-decoration: none;
}
.ith-card__logo {
height: 64px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 10px;
}
.ith-card__logo img {
max-height: 64px;
max-width: 100%;
width: auto;
height: auto;
object-fit: contain;
}
.ith-card__title {
font-weight: 600;
font-size: .95em;
line-height: 1.3;
}
.ith-card__subtitle {
font-size: .8em;
color: #6b7280;
margin-top: 4px;
}
@media (max-width: 600px) {
.ith-card-grid {
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
gap: 10px;
}
.ith-card {
padding: 12px 8px;
}
}