Skip to content

Commit

Permalink
Refactored .exturl class & improve variables for a tags. (theme-n…
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-nginx authored Sep 22, 2018
1 parent 73f5afd commit 08f49f5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 23 deletions.
19 changes: 0 additions & 19 deletions source/css/_common/components/tags/exturl.styl

This file was deleted.

13 changes: 10 additions & 3 deletions source/css/_common/scaffolding/base.styl
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,24 @@ for headline in (1..6) {

p { margin: 0 0 20px 0; }

a {
a, span.exturl {
// Remove the gray background color from active links in IE 10.
background-color: transparent;
color: $link-color;
text-decoration: none;
outline: none;
border-bottom: 1px solid $grey-dark;
border-bottom: 1px solid $link-decoration-color;
word-wrap: break-word;

&:hover {
&:hover,
// Improve readability when focused.
&:active {
color: $link-hover-color;
border-bottom-color: $link-decoration-hover-color;
}

// For spanned external links.
cursor: pointer;
}

blockquote {
Expand Down
2 changes: 1 addition & 1 deletion source/css/_variables/base.styl
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ $text-color = $black-light
// Global link color.
$link-color = $black-light
$link-hover-color = $black-deep
$link-decoration-color = $grey-light
$link-decoration-color = $grey-dark
$link-decoration-hover-color = $black-deep

// Global border color.
Expand Down

0 comments on commit 08f49f5

Please sign in to comment.