mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-19 14:17:59 +01:00
respect even odd type coolo
This commit is contained in:
parent
66de088e1c
commit
b4f86ff2db
1 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@
|
|||
@define-mixin even-odd-type $classname, $type {
|
||||
.$(classname):nth-child(odd).$(type),
|
||||
.$(classname):nth-child(odd) .$(type) {
|
||||
background: var(--$(type)-even-color);
|
||||
background: var(--$(type)-odd-color);
|
||||
}
|
||||
|
||||
.$(classname):nth-child(even).$(type),
|
||||
|
@ -25,7 +25,7 @@
|
|||
|
||||
.$(classname):nth-child(even) .$(classname):nth-child(odd).$(type),
|
||||
.$(classname):nth-child(even) .$(classname):nth-child(odd) .$(type) {
|
||||
background: var(--$(type)-even-color);
|
||||
background: var(--$(type)-odd-color);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue