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);
|
||||
}
|
||||
a { color: cyan; text-decoration: none;}
|
||||
#about {
|
||||
#about, .noscript {
|
||||
display: block;
|
||||
max-width: 40rem;
|
||||
}
|
||||
</style>
|
||||
|
@ -161,8 +162,10 @@
|
|||
<main>
|
||||
<h1>infohash ↔ base64</h1>
|
||||
<noscript>
|
||||
This tool requires JavaScript to function.
|
||||
You can use DevTools in your browser to look at the code (it's intended to be easily readable).
|
||||
<div class="noscript">
|
||||
<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>
|
||||
<div class="tabBar">
|
||||
<div onclick="switchTab('encode')" class="button leftButton">Encode</div>
|
||||
|
|
Loading…
Reference in a new issue