Improve webapp style
This commit is contained in:
parent
0e4f2e144f
commit
8ca61905e1
3 changed files with 105 additions and 7 deletions
78
webapp/static/styles.css
Normal file
78
webapp/static/styles.css
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
body {
|
||||
font-family: 'Roboto', sans-serif;
|
||||
background-color: #0a0a23;
|
||||
color: #ffffff;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background-image: url('space.jpg');
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: 500px;
|
||||
margin: 50px auto;
|
||||
padding: 20px;
|
||||
background-color: #1a1a33;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
h1 {
|
||||
text-align: center;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
form {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
input[type="file"] {
|
||||
margin-bottom: 20px; /* Adjust margin-bottom to create space below the input */
|
||||
margin-top: 20px; /* Add margin-top to create space above the input */
|
||||
padding: 10px;
|
||||
border: 2px solid #ddd;
|
||||
border-radius: 5px;
|
||||
width: 80%;
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
background-color: #1a1a33;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
input[type="file"]::placeholder {
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
|
||||
input[type="submit"] {
|
||||
background-color: #00ccff;
|
||||
color: #ffffff;
|
||||
padding: 10px 20px;
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
font-size: 16px;
|
||||
transition: background-color 0.3s;
|
||||
}
|
||||
|
||||
input[type="submit"]:hover {
|
||||
background-color: #0099cc;
|
||||
}
|
||||
|
||||
.message {
|
||||
text-align: center;
|
||||
margin-top: 20px;
|
||||
padding: 10px;
|
||||
background-color: #2d2d2d;
|
||||
color: #ffffff;
|
||||
border: 1px solid #ffffff;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.note {
|
||||
font-size: 14px;
|
||||
color: #666;
|
||||
margin-top: 10px;
|
||||
text-align: center;
|
||||
font-style: italic;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue