Adjust sidebar navigation list and syntax highlighting styles

This commit is contained in:
Michael Rose
2016-03-31 21:41:00 -04:00
parent 7d93083b91
commit d04308520f
8 changed files with 100 additions and 195 deletions

View File

@ -308,6 +308,10 @@
.nav__list {
font-size: 1.25rem;
ul {
margin-bottom: 1em;
}
a {
display: block;
padding: 0.125em 0;
@ -318,8 +322,17 @@
}
.active {
color: $primary-color;
margin-left: -0.5em;
padding-left: 0.5em;
padding-right: 0.5em;
color: #fff;
font-weight: bold;
background: $primary-color;
border-radius: $border-radius;
&:hover {
color: #fff;
}
}
}
@ -337,8 +350,9 @@
margin: 0.5em 0;
padding: 0.5em 0;
font-family: $sans-serif-narrow;
font-size: $type-size-5;
font-size: $type-size-6;
font-weight: bold;
text-transform: uppercase;
border-bottom: 1px solid $border-color;
}
@ -355,6 +369,7 @@
background-color: #fff;
border: 1px solid $border-color;
border-radius: $border-radius;
box-shadow: $box-shadow;
}
.toc__menu {
@ -378,6 +393,12 @@
}
}
> li:last-child {
a {
border-bottom: none;
}
}
li ul > li a {
font-weight: normal;
}