Add better noscript warning
This commit is contained in:
parent
70bc28b8d3
commit
5fc5abe8e5
@ -90,6 +90,21 @@ hr {
|
|||||||
padding: 0.5em;
|
padding: 0.5em;
|
||||||
margin-top: 0em;
|
margin-top: 0em;
|
||||||
}
|
}
|
||||||
|
.borderedWarning {
|
||||||
|
border-color: #000000;
|
||||||
|
border-width: 2px;
|
||||||
|
border-style: solid;
|
||||||
|
padding: 0.5em;
|
||||||
|
margin-top: 0.5em;
|
||||||
|
margin-bottom : 0.5em;
|
||||||
|
background-color: yellow;
|
||||||
|
color: black;
|
||||||
|
font-size: 125%;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
.borderdWarning a, .borderedWarning a:link, .borderedWarning a:visited, .borderedWarning a:hover, .borderedWarning a:active {
|
||||||
|
color: gray;
|
||||||
|
}
|
||||||
.configFrame {
|
.configFrame {
|
||||||
border-color: #606060;
|
border-color: #606060;
|
||||||
border-width: 0px 2px 2px 2px;
|
border-width: 0px 2px 2px 2px;
|
||||||
|
@ -13,8 +13,12 @@
|
|||||||
|
|
||||||
<body>
|
<body>
|
||||||
<h1>MiBPoV—Minetest Biome Point Visualizer</h1>
|
<h1>MiBPoV—Minetest Biome Point Visualizer</h1>
|
||||||
<noscript>This tool requires JavaScript to work.</noscript>
|
|
||||||
<div id="mainContentContainer" class="contentContainer">
|
<div id="mainContentContainer" class="contentContainer">
|
||||||
|
<noscript>
|
||||||
|
<div class="borderedWarning">
|
||||||
|
ERROR: This tool requires JavaScript to work, but JavaScript is disabled in your browser. See the <a href="./manual.html">manual</a> to learn what this thing can do.
|
||||||
|
</div>
|
||||||
|
</noscript>
|
||||||
<div id="canvasContainer">
|
<div id="canvasContainer">
|
||||||
<canvas id="voronoiCanvas" width="500" height="500">
|
<canvas id="voronoiCanvas" width="500" height="500">
|
||||||
A Voronoi diagram is supposed to be here but for some reason it cannot be displayed. This tool is useless without this functionality.
|
A Voronoi diagram is supposed to be here but for some reason it cannot be displayed. This tool is useless without this functionality.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user