[nasm:nasm-2.16.xx] nasmdoc.css: simplify some media queries
nasm-bot for H. Peter Anvin
hpa at zytor.com
Thu Apr 4 15:18:06 PDT 2024
Commit-ID: 1ad669bf065528d9a6f6f216b1edc2342ff6de5b
Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=1ad669bf065528d9a6f6f216b1edc2342ff6de5b
Author: H. Peter Anvin <hpa at zytor.com>
AuthorDate: Thu, 4 Apr 2024 15:15:05 -0700
Committer: H. Peter Anvin <hpa at zytor.com>
CommitDate: Thu, 4 Apr 2024 15:15:05 -0700
nasmdoc.css: simplify some media queries
Some media queries were needlessly complicated and misinterpreted by
some browsers.
Signed-off-by: H. Peter Anvin <hpa at zytor.com>
---
doc/nasmdoc.css | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/doc/nasmdoc.css b/doc/nasmdoc.css
index 49dc3a40..cc0b671f 100644
--- a/doc/nasmdoc.css
+++ b/doc/nasmdoc.css
@@ -68,17 +68,16 @@ li.toc2 {
vertical-align: top;
flex: 1 1 0;
}
- at media not screen {
- ul.navbar {
- display: none;
- }
+/* This is overridden for @media screen */
+ul.navbar {
+ display: none;
}
@media print {
a {
color: inherit;
}
}
- at media only screen {
+ at media screen {
div.contents {
-webkit-column-gap: 4em;
-webkit-column-rule: 1px dotted black;
More information about the Nasm-commits
mailing list