124 lines
1.8 KiB
CSS
124 lines
1.8 KiB
CSS
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
margin: 0;
|
|
padding: 0;
|
|
background-color: #f9fafc;
|
|
color: #333;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
header {
|
|
background-color: #e0f0ff;
|
|
padding: 20px;
|
|
text-align: left;
|
|
}
|
|
|
|
header h1 {
|
|
margin: 0;
|
|
font-size: 24px;
|
|
color: #333;
|
|
display: inline-block;
|
|
}
|
|
|
|
nav {
|
|
float: right;
|
|
}
|
|
|
|
nav a {
|
|
color: #333;
|
|
text-decoration: none;
|
|
margin-left: 20px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
nav a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
main {
|
|
flex: 1;
|
|
text-align: center;
|
|
margin-top: 50px;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 28px;
|
|
margin-bottom: 20px;
|
|
color: #333;
|
|
}
|
|
|
|
form {
|
|
display: inline-block;
|
|
text-align: left;
|
|
background-color: #fff;
|
|
padding: 50px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
|
width: 60%;
|
|
max-width: 600px;
|
|
min-width: 300px;
|
|
}
|
|
|
|
label {
|
|
display: block;
|
|
font-size: 16px;
|
|
margin-bottom: 10px;
|
|
color: #333;
|
|
}
|
|
|
|
input[type="text"],
|
|
input[type="number"],
|
|
input[type="date"],
|
|
select {
|
|
width: 100%;
|
|
padding: 12px;
|
|
margin-bottom: 20px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 4px;
|
|
font-size: 16px;
|
|
background-color: #f9f9f9;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
button {
|
|
width: 100%;
|
|
padding: 15px;
|
|
background-color: #a7d2f2;
|
|
border: none;
|
|
border-radius: 4px;
|
|
color: #fff;
|
|
font-size: 18px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
button:hover {
|
|
background-color: #88b8e6;
|
|
}
|
|
|
|
footer {
|
|
background-color: #e0f0ff;
|
|
padding: 20px;
|
|
text-align: center;
|
|
margin-top: 50px;
|
|
position: relative;
|
|
width: 100%;
|
|
bottom: 0;
|
|
}
|
|
|
|
footer p {
|
|
font-size: 14px;
|
|
color: #333;
|
|
}
|
|
|
|
footer a {
|
|
color: #333;
|
|
text-decoration: none;
|
|
margin: 0 10px;
|
|
}
|
|
|
|
footer a:hover {
|
|
text-decoration: underline;
|
|
} |