Last element in odd list take all space available
All checks were successful
ci/woodpecker/push/publish Pipeline was successful

This commit is contained in:
Mylloon 2024-03-19 13:01:34 +01:00
parent 943603a330
commit 51ed97273c
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -31,6 +31,10 @@ main ul:not(ul ul) {
main ul:not(ul ul) {
grid-template-columns: none;
}
main li:not(ul ul > li) {
grid-column: inherit !important;
}
}
/* Card */
@ -50,6 +54,10 @@ main li:not(ul ul > li) {
margin-inline: 5px;
}
main li:not(ul ul > li):nth-child(odd):last-child {
grid-column: span 2;
}
main li:hover:not(ul ul > li) {
background: color-mix(in srgb, var(--background) 40%, var(--extreme));
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3);