blob: b235eddf0b8849a97c75878664593e4600cd0bec (
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
32
33
34
35
36
|
.news-index__item {
display: block;
box-sizing: border-box;
border: var(--border-width) solid var(--text-color);
transition: background 100ms;
padding-block: var(--spacing-block-md);
padding-inline: var(--spacing-inline-sm);
width: var(--width-prose);
}
a.news-index__item {
text-decoration: none;
color: var(--text-color);
}
.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;
}
|