commit 590655ea297ee9065167274f5b5e6bb14dd2fa18
parent 10e1daf7cb197a35a2dfde4ba6e404218272dcb4
Author: ashermorgan <59518073+ashermorgan@users.noreply.github.com>
Date: Thu, 19 Aug 2021 16:07:54 -0700
Improve noscript message
Diffstat:
2 files changed, 25 insertions(+), 3 deletions(-)
diff --git a/public/404.html b/public/404.html
@@ -37,8 +37,8 @@
<body>
<header>Running Tools</header>
<main>
- <h1>404 Not Found</h1>
- <p><a href="https://ashermorgan.github.io/running-tools">homepage</a></p>
+ <h1>404 Not Found</h1>
+ <p><a href="https://ashermorgan.github.io/running-tools">homepage</a></p>
</main>
</body>
</html>
diff --git a/public/index.html b/public/index.html
@@ -36,7 +36,29 @@
</head>
<body>
<noscript>
- <strong>We're sorry but Running Tools doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
+ <style>
+ * {
+ margin: 0px;
+ padding: 0px;
+ box-sizing: border-box;
+ }
+ body {
+ font-family: Segoe UI, sans-serif;
+ text-align: center;
+ }
+ header {
+ background-color: hsl(30, 100%, 50%);
+ padding: 0.25em;
+ font-size: 2em;
+ font-weight: bold;
+ }
+ p {
+ margin: 10px;
+ font-weight: bold;
+ }
+ </style>
+ <header>Running Tools</header>
+ <p>We're sorry but Running Tools doesn't work properly without JavaScript enabled. Please enable it to continue.</p>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->