summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--askbot/skins/default/media/style/style.css15
-rw-r--r--askbot/skins/default/templates/blocks/bottom_scripts.html5
2 files changed, 20 insertions, 0 deletions
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"
#}
+<div id="no-javascript">
+ <noscript class="noscript">
+ Askbot works best with Javascript enabled
+ </noscript>
+</div>
<script type="text/javascript">
var i18nLang = '{{settings.LANGUAGE_CODE}}';
var scriptUrl = '/{{settings.ASKBOT_URL}}'