Last element in odd list take all space available
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
This commit is contained in:
parent
943603a330
commit
51ed97273c
1 changed files with 8 additions and 0 deletions
|
@ -31,6 +31,10 @@ main ul:not(ul ul) {
|
||||||
main ul:not(ul ul) {
|
main ul:not(ul ul) {
|
||||||
grid-template-columns: none;
|
grid-template-columns: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
main li:not(ul ul > li) {
|
||||||
|
grid-column: inherit !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Card */
|
/* Card */
|
||||||
|
@ -50,6 +54,10 @@ main li:not(ul ul > li) {
|
||||||
margin-inline: 5px;
|
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) {
|
main li:hover:not(ul ul > li) {
|
||||||
background: color-mix(in srgb, var(--background) 40%, var(--extreme));
|
background: color-mix(in srgb, var(--background) 40%, var(--extreme));
|
||||||
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3);
|
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3);
|
||||||
|
|
Loading…
Reference in a new issue