Modèle:Carte logiciel/styles.css
De Infothèque
Autres actions
.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;
}
}