2016-03-10 17:13:54 +01:00
|
|
|
/* ==========================================================================
|
|
|
|
TABLE OF CONTENTS
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
.toc {
|
2016-03-15 04:02:06 +01:00
|
|
|
padding: 0 0 1em;
|
2016-03-10 17:13:54 +01:00
|
|
|
font-family: $sans-serif-narrow;
|
2016-03-15 04:02:06 +01:00
|
|
|
color: $gray;
|
|
|
|
text-transform: uppercase;
|
|
|
|
letter-spacing: 1px;
|
2016-03-17 20:07:30 +01:00
|
|
|
background-color: #fff;
|
2016-03-10 17:13:54 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.toc__title {
|
2016-03-15 04:02:06 +01:00
|
|
|
margin: 0;
|
|
|
|
padding: 10px 20px;
|
|
|
|
font-family: $sans-serif-narrow;
|
|
|
|
font-size: 16px;
|
2016-03-20 02:50:18 +01:00
|
|
|
border-bottom: 1px solid $border-color;
|
2016-03-10 17:13:54 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.toc__menu {
|
2016-03-15 04:02:06 +01:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
width: 100%;
|
|
|
|
list-style: none;
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-15 04:02:06 +01:00
|
|
|
a {
|
2016-03-10 17:13:54 +01:00
|
|
|
display: block;
|
2016-03-15 04:02:06 +01:00
|
|
|
padding: 10px 20px;
|
2016-03-15 17:34:14 +01:00
|
|
|
color: $gray;
|
2016-03-15 04:02:06 +01:00
|
|
|
font-size: 11px;
|
2016-03-10 17:13:54 +01:00
|
|
|
font-weight: bold;
|
2016-03-15 04:02:06 +01:00
|
|
|
line-height: 1.5;
|
|
|
|
border-bottom: 1px solid $border-color;
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-15 17:34:14 +01:00
|
|
|
&:hover {
|
|
|
|
color: #000;
|
2016-03-21 19:09:45 +01:00
|
|
|
background: $border-color;
|
2016-03-15 17:34:14 +01:00
|
|
|
}
|
2016-03-15 04:02:06 +01:00
|
|
|
}
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-15 04:02:06 +01:00
|
|
|
li ul > li a {
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-15 04:02:06 +01:00
|
|
|
// hide sub sub links on small screens
|
|
|
|
li > ul li {
|
|
|
|
display: none;
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-20 20:20:33 +01:00
|
|
|
@include breakpoint($medium) {
|
2016-03-10 17:13:54 +01:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|