Skip to content

Commit dcb3ec8

Browse files
author
Matthew McCullough
committed
Hyperlinks have better user interaction with hover states
1 parent 9d47b38 commit dcb3ec8

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

_stylesheets/workbook.css

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@
5151

5252
.booklink, .githublink, .weblink, .videolink {
5353
font: normal normal 1em octicons;
54-
text-decoration: none; }
54+
text-decoration: none;
55+
color: #1875c6; }
56+
.booklink:hover, .githublink:hover, .weblink:hover, .videolink:hover {
57+
color: #00a5ea; }
5558

5659
.booklink:before {
5760
content: "\f007";
@@ -102,7 +105,9 @@ ul {
102105
margin-left: 40px; }
103106

104107
p {
105-
margin-left: 30px; }
108+
text-indent: 5px;
109+
margin-left: 30px;
110+
margin-bottom: 20px; }
106111

107112
blockquote {
108113
width: 80%;

_stylesheets/workbook.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,11 @@
102102
.booklink, .githublink, .weblink, .videolink {
103103
font: normal normal 1em octicons;
104104
text-decoration: none;
105+
color: $color-dark;
106+
107+
&:hover {
108+
color: $color-bright;
109+
}
105110
}
106111

107112
.booklink{
@@ -171,7 +176,9 @@ ul{
171176
}
172177

173178
p{
179+
text-indent: 5px;
174180
margin-left: 30px;
181+
margin-bottom: 20px;
175182
}
176183

177184

0 commit comments

Comments
 (0)