Skip to content

Commit

Permalink
table of contents tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
acburst committed Nov 14, 2014
1 parent 864b5ed commit 11e0ca9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
9 changes: 4 additions & 5 deletions css/ghpages-materialize.css
Original file line number Diff line number Diff line change
Expand Up @@ -6621,19 +6621,20 @@ ul.table-of-contents a {
display: inline-block;
font-weight: 300;
color: #757575;
padding-left: 25px;
padding-left: 20px;
height: 1.5rem;
line-height: 1.5rem;
letter-spacing: .4;
display: inline-block;
}
ul.table-of-contents a:hover {
color: #a8a8a8;
padding-left: 24px;
padding-left: 19px;
border-left: 1px solid #ea4a4f;
}
ul.table-of-contents a.active {
font-weight: 600;
padding-left: 23px;
padding-left: 18px;
border-left: 2px solid #ea4a4f;
}

Expand Down Expand Up @@ -6928,5 +6929,3 @@ code, pre {
margin-bottom: 20px;
}
}

/*# sourceMappingURL=ghpages-materialize.css.map */
7 changes: 4 additions & 3 deletions sass/components/_table_of_contents.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,20 @@ ul.table-of-contents {
display: inline-block;
font-weight: 300;
color: #757575;
padding-left: 25px;
padding-left: 20px;
height: 1.5rem;
line-height: 1.5rem;
letter-spacing: .4;
display: inline-block;

&:hover {
color: lighten(#757575, 20%);
padding-left: 24px;
padding-left: 19px;
border-left: 1px solid lighten(color("red"),10%);
}
&.active {
font-weight: 600;
padding-left: 23px;
padding-left: 18px;
border-left: 2px solid lighten(color("red"),10%);
}
}
Expand Down

0 comments on commit 11e0ca9

Please sign in to comment.