Modèle:Sous-catégories/styles.css
De Infothèque
Autres actions
.ith-subcat-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 14px;
margin: 16px 0 24px;
clear: both;
}
.ith-subcat {
position: relative;
display: flex;
align-items: center;
gap: 12px;
padding: 12px 14px;
border: 1px solid rgba(0,0,0,.12);
border-radius: 12px;
box-shadow: 0 2px 8px rgba(0,0,0,.08);
transition: transform .15s ease, box-shadow .15s ease;
}
.ith-subcat:hover {
transform: translateY(-2px);
box-shadow: 0 6px 14px rgba(0,0,0,.14);
}
.ith-subcat__icon {
flex: 0 0 auto;
display: flex;
align-items: center;
justify-content: center;
}
.ith-subcat__icon img {
display: block;
}
.ith-subcat__body {
flex: 1;
min-width: 0;
}
.ith-subcat__title {
font-weight: 700;
}
.ith-subcat__title a {
color: inherit;
text-decoration: none;
}
.ith-subcat__title a::after {
content: "";
position: absolute;
inset: 0;
}
.ith-subcat:hover .ith-subcat__title a {
text-decoration: underline;
}
.ith-subcat__desc {
font-size: .82em;
color: #4b5563;
margin-top: 2px;
}
.ith-subcat--os { background: #ffddc1; }
.ith-subcat--bureautique { background: #c1e1ff; }
.ith-subcat--internet { background: #c1ffc1; }
.ith-subcat--multimedia { background: #ffc1c1; }
.ith-subcat--divertissement { background: #e1c1ff; }
.ith-subcat--personnalisation { background: #ffffc1; }
.ith-subcat--developpement { background: #c1ffd9; }
.ith-subcat--utilitaires { background: #ffc1e1; }
.ith-subcat--autres { background: #d9c1ff; }
.ith-subcat--action { background: #ffcaca; }
.ith-subcat--aventure { background: #ffe3ca; }
.ith-subcat--rpg { background: #fff5ca; }
.ith-subcat--plateforme { background: #d7f7ca; }
.ith-subcat--fps { background: #caf0f7; }
.ith-subcat--simulation { background: #cad9f7; }
.ith-subcat--sport { background: #d6caf7; }
.ith-subcat--reflexion { background: #f0caf7; }
.ith-subcat--educatif { background: #f7cadf; }
@media (max-width: 700px) {
.ith-subcat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
.ith-subcat-grid { grid-template-columns: 1fr; }
}