loginpage / static /style.css
Subbu1304's picture
Create static/style.css
af58053 verified
raw
history blame contribute delete
892 Bytes
body {
font-family: Arial, sans-serif;
background-color: #f1f1f1;
display: flex;
height: 100vh;
justify-content: center;
align-items: center;
margin: 0;
}
.login-container {
background-color: white;
padding: 30px;
border-radius: 8px;
box-shadow: 0 0 15px rgba(0,0,0,0.2);
width: 300px;
text-align: center;
}
h2 {
margin-bottom: 20px;
}
input[type="text"], input[type="password"] {
width: 100%;
padding: 10px;
margin: 10px 0 20px 0;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}
button {
width: 100%;
padding: 10px;
background-color: #4CAF50;
border: none;
color: white;
font-weight: bold;
border-radius: 4px;
cursor: pointer;
}
button:hover {
background-color: #45a049;
}
#message {
margin-top: 15px;
font-weight: bold;
color: red;
}