💫 prettier css

This commit is contained in:
bretello 2024-06-15 12:12:39 +02:00
parent 5daddad360
commit 96d525f42e
Signed by: brethil
GPG Key ID: 876AAC6290170FE7
2 changed files with 94 additions and 45 deletions

View File

@ -1,9 +1,59 @@
.form { html,
body {
width: 100%;
}
body {
display: flex;
align-items: center;
justify-content: space-around;
flex-direction: column;
}
* {
font-size: 32px;
}
#main {
display: flex;
align-items: center;
justify-content: space-around;
flex-direction: column;
/* height: 0.8vh; */
/* width: 0.65vw; */
}
#logo {
width: 60%;
margin: 0 auto; margin: 0 auto;
margin-top: 10%; }
@media only screen and (max-width: 801px) {
/* mobile */
.track-info-cover {
padding: 1;
margin: 1 0;
}
}
@media only screen (min-width: 802px) {
/* desktop */
.track-info-child {
padding: 10%;
}
}
#form {
margin: 0 auto;
/* margin-top: 10%; */
width: 300px; width: 300px;
} }
/* p { */
/* height: 100%; */
/* width: 100%; */
/* margin: 0 auto; */
/* } */
thead { thead {
} }
@ -11,5 +61,5 @@ tbody {
} }
td { td {
padding: 15px; padding: 0.1em;
} }

View File

@ -1,50 +1,49 @@
<html> <html>
<head> <head>
<meta charset="utf-8" />
<title>{{ title }}</title> <title>{{ title }}</title>
<link rel="stylesheet" type="text/css" href="/static/style.css"> <meta name="viewport" content="width=device-width,initial-scale=1.0" />
<link rel="stylesheet" type="text/css" href="/static/style.css" />
</head> </head>
<img src="static/ZXSpectrum+2-grey.jpg" alt="logo" style="align:center" />
<body> <body>
<div id="form"> <img id="logo" src="static/ZXSpectrum+2-grey.jpg" alt="logo" />
<form <div id="main">
action="/upload" <form
method="POST" id="form"
enctype="multipart/form-data"> action="/upload"
<input type="file" name="file" /> method="POST"
<button type="submit">Upload</button> enctype="multipart/form-data"
</form> >
</div> <input type="file" name="file" />
<button type="submit">Upload</button>
</form>
<div> <div id="table">
<p> Cassette:</p> <p>Cassette:</p>
<table border="1" id="table"> <table border="1" id="table">
<thead> <thead>
<tr> <tr>
<th>Nome</th> <th>Nome</th>
<th> <th>
<a href="/kill">kill</a> <a href="/kill">kill</a>
</th> </th>
<!-- {% for header in headers %} --> <!-- {% for header in headers %} -->
<th> <th>{{ header }}</th>
{{ header }} <!-- {% endfor %} -->
</th> </tr>
<!-- {% endfor %} --> </thead>
</tr> <tbody>
</thead> {% for file in files %}
<tbody> <tr>
{% for file in files %} <td>{{ file }}</td>
<tr> <td>
<td>{{ file }}</td> <a href="/run/{{ file }}">run</a>
<td> </td>
<a href="/run/{{ file }}">run</a> </tr>
</td> {% endfor %}
</tr> </tbody>
{% endfor %} </table>
</tbody> </div>
</table> </div>
</div>
</body> </body>
</p>
</html> </html>