Skip to content

Commit 1ad669b

Browse files
author
H. Peter Anvin
committed
nasmdoc.css: simplify some media queries
Some media queries were needlessly complicated and misinterpreted by some browsers. Signed-off-by: H. Peter Anvin <[email protected]>
1 parent b11cd3a commit 1ad669b

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

doc/nasmdoc.css

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,17 +68,16 @@ li.toc2 {
6868
vertical-align: top;
6969
flex: 1 1 0;
7070
}
71-
@media not screen {
72-
ul.navbar {
73-
display: none;
74-
}
71+
/* This is overridden for @media screen */
72+
ul.navbar {
73+
display: none;
7574
}
7675
@media print {
7776
a {
7877
color: inherit;
7978
}
8079
}
81-
@media only screen {
80+
@media screen {
8281
div.contents {
8382
-webkit-column-gap: 4em;
8483
-webkit-column-rule: 1px dotted black;

0 commit comments

Comments
 (0)