Skip to content

Commit a26c60e

Browse files
seiranijtpio
authored andcommitted
Update base.css
1 parent 7622707 commit a26c60e

File tree

1 file changed

+25
-0
lines changed
  • packages/notebook-extension/style

1 file changed

+25
-0
lines changed

packages/notebook-extension/style/base.css

+25
Original file line numberDiff line numberDiff line change
@@ -280,3 +280,28 @@ body[data-notebook='notebooks']
280280
overflow: hidden;
281281
white-space: nowrap;
282282
}
283+
284+
.jp-skiplink {
285+
position: absolute;
286+
top: -100em;
287+
}
288+
289+
.jp-skiplink:focus-within {
290+
position: absolute;
291+
z-index: 10000;
292+
top: 0;
293+
left: 46%;
294+
margin: 0 auto;
295+
padding: 1em;
296+
width: 15%;
297+
box-shadow: var(--jp-elevation-z4);
298+
border-radius: 4px;
299+
background: var(--jp-layout-color0);
300+
text-align: center;
301+
}
302+
303+
.jp-skiplink:focus-within a {
304+
text-decoration: underline;
305+
color: var(--jp-content-link-color);
306+
}
307+

0 commit comments

Comments
 (0)