sokko-g/website/src/styles/home/library/_summary.scss
Shinuwa 9aa98c892d
All checks were successful
Deploy Sokko G / deploy (push) Successful in 17s
Extend NDS patterns and migrate shared UI surfaces
2026-09-02 15:50:04 +02:00

54 lines
1.1 KiB
SCSS

// Rôle : stylise les indicateurs de synthèse de la librairie.
.library-summary {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
gap: var(--space-4);
padding: var(--space-5);
}
.library-summary article {
display: flex;
min-width: 0;
gap: var(--space-3);
padding: var(--space-4);
border: 1px solid rgba(150, 165, 205, 0.12);
border-radius: var(--radius-md);
background: rgba(5, 7, 17, 0.28);
}
.library-summary h2,
.library-summary p {
margin: 0;
}
.library-summary h2 {
margin-bottom: 5px;
font-size: var(--font-size-md);
}
.library-summary-icon {
display: grid;
width: 34px;
min-width: 34px;
height: 34px;
place-items: center;
border: 1px solid rgba(196, 181, 253, 0.24);
border-radius: var(--radius-md);
background:
linear-gradient(135deg, rgba(139, 92, 246, 0.92), rgba(99, 102, 241, 0.84));
box-shadow: var(--shadow-primary);
color: white;
}
.library-summary-icon .module-icon-svg {
width: 18px;
height: 18px;
background: currentColor;
}
@media (max-width: 520px) {
.library-summary {
grid-template-columns: 1fr;
padding: var(--space-4);
}
}