better background

This commit is contained in:
Minecon724 2024-10-12 12:23:04 +02:00
parent 0d54f40061
commit bf4c8989eb
Signed by: Minecon724
GPG key ID: 3CCC4D267742C8E8
2 changed files with 10 additions and 0 deletions

View file

@ -5,6 +5,13 @@
<script src="./script.js" defer></script> <script src="./script.js" defer></script>
<title>dn724</title> <title>dn724</title>
<style>
html {
font-size: large;
background: #fee;
}
</style>
<input type="number" min="0" placeholder="your ASN" oninput="calculate(this)"> <input type="number" min="0" placeholder="your ASN" oninput="calculate(this)">
<p>Port: <span id="result"></span></p> <p>Port: <span id="result"></span></p>
</html> </html>

View file

@ -1,12 +1,15 @@
html { html {
font-size: large; font-size: large;
background: #fee;
} }
body { body {
margin: 0 auto; margin: 0 auto;
padding-right: 20px; /* make it look aligned */ padding-right: 20px; /* make it look aligned */
max-width: calc(100vw - 40px); max-width: calc(100vw - 40px);
word-wrap: break-word; word-wrap: break-word;
width: fit-content; width: fit-content;
border-radius: 0px;
} }
ul { ul {
margin-bottom: 1.4em; margin-bottom: 1.4em;