mirror of
https://github.com/karma-riuk/crab-webapp.git
synced 2025-07-05 06:08:13 +02:00
made style better
This commit is contained in:
@ -5,7 +5,6 @@
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
top: 0;
|
||||
width: 100vw;
|
||||
max-width: 100vw;
|
||||
z-index: 1000;
|
||||
background: #fafafa;
|
||||
@ -13,16 +12,6 @@
|
||||
padding: 0 1em;
|
||||
}
|
||||
|
||||
.info-btn {
|
||||
background: none;
|
||||
border: none;
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
button {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: sans-serif;
|
||||
margin: 0;
|
||||
@ -43,9 +32,17 @@ fieldset {
|
||||
|
||||
button {
|
||||
padding: 0.5em 1em;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
h1 {
|
||||
.info-btn {
|
||||
background: none;
|
||||
border: none;
|
||||
font-size: 1rem;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
header #page-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
|
@ -14,11 +14,11 @@
|
||||
|
||||
<body>
|
||||
<header class="site-header">
|
||||
<h1>
|
||||
<h3 id="page-title">
|
||||
<img src="/img/crab.png" alt="Crab" class="crab-icon">
|
||||
Crab Webapp
|
||||
</h1>
|
||||
<button id="info-button" class="info-btn" aria-label="About this project">About</button>
|
||||
</h3>
|
||||
<button id="info-button" class="info-btn">About</button>
|
||||
</header>
|
||||
<main>
|
||||
|
||||
@ -48,7 +48,7 @@
|
||||
<input type="file" id="file-cnput" accept="application/json" />
|
||||
<br /><br />
|
||||
<button id="upload-btn">Upload JSON</button>
|
||||
<span id="status" style="color: green;"> </span>
|
||||
<span id="status" class="hidden" style="color: green;"> </span>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
@ -57,7 +57,7 @@
|
||||
<input type="url" id="url" placeholder="https://gym.si.usi.ch:45003/results/XXXX" size=50 required />
|
||||
<br /><br />
|
||||
<button id="request-status">Request status</button>
|
||||
<span id="status" style="color: green;"> </span>
|
||||
<span id="status" class="hidden" style="color: green;"> </span>
|
||||
</fieldset>
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user