Skip to content

Commit abae0b7

Browse files
committed
move skip btn styles
1 parent 1157896 commit abae0b7

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

packages/nuejs.org/@global/global.css

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -83,18 +83,5 @@ dl {
8383
}
8484
}
8585

86-
/* skip to main content button */
87-
.skip {
88-
position: absolute;
89-
top: -100%;
90-
left: -100%;
91-
margin: 0.5em;
92-
93-
&:focus {
94-
top: 0;
95-
left: 0;
96-
}
97-
}
98-
9986
/* fix scrolling behind header */
10087
article, h1 { scroll-margin-top: 1.75em; }

packages/nuejs.org/@global/navigation.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,19 @@ nav a {
88
}
99

1010

11+
/* skip to main content button */
12+
.skip {
13+
position: absolute;
14+
top: -100%;
15+
left: -100%;
16+
margin: 0.5em;
17+
18+
&:focus {
19+
top: 0;
20+
left: 0;
21+
}
22+
}
23+
1124
/* global header */
1225
body > header {
1326
margin-bottom: 5em;

0 commit comments

Comments
 (0)