Add styles for hover and visited for table of contents
* Add styles for hover and visited for table of contents * Add cookie based handling of visited table of content links
This commit is contained in:
committed by
Benedikt Rötsch
parent
c7d0860eda
commit
58d7e87325
@@ -1218,6 +1218,26 @@ display: flex;
|
||||
left: -22px;
|
||||
}
|
||||
|
||||
.table-of-contents__link:hover {
|
||||
font-family: 'robotomedium', Helvetica, sans-serif;
|
||||
color: #2a3039;
|
||||
}
|
||||
|
||||
.table-of-contents__link.visited {
|
||||
position:relative;
|
||||
}
|
||||
|
||||
.table-of-contents__link.visited:before,
|
||||
.table-of-contents__link.visited:after {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.table-of-contents__link.visited:after {
|
||||
content: '👁';
|
||||
left: -22px;
|
||||
}
|
||||
|
||||
.sidebar-menu {}
|
||||
|
||||
.sidebar-menu__list {
|
||||
|
||||
Reference in New Issue
Block a user