.sidebar { $border: 1px solid $gray-dark; font-size: 16px; font-family: $mono; color: $gray-light; width: $sidebar-width; float: left; background-color: $sidebar-background-color; height: 100%; h2 { color: $green; text-transform: uppercase; padding: $docs-top-margin 20px 0; } h4 { color: $white; text-transform: uppercase; margin-bottom: -10px; } ul { @extend .padded-sm; li { border-bottom: $border; padding: 15px 0; text-align: left; } li > * { padding: auto 20px; margin-left: 20px; display: block; width: 100%; } } .sidebar-background { background-color: $sidebar-background-color; height: 100%; width: $sidebar-width; position: fixed; top: 0; left: 0; z-index: -9999; } }