Updated default link colors, hovers, sidebar link colors, etc
This commit is contained in:
parent
b0a610095f
commit
b0921c1e27
@ -3,9 +3,9 @@ $img-border: inline-image('dotted-border.png');
|
|||||||
|
|
||||||
// Main Link Colors
|
// Main Link Colors
|
||||||
$link-color: lighten(#165b94, 3) !default;
|
$link-color: lighten(#165b94, 3) !default;
|
||||||
$link-color-hover: adjust-hue($link-color, -200) !default;
|
$link-color-hover: adjust-color($link-color, $lightness: 10, $saturation: 25) !default;
|
||||||
$link-color-visited: darken(adjust_hue($link_color, 70), 10) !default;
|
$link-color-visited: adjust-color($link-color, $hue: 80, $lightness: -2) !default;
|
||||||
$link-color-active: darken($link-color-hover, 15) !default;
|
$link-color-active: adjust-color($link-color-hover, $lightness: -15) !default;
|
||||||
|
|
||||||
// Main Section Colors
|
// Main Section Colors
|
||||||
$main-bg: #f8f8f8 !default;
|
$main-bg: #f8f8f8 !default;
|
||||||
@ -64,7 +64,9 @@ $page-border-bottom: darken($footer-bg, 5) !default;
|
|||||||
article a, #articles + aside a {
|
article a, #articles + aside a {
|
||||||
@include link-colors($link-color, $hover: $link-color-hover, $focus: $link-color-hover, $visited: $link-color-visited, $active: $link-color-active);
|
@include link-colors($link-color, $hover: $link-color-hover, $focus: $link-color-hover, $visited: $link-color-visited, $active: $link-color-active);
|
||||||
}
|
}
|
||||||
a { @include transition(color, .5s); }
|
a {
|
||||||
|
@include transition(color, .3s);
|
||||||
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
background: $page-bg image-url('line-tile.png') top left;
|
background: $page-bg image-url('line-tile.png') top left;
|
||||||
|
@ -1,9 +1,8 @@
|
|||||||
.side-shadow-border {
|
.side-shadow-border {
|
||||||
@include box-shadow(lighten($sidebar-bg, 5) 0 1px);
|
@include box-shadow(lighten($sidebar-bg, 5) 0 1px);
|
||||||
}
|
}
|
||||||
#content > aside {
|
aside[role=sidebar] {
|
||||||
color: $sidebar-color;
|
color: $sidebar-color;
|
||||||
//padding-top: 1.2em;
|
|
||||||
text-shadow: lighten($sidebar-bg, 8) 0 1px;
|
text-shadow: lighten($sidebar-bg, 8) 0 1px;
|
||||||
section {
|
section {
|
||||||
@extend .sans;
|
@extend .sans;
|
||||||
@ -37,16 +36,10 @@
|
|||||||
color: inherit;
|
color: inherit;
|
||||||
@include transition(color, .5s);
|
@include transition(color, .5s);
|
||||||
}
|
}
|
||||||
&:hover a, &:hover #tweets a { color: $sidebar-link-color;
|
&:hover a {
|
||||||
|
color: $sidebar-link-color;
|
||||||
&:hover { color: $sidebar-link-color-hover; }
|
&:hover { color: $sidebar-link-color-hover; }
|
||||||
}
|
}
|
||||||
#recent_posts {
|
|
||||||
time {
|
|
||||||
text-transform: uppercase;
|
|
||||||
font-size: .9em;
|
|
||||||
color: #666;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.aside-alt-link {
|
.aside-alt-link {
|
||||||
color: $sidebar-link-color-subdued;
|
color: $sidebar-link-color-subdued;
|
||||||
|
@ -9,7 +9,6 @@
|
|||||||
background: inline-image('bird_32_gray_fail.png') no-repeat center .5em;
|
background: inline-image('bird_32_gray_fail.png') no-repeat center .5em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
a { color: $sidebar-link-color-subdued; @include hover-link; }
|
|
||||||
p {
|
p {
|
||||||
position: relative;
|
position: relative;
|
||||||
padding-right: 1em;
|
padding-right: 1em;
|
||||||
@ -22,6 +21,7 @@
|
|||||||
text-shadow: #fff 0 1px;
|
text-shadow: #fff 0 1px;
|
||||||
font-size: .7em;
|
font-size: .7em;
|
||||||
span { font-size: 1.5em; }
|
span { font-size: 1.5em; }
|
||||||
|
text-decoration: none;
|
||||||
&:hover {
|
&:hover {
|
||||||
color: $sidebar-link-color-subdued-hover;
|
color: $sidebar-link-color-subdued-hover;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
@ -29,5 +29,6 @@
|
|||||||
}
|
}
|
||||||
a[href*='twitter.com/search']{
|
a[href*='twitter.com/search']{
|
||||||
@extend .aside-alt-link;
|
@extend .aside-alt-link;
|
||||||
|
@include hover-link;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user