Skip to content

Commit a514a05

Browse files
committed
academicpages#137 updates for links
1 parent 8b4b631 commit a514a05

File tree

5 files changed

+7
-11
lines changed

5 files changed

+7
-11
lines changed

_sass/_navigation.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
border-radius: 0;
8989

9090
&:hover {
91-
color: $link-color-hover;
91+
color: var(--global-link-color-hover);
9292
}
9393

9494
&.current {
@@ -136,7 +136,7 @@
136136
border-radius: $border-radius;
137137

138138
&:hover {
139-
color: $link-color-hover;
139+
color: var(--global-link-color-hover);
140140
}
141141

142142
&:first-child {

_sass/_page.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@
272272

273273
&:hover {
274274
text-decoration: none;
275-
color: $link-color-hover;
275+
color: var(--global-link-color-hover);
276276
}
277277
}
278278

_sass/_reset.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ audio:not([controls]) {
6767
}
6868

6969
a {
70-
color: $link-color;
70+
color: var(--global-link-color);
7171
}
7272

7373
/* Apply focus state */

_sass/_themes.scss

+3
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ $notice-color : #7a8288;
2323
--global-border-color : #{$lighter-gray};
2424
--global-code-background-color : #fafafa;
2525
--global-fig-caption-color : mix(#fff, #{$dark-gray}, 25%);
26+
--global-link-color : #2f7f93;
27+
--global-link-color-hover : mix(#000, #2f7f93, 25%);
28+
--global-link-color-visited : mix(#fff, #2f7f93, 25%);
2629
--global-masthead-link-color : #{$gray};
2730
--global-masthead-link-color-hover : mix(#000, #{$gray}, 25%);
2831
--global-text-color : #{$dark-gray};

_sass/_variables.scss

-7
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ $masthead-height : 70px;
4949
$sidebar-screen-min-width : 1024px;
5050
$sidebar-link-max-width : 250px;
5151

52-
53-
5452
/*
5553
Brand Colors
5654
========================================================================== */
@@ -79,11 +77,6 @@ $vine-color : #00bf8f;
7977
$youtube-color : #bb0000;
8078
$xing-color : #006567;
8179

82-
/* links */
83-
$link-color : $info-color;
84-
$link-color-hover : mix(#000, $link-color, 25%);
85-
$link-color-visited : mix(#fff, $link-color, 25%);
86-
8780
/*
8881
Breakpoints
8982
========================================================================== */

0 commit comments

Comments
 (0)