Skip to content

Commit b1a2394

Browse files
committed
[css-box] Fix up annoying notice to float over the ToC
1 parent a5b2a79 commit b1a2394

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

css-box/Overview.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@
4646
.css::after, .property::after, .descriptor::after {content: none}
4747

4848
@media screen {
49-
#annoying-warning:not(:checked) + * + * {position: fixed; z-index: 1;
49+
#annoying-warning:not(:checked) + * + * {position: fixed; z-index: 2;
5050
bottom: 2em; left: 0; right: 0; text-align: center;
5151
padding: 0.5em 0.5em 1em 0.5em; box-shadow: 0 2px 8px black;
5252
border-top: thin solid; border-bottom: thin solid;
5353
background: hsla(40,100%,50%,0.9); color: black}
5454
#annoying-warning:not(:checked) + * + * p {margin: 0}
55-
#annoying-warning, #annoying-warning + * {position: fixed; z-index: 2}
55+
#annoying-warning, #annoying-warning + * {position: fixed; z-index: 3}
5656
#annoying-warning {font-size: 1em; bottom: 2.3em; right: 0.5em; margin: 0}
5757
#annoying-warning + * {font-size: 80%; bottom: 2.5em; right: 2.3em}
5858
#annoying-warning:checked, #annoying-warning:checked + * {display: none}

css-box/Overview.src.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@
4141
.css::after, .property::after, .descriptor::after {content: none}
4242

4343
@media screen {
44-
#annoying-warning:not(:checked) + * + * {position: fixed; z-index: 1;
44+
#annoying-warning:not(:checked) + * + * {position: fixed; z-index: 2;
4545
bottom: 2em; left: 0; right: 0; text-align: center;
4646
padding: 0.5em 0.5em 1em 0.5em; box-shadow: 0 2px 8px black;
4747
border-top: thin solid; border-bottom: thin solid;
4848
background: hsla(40,100%,50%,0.9); color: black}
4949
#annoying-warning:not(:checked) + * + * p {margin: 0}
50-
#annoying-warning, #annoying-warning + * {position: fixed; z-index: 2}
50+
#annoying-warning, #annoying-warning + * {position: fixed; z-index: 3}
5151
#annoying-warning {font-size: 1em; bottom: 2.3em; right: 0.5em; margin: 0}
5252
#annoying-warning + * {font-size: 80%; bottom: 2.5em; right: 2.3em}
5353
#annoying-warning:checked, #annoying-warning:checked + * {display: none}

0 commit comments

Comments
 (0)