keep-a-changelog/source/assets/stylesheets/table-of-contents.sass
Olivier Lacan 7221c2cd10 Fix odd import issue with individual Sass files
Seems like these individual Sass files are compiled individually despite
being imported by the main application.css.sass file which means we now have
to import the variables.sass file with all the Sass variable declaration in
each of them.
# Title

# Tell me everything!

# Co-authors (they will be credited on GitHub as well)
# Co-authored-by: Carolina Powers <carolinapoloni@gmail.com>
# Co-authored-by: Meg Kline-Tuls <meglktuls@gmail.com>
# Co-authored-by: Will <will-soto@pluralsight.com>
# Co-authored-by: thatchej <jaron-thatcher@pluralsight.com>
2019-02-15 12:02:17 -05:00

32 lines
549 B
Sass

@import "variables"
.toc
position: fixed
z-index: 9999
top: 10%
left: 0
ul
list-style-position: inside
list-style-type: decimal-leading-zero
padding: 0 0 0 1em
li
padding-left: 1em
line-height: 2
a
padding: 0 1em
line-height: 2
display: none
span
display: none
li:hover
color: $color-sand
background: $color-black
li:hover a
color: $color-sand
font-weight: bold
background-color: $color-black
display: inline-block