This commit is contained in:
parent
048ed0c7e1
commit
c380da6380
1 changed files with 12 additions and 5 deletions
|
@ -20,7 +20,7 @@ main {
|
|||
}
|
||||
|
||||
/* List */
|
||||
main ul {
|
||||
main ul:not(ul ul) {
|
||||
padding: 0;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
|
@ -34,7 +34,7 @@ main ul {
|
|||
}
|
||||
|
||||
/* Card */
|
||||
main li {
|
||||
main li:not(ul ul > li) {
|
||||
display: flex;
|
||||
|
||||
border-radius: 8px;
|
||||
|
@ -50,12 +50,12 @@ main li {
|
|||
margin-inline: 5px;
|
||||
}
|
||||
|
||||
main li:hover {
|
||||
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);
|
||||
}
|
||||
|
||||
main li[role="button"]:hover {
|
||||
main li[role="button"]:hover:not(ul ul > li) {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
|
@ -91,10 +91,17 @@ span {
|
|||
|
||||
/* Element text */
|
||||
div p,
|
||||
div a {
|
||||
div a,
|
||||
ul ul li {
|
||||
font-size: var(--font-size-card);
|
||||
}
|
||||
|
||||
/* Element list */
|
||||
ul ul {
|
||||
list-style: initial;
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
/* Element language */
|
||||
p[data-lang] {
|
||||
margin: 0;
|
||||
|
|
Loading…
Reference in a new issue