about summary refs log tree commit diff stats
path: root/res
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-02-13 22:19:35 +0100
committerbptato <nincsnevem662@gmail.com>2024-02-13 22:19:35 +0100
commit7c7ca36ac942e6104dfc6ecc6d4061b983b077fa (patch)
tree68c88502b7d9855df63167c87088473bed7d5104 /res
parent74223dc7581967dd3568e5b7e013bf30e30c3d5f (diff)
downloadchawan-7c7ca36ac942e6104dfc6ecc6d4061b983b077fa.tar.gz
css: hide noscript tags when scripting is enabled
Diffstat (limited to 'res')
-rw-r--r--res/ua.css6
1 files changed, 6 insertions, 0 deletions
diff --git a/res/ua.css b/res/ua.css
index 01f82788..4bce2380 100644
--- a/res/ua.css
+++ b/res/ua.css
@@ -14,6 +14,12 @@ noscript, ol, p, plaintext, pre, search, section, ul, xmp {
 	display: block;
 }
 
+@media (scripting: enabled) {
+noscript {
+	display: none;
+}
+}
+
 textarea, tt, var, font, iframe, u, s, strike, frame, input, img {
 	display: inline-block;
 }