66 lines
1.2 KiB
CSS
66 lines
1.2 KiB
CSS
body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
/* Structure interne de la carte */
|
|
a.admin-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.5rem;
|
|
text-decoration: none;
|
|
padding: 2rem 1.25rem;
|
|
color: var(--text-light);
|
|
transition: color var(--duration-slow);
|
|
}
|
|
|
|
a.admin-card:hover {
|
|
text-decoration: none;
|
|
}
|
|
|
|
[data-theme="dark"] a.admin-card {
|
|
color: var(--text-dark);
|
|
}
|
|
|
|
.admin-card__icon {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 3rem;
|
|
height: 3rem;
|
|
margin-bottom: 0.25rem;
|
|
color: var(--violet);
|
|
transition: color var(--duration-slow);
|
|
}
|
|
|
|
[data-theme="dark"] .admin-card__icon {
|
|
color: var(--violet-light);
|
|
}
|
|
|
|
.admin-card__icon svg {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.admin-card__title {
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
letter-spacing: 0.01em;
|
|
text-align: center;
|
|
}
|
|
|
|
.admin-card__desc {
|
|
font-size: 0.8rem;
|
|
color: var(--muted-light);
|
|
text-align: center;
|
|
line-height: 1.3;
|
|
transition: color var(--duration-slow);
|
|
}
|
|
|
|
[data-theme="dark"] .admin-card__desc {
|
|
color: var(--muted-dark);
|
|
}
|
|
|