mirror of
https://git.nolog.cz/NoLog.cz/headline.git
synced 2025-01-31 11:53:35 +01:00
Style
This commit is contained in:
parent
ac2ca35a56
commit
3a53b026bf
1 changed files with 19 additions and 10 deletions
|
@ -75,6 +75,14 @@ td {
|
|||
text-align: inherit;
|
||||
}
|
||||
|
||||
ins {
|
||||
text-decoration-color: hsl(120 50% 75% / 50%);
|
||||
}
|
||||
|
||||
del {
|
||||
text-decoration-color: hsl(0 50% 40% / 50%);
|
||||
}
|
||||
|
||||
summary {
|
||||
cursor: pointer;
|
||||
list-style: none;
|
||||
|
@ -221,7 +229,16 @@ details[open] summary::before {
|
|||
|
||||
.page-item {
|
||||
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 {
|
||||
|
@ -236,20 +253,12 @@ details[open] summary::before {
|
|||
border-right-width: 0px;
|
||||
}
|
||||
|
||||
.page-item.active .page-link {
|
||||
.page-item.active {
|
||||
background-color: var(--accent-color);
|
||||
color: white;
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
.diff ins {
|
||||
text-decoration-color: hsl(120 50% 75% / 50%);
|
||||
}
|
||||
|
||||
.diff del {
|
||||
text-decoration-color: hsl(0 50% 40% / 50%);
|
||||
}
|
||||
|
||||
/* Index */
|
||||
|
||||
.filters {
|
||||
|
|
Loading…
Reference in a new issue