Amélioration de la visibilité des éléments d'une liste

This commit is contained in:
Damien Broqua 2022-03-07 16:35:28 +01:00
parent 3aeb172dbf
commit b05bed9a00
2 changed files with 8 additions and 2 deletions

View file

@ -14,6 +14,12 @@
@include respond-to("medium-up") {
border-left: 1px solid var(--border-color);
&:nth-child(4n),
&:nth-child(4n-1)
{
background-color: var(--default-color);
}
&:first-child,
&:nth-child(2) {
border-top: 1px solid var(--border-color);
@ -26,7 +32,7 @@
}
&:hover {
background-color: var(--default-color);
background-color: var(--border-color);
}
}