blob: b77e38366567b0365bbb4bb44df0599169fb375d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
.news-index__item {
display: block;
box-sizing: border-box;
border: 2px solid var(--text-color);
transition: background 100ms;
padding-block: var(--margin-block-md);
padding-inline: var(--padding-inline-sm);
}
.news-index__item:not(:first-child) {
border-top-width: 0;
}
.news-index__item:hover {
color: var(--text-highlight-color);
border-color: var(--background-highlight-color);
background: var(--background-highlight-color);
transition-duration: 300ms;
}
.news-index__item:hover .link {
color: var(--special-text-highlight-color);
}
|