Skip to content

Commit

Permalink
Update login.html
Browse files Browse the repository at this point in the history
  • Loading branch information
7908837174 authored Dec 19, 2024
1 parent c98b6fb commit abfd732
Showing 1 changed file with 93 additions and 0 deletions.
93 changes: 93 additions & 0 deletions login.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,99 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Login - Book Management</title>
<link rel="stylesheet" href="login.css">
<style>
body {
font-family: 'Arial', sans-serif;
margin: 0;
padding: 0;
background-color: #a5bbd2;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}

.container {
background-color: #ffffff;
width: 100%;
max-width: 400px;
padding: 20px 30px;
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
text-align: center;
}
h2 {
font-size: 24px;
color: #333;
margin-bottom: 20px;
}

form {
display: flex;
flex-direction: column;
gap: 15px;
}

label {
font-size: 14px;
font-weight: bold;
color: #555;
text-align: left;
}

input[type="text"], input[type="email"] {
width: 100%;
padding: 10px;
font-size: 14px;
border: 1px solid #ccc;
border-radius: 5px;
box-sizing: border-box;
transition: border-color 0.3s ease;
}
input[type="text"]:focus, input[type="email"]:focus {
border-color: #007bff;
outline: none;
}

button {
padding: 10px 15px;
font-size: 16px;
color: #fff;
background-color: #007bff;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
}

button:hover {
background-color: #0056b3;
}

button:disabled {
background-color: #ccc;
cursor: not-allowed;
}
p {
font-size: 14px;
color: #ff0000;
margin-top: 10px;
text-align: center;
}
@media (max-width: 768px) {
.container {
padding: 15px;
}

h2 {
font-size: 20px;
}

input[type="text"], button {
font-size: 14px;
}
}
</style>
</head>

<body>
Expand Down

0 comments on commit abfd732

Please sign in to comment.