Improve noscript UI appearance

This commit is contained in:
Drew DeVault 2021-11-29 12:50:41 +01:00 committed by Simon Ser
parent c4a78283af
commit b1d5f1436e
2 changed files with 8 additions and 1 deletions

View file

@ -11,7 +11,7 @@
</head> </head>
<body> <body>
<noscript> <noscript>
<p>Unfortunately gamja requires JavaScript. Please enable it!</p> <p>This application requires JavaScript. Please enable it!</p>
</noscript> </noscript>
</body> </body>
</html> </html>

View file

@ -58,6 +58,13 @@ body {
font-family: monospace; font-family: monospace;
} }
noscript {
display: block;
margin: 0 auto;
max-width: 600px;
grid-column-start: 2;
}
button { button {
background: var(--button-background); background: var(--button-background);
transition: background 0.25s linear; transition: background 0.25s linear;