Skip to content

Commit 833d617

Browse files
committed
link fixup
1 parent b438b9d commit 833d617

File tree

1 file changed

+12
-20
lines changed

1 file changed

+12
-20
lines changed

site/_css/graphql.less

Lines changed: 12 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ nav {
122122
padding: 0 1em;
123123
transition: color 0.1s ease-out;
124124

125-
&:hover, &.active {
125+
&:hover, &:focus, &.active {
126126
color: @text-color;
127127
text-decoration: none;
128128
}
@@ -164,7 +164,7 @@ body.index {
164164
background: none;
165165
box-shadow: none;
166166

167-
nav a:hover {
167+
nav a:hover, nav a:focus {
168168
color: white;
169169
}
170170
}
@@ -233,20 +233,16 @@ h1:hover .hash-link, h2:hover .hash-link, h3:hover .hash-link, h4:hover .hash-li
233233
.buttons-unit {
234234
margin-top: 60px;
235235
text-align: center;
236-
}
237-
238-
.buttons-unit a {
239-
color: #FA6900;
240-
}
241236

242-
.buttons-unit .button {
243-
font-size: 24px;
244-
background: @rhodamine-color;
245-
color: #fafafa;
246-
}
237+
.button {
238+
.body-font(@color: white);
239+
background: @rhodamine-color;
240+
transition: background 0.1s ease-out;
247241

248-
.buttons-unit .button:active {
249-
background: #E97CC5;
242+
&:hover, &:focus, &.active {
243+
background: lighten(@rhodamine-color, 10%);
244+
}
245+
}
250246
}
251247

252248
.nav-docs {
@@ -279,15 +275,11 @@ h1:hover .hash-link, h2:hover .hash-link, h3:hover .hash-link, h4:hover .hash-li
279275
display: block;
280276
}
281277

282-
.nav-docs a:hover {
278+
.nav-docs a:hover, .nav-docs a:focus, .nav-docs a.active {
283279
text-decoration: none;
284280
color: @rhodamine-color;
285281
}
286282

287-
.nav-docs a.active {
288-
color: @rhodamine-color;
289-
}
290-
291283
.nav-docs .nav-docs-section {
292284
border-bottom: 1px solid #ccc;
293285
border-top: 1px solid #eee;
@@ -476,7 +468,7 @@ section.black content {
476468
text-decoration: none;
477469
}
478470

479-
.button:hover {
471+
.button:hover, .button:focus {
480472
text-decoration: none;
481473
}
482474

0 commit comments

Comments
 (0)