This commit is contained in:
Ondřej Nývlt 2023-08-17 10:14:33 +02:00
parent ac2ca35a56
commit 3a53b026bf

View file

@ -75,6 +75,14 @@ td {
text-align: inherit; text-align: inherit;
} }
ins {
text-decoration-color: hsl(120 50% 75% / 50%);
}
del {
text-decoration-color: hsl(0 50% 40% / 50%);
}
summary { summary {
cursor: pointer; cursor: pointer;
list-style: none; list-style: none;
@ -221,7 +229,16 @@ details[open] summary::before {
.page-item { .page-item {
border: 1px solid var(--border-color); border: 1px solid var(--border-color);
box-shadow: var(--box-shadow); background: hsl(0 0% 95%);
transition: background-color 120ms;
color: hsl(0 0% 40%);
font-weight: 500;
font-size: 0.85em;
line-height: 1.5rem;
}
.page-item:not(.active):hover {
background: hsl(0 0% 90%);
} }
.page-item:first-of-type { .page-item:first-of-type {
@ -236,20 +253,12 @@ details[open] summary::before {
border-right-width: 0px; border-right-width: 0px;
} }
.page-item.active .page-link { .page-item.active {
background-color: var(--accent-color); background-color: var(--accent-color);
color: white; color: white;
border-color: transparent; border-color: transparent;
} }
.diff ins {
text-decoration-color: hsl(120 50% 75% / 50%);
}
.diff del {
text-decoration-color: hsl(0 50% 40% / 50%);
}
/* Index */ /* Index */
.filters { .filters {