mirror of
https://github.com/derf/travelynx
synced 2024-12-05 18:59:09 +00:00
33 lines
586 B
SCSS
33 lines
586 B
SCSS
/***************
|
|
Nav List
|
|
***************/
|
|
.table-of-contents {
|
|
&.fixed {
|
|
position: fixed;
|
|
}
|
|
|
|
li {
|
|
padding: 2px 0;
|
|
}
|
|
a {
|
|
display: inline-block;
|
|
font-weight: 300;
|
|
color: #757575;
|
|
padding-left: 16px;
|
|
height: 1.5rem;
|
|
line-height: 1.5rem;
|
|
letter-spacing: .4;
|
|
display: inline-block;
|
|
|
|
&:hover {
|
|
color: lighten(#757575, 20%);
|
|
padding-left: 15px;
|
|
border-left: 1px solid $primary-color;
|
|
}
|
|
&.active {
|
|
font-weight: 500;
|
|
padding-left: 14px;
|
|
border-left: 2px solid $primary-color;
|
|
}
|
|
}
|
|
}
|