blob: 0050f703af57f5ea092816099bcbb030486eea1c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
.news-index__item {
display: block;
box-sizing: border-box;
border: var(--relative-eighth-rem) solid var(--text-color);
transition: background 100ms;
padding-block: var(--margin-block-md);
padding-inline: var(--padding-inline-sm);
width: var(--width-prose);
}
.news-index__item:not(:first-child) {
border-top-width: 0;
}
.news-index__item:is(:hover, :focus, :focus-visible, :focus-within) {
outline: none;
box-shadow: none;
color: var(--text-highlight-color);
border-color: var(--background-highlight-color);
background: var(--background-highlight-color);
transition-duration: 300ms;
}
.news-index__item:is(:hover, :focus, :focus-visible, :focus-within) .link {
color: var(--special-text-highlight-color);
}
.news-index__item:is(:focus, :focus-visible, :focus-within) {
border-color: var(--special-text-highlight-color);
border-style: dotted;
}
|