commit c9c3e9cc43edb7f39e2e500ac5d3903127efbdcf
parent e84498a9616f83e06986ac6d9e1b552c38360872
Author: Oshgnacknak <osh@oshgnacknak.de>
Date: Sun, 16 Dec 2018 11:24:28 +0100
Noscript warning
Diffstat:
2 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/index.html b/index.html
@@ -12,6 +12,10 @@
<h1>Crosstable</h1>
</header>
+ <noscript>
+ <h1>Sorry, JavaScript is required</h1>
+ </noscript>
+
<p id="player_add">
Name: <input id="player_name_input" type="text" value="">
<button id="player_add_button">Add Player</button>
diff --git a/style.css b/style.css
@@ -1,5 +1,17 @@
body {
font-size: 24px;
+ margin: 0;
+}
+
+noscript {
+ overflow: hidden;
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ background: lightgray;
+ text-align: center;
}
table * {