54 lines
1,017 B
CSS
54 lines
1,017 B
CSS
body {
|
|
font-family: 'Roboto', sans-serif;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 100vh; /* Use height instead of min-height */
|
|
background-color: #f0f0f0;
|
|
}
|
|
|
|
.container {
|
|
text-align: center;
|
|
border-radius: 5px;
|
|
background-color: #fff;
|
|
width: 300px; /* Set a maximum width for the container */
|
|
}
|
|
|
|
h1 {
|
|
font-size: 2rem;
|
|
font-weight: 300;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
label {
|
|
display: block;
|
|
margin-bottom: 5px;
|
|
color: #aaa;
|
|
text-align: center; /* Center labels horizontally */
|
|
}
|
|
|
|
input[type="text"],
|
|
input[type="password"] {
|
|
width: 250px;
|
|
padding: 12px;
|
|
margin-bottom: 15px;
|
|
border: 1px solid #ddd;
|
|
border-radius: 4px;
|
|
font-size: 1rem;
|
|
color: #333;
|
|
}
|
|
|
|
button {
|
|
background-color: transparent;
|
|
color: #9c88ff;
|
|
border: 1px solid #9c88ff;
|
|
padding: 12px 20px;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.logo-image {
|
|
width: 25%; /* Reduce width to 25% of its original size */
|
|
height: auto; /* Maintain aspect ratio */
|
|
}
|