Skip to content

Commit 3031168

Browse files
committed
add line-through style to deprecated sidebar items
1 parent c6acf9e commit 3031168

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

demo/src/css/custom.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,10 @@ a:any-link:hover {
100100
background-color: var(--ifm-color-secondary-darkest);
101101
}
102102

103+
.menu__list-item--deprecated > .menu__link,
104+
.menu__list-item--deprecated > .menu__link:hover {
105+
text-decoration: line-through;
106+
}
103107
/* Sidebar Method labels High Contrast */
104108
.api-method-contrast > .menu__link,
105109
.schema-contrast > .menu__link {

0 commit comments

Comments
 (0)