From 7d9abf87fe485dc9b7d57c3938a3135b985cd4e6 Mon Sep 17 00:00:00 2001 From: Arun SAG Date: Fri, 2 Sep 2011 12:03:36 +0530 Subject: Add noscript tag to warn and ask users to enable javascript --- askbot/skins/default/media/style/style.css | 15 +++++++++++++++ askbot/skins/default/templates/blocks/bottom_scripts.html | 5 +++++ 2 files changed, 20 insertions(+) diff --git a/askbot/skins/default/media/style/style.css b/askbot/skins/default/media/style/style.css index 7d2c558f..4e05ff8f 100644 --- a/askbot/skins/default/media/style/style.css +++ b/askbot/skins/default/media/style/style.css @@ -1911,6 +1911,21 @@ button::-moz-focus-inner { text-decoration: none; } +.noscript { + position: fixed; + top: 0px; + left: 0px; + width: 100%; + z-index: 100; + padding: 5px 0; + text-align: center; + font-family: sans-serif; + font-size: 120%; + font-weight: Bold; + color: #FFFFFF; + background-color: #AE0000; +} + .big { font-size: 15px; } diff --git a/askbot/skins/default/templates/blocks/bottom_scripts.html b/askbot/skins/default/templates/blocks/bottom_scripts.html index aaad70c0..de0b7dbb 100644 --- a/askbot/skins/default/templates/blocks/bottom_scripts.html +++ b/askbot/skins/default/templates/blocks/bottom_scripts.html @@ -2,6 +2,11 @@ this template is included at the very bottow of the main template "base.html" #} +
+ +