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:
Robert Linde
2017-10-04 11:39:53 +02:00
committed by Benedikt Rötsch
parent c7d0860eda
commit 58d7e87325
4 changed files with 54 additions and 4 deletions

View File

@@ -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 {