diff --git a/static/src/less/style.less b/static/src/less/style.less index 84b520d..92d36b0 100644 --- a/static/src/less/style.less +++ b/static/src/less/style.less @@ -104,4 +104,17 @@ footer { height: 5vh; } } -/* @end 404 */ \ No newline at end of file +/* @end 404 */ + +/* @group no-js */ +.no-js { + .header { + background-color: #232323; + color: white; + } + #ie-scare { + height: 150px; + float: right; + } +} +/* @end no-js*/ \ No newline at end of file diff --git a/templates/core/no-js.html b/templates/core/no-js.html index b1592df..016f0d3 100644 --- a/templates/core/no-js.html +++ b/templates/core/no-js.html @@ -1,20 +1,28 @@ {% extends 'base.html' %} {% load staticfiles %} {% block htmltitle %}Javascript is Disabled!{% endblock %} - +{% block bodyClass %}no-js{% endblock %} {% block content %} -
You appear to have javascript disabled. For my site to function properly, javascript must be enabled! The javascript is used to dynamically change the webpage on your device. Without them then the site will break, cause a tonne of errors, and not look right, all of which aren't very nice, for you or me.
-The javascript on this page won't damage your computer in any way, and has been written entirely by me, or has used trusted and open-source 3rd-party libraries. You can trust this site! Re-enabling the javascript functions inside your browser is very easy, and helpful tutorials can be found below!
+- After enabling javascript, the page should automatically redirect to the homepage. If it doesn't, just refresh the page, or Click here. -
+