Add script message

main
Ashelyn Dawn 3 years ago
parent 978f1ad5f9
commit ac6e680f44

@ -8,7 +8,16 @@
</head> </head>
<body> <body>
<div id="container"> <div id="container">
<div id="target"></div> <div id="target">
<noscript>
<p>
This page requires javascript, unfortunately
</p>
<p>
(noscript fallback coming soon)
</p>
</noscript>
</div>
</div> </div>
<style> <style>
html, body { html, body {
@ -89,5 +98,25 @@
window.addEventListener('resize', scale); window.addEventListener('resize', scale);
scale(); scale();
</script> </script>
<noscript>
<style>
p {
width: 600px;
margin: 0 10px;
text-align: center;
}
#target {
white-space: initial;
display: flex;
flex-direction: column;
justify-content: center;
}
#target::after {
display: none;
}
</style>
</noscript>
</body> </body>
</html> </html>

Loading…
Cancel
Save