Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactored .exturl class & improve variables for a tags. #422

Merged
merged 1 commit into from
Sep 22, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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