2011-06-27 20:59:21 +00:00
|
|
|
.side-shadow-border {
|
|
|
|
@include box-shadow(lighten($sidebar-bg, 5) 0 1px);
|
|
|
|
}
|
2011-07-13 15:58:34 +00:00
|
|
|
aside[role=sidebar] {
|
2011-06-27 20:59:21 +00:00
|
|
|
color: $sidebar-color;
|
|
|
|
text-shadow: lighten($sidebar-bg, 8) 0 1px;
|
|
|
|
section {
|
|
|
|
@extend .sans;
|
|
|
|
font-size: .8em;
|
|
|
|
line-height: 1.4em;
|
|
|
|
margin-bottom: 1.5em;
|
|
|
|
h1 {
|
|
|
|
margin: 1.5em 0 0;
|
|
|
|
padding-bottom: .2em;
|
|
|
|
border-bottom: 1px solid $sidebar-border;
|
|
|
|
@extend .side-shadow-border;
|
|
|
|
+ p {
|
|
|
|
padding-top: .4em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
ul {
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
li {
|
|
|
|
list-style: none;
|
|
|
|
padding: .5em 0;
|
|
|
|
margin: 0;
|
|
|
|
border-bottom: 1px solid $sidebar-border;
|
|
|
|
@extend .side-shadow-border;
|
|
|
|
p:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
a {
|
|
|
|
color: inherit;
|
2011-07-17 02:18:39 +00:00
|
|
|
@include transition(color .5s);
|
2011-06-27 20:59:21 +00:00
|
|
|
}
|
2011-07-13 15:58:34 +00:00
|
|
|
&:hover a {
|
|
|
|
color: $sidebar-link-color;
|
2011-06-27 20:59:21 +00:00
|
|
|
&:hover { color: $sidebar-link-color-hover; }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.aside-alt-link {
|
|
|
|
color: $sidebar-link-color-subdued;
|
|
|
|
&:hover {
|
|
|
|
color: $sidebar-link-color-subdued-hover;
|
|
|
|
}
|
|
|
|
}
|