make responsive
All checks were successful
Build docker container / Build image (push) Successful in 30s

This commit is contained in:
Mans Ziesel 2024-06-03 14:28:04 +02:00
parent ef915583aa
commit d8776bb51b

View File

@ -7,7 +7,7 @@
<style>
body {
font-family: Arial, sans-serif;
font-size: 5rem;
font-size: 2rem;
color: #333;
display: flex;
justify-content: center;
@ -19,13 +19,13 @@
list-style: none;
padding: 0;
margin: 0;
background: #fff;
border-radius: 8px;
overflow: hidden;
max-width: 90%;
width: 100%;
}
li {
padding: 15px 20px;
padding: 15px 0px;
border-bottom: 1px solid #ddd;
word-wrap: break-word;
}
li:last-child {
border-bottom: none;
@ -40,6 +40,17 @@
b {
color: #000;
}
@media (min-width: 600px) {
body {
font-size: 3rem;
padding: 40px;
}
}
@media (min-width: 900px) {
body {
font-size: 4rem;
}
}
</style>
</head>
<body>
@ -48,7 +59,6 @@
<span class="noselect">{{ .Type }}: </span><b>{{ .Address }}</b>
</li>
</ul>
</body>
<script>
async function getIp() {
const isIpv4 = "{{ .Type }}" == "IPv4";
@ -70,4 +80,5 @@
}
getIp();
</script>
</body>
</html>