Show the about tab when JavaScript is off
This commit is contained in:
parent
5328ba1727
commit
460a2da2cd
1 changed files with 6 additions and 3 deletions
|
@ -152,7 +152,8 @@
|
||||||
background-color: rgba(255,255,255, 0.2);
|
background-color: rgba(255,255,255, 0.2);
|
||||||
}
|
}
|
||||||
a { color: cyan; text-decoration: none;}
|
a { color: cyan; text-decoration: none;}
|
||||||
#about {
|
#about, .noscript {
|
||||||
|
display: block;
|
||||||
max-width: 40rem;
|
max-width: 40rem;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -161,8 +162,10 @@
|
||||||
<main>
|
<main>
|
||||||
<h1>infohash ↔ base64</h1>
|
<h1>infohash ↔ base64</h1>
|
||||||
<noscript>
|
<noscript>
|
||||||
This tool requires JavaScript to function.
|
<div class="noscript">
|
||||||
You can use DevTools in your browser to look at the code (it's intended to be easily readable).
|
<p>This tool requires JavaScript to function.</p>
|
||||||
|
<p>You can use DevTools in your browser to look at the code (it's intended to be easily readable).</p>
|
||||||
|
</div>
|
||||||
</noscript>
|
</noscript>
|
||||||
<div class="tabBar">
|
<div class="tabBar">
|
||||||
<div onclick="switchTab('encode')" class="button leftButton">Encode</div>
|
<div onclick="switchTab('encode')" class="button leftButton">Encode</div>
|
||||||
|
|
Loading…
Reference in a new issue