File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed
src/generators/legacy-html Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -142,6 +142,20 @@ a.type {
142
142
font-size : 0.9em ;
143
143
}
144
144
145
+ .skip-to-content {
146
+ position : fixed;
147
+ top : -300% ;
148
+ }
149
+
150
+ .skip-to-content : focus {
151
+ display : block;
152
+ top : 0 ;
153
+ left : 0 ;
154
+ background-color : var (--green1 );
155
+ padding : 1rem ;
156
+ z-index : 999999 ;
157
+ }
158
+
145
159
# content {
146
160
position : relative;
147
161
}
Original file line number Diff line number Diff line change 39
39
</ style >
40
40
</ head >
41
41
< body class ="alt apidoc " id ="api-section-__FILENAME__ ">
42
+ < a href ="#apicontent " class ="skip-to-content "> Skip to content</ a >
42
43
< div id ="content " class ="clearfix ">
43
44
< div role ="navigation " id ="column2 " class ="interior ">
44
45
< div id ="intro " class ="interior ">
You can’t perform that action at this time.
0 commit comments