You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
95 lines
1.5 KiB
95 lines
1.5 KiB
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Arial', sans-serif;
|
|
background-color: #f5f5f5;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 100vh;
|
|
}
|
|
|
|
.container {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.form-wrapper {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 100%;
|
|
}
|
|
|
|
.form-container {
|
|
width: 100%;
|
|
max-width: 400px;
|
|
background-color: #fff;
|
|
padding: 30px;
|
|
border: 1px;
|
|
border-radius: 10px;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
h2 {
|
|
margin-bottom: 20px;
|
|
text-align: center;
|
|
color: #333;
|
|
}
|
|
|
|
.form input {
|
|
width: 100%;
|
|
padding: 12px;
|
|
margin: 10px 0;
|
|
border: 1px solid #ddd;
|
|
border-radius: 5px;
|
|
font-size: 14px;
|
|
transition: 0.3s;
|
|
}
|
|
|
|
.form input:focus {
|
|
border-color: #4CAF50;
|
|
outline: none;
|
|
}
|
|
|
|
.form button {
|
|
width: 100%;
|
|
padding: 12px;
|
|
background-color: #4CAF50;
|
|
color: white;
|
|
font-size: 16px;
|
|
border: none;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
transition: 0.3s;
|
|
}
|
|
|
|
.form button:hover {
|
|
background-color: #45a049;
|
|
}
|
|
|
|
.form .toggle-link {
|
|
text-align: center;
|
|
color: #4CAF50;
|
|
cursor: pointer;
|
|
margin-top: 20px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.form .toggle-link:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
form {
|
|
display: none;
|
|
}
|
|
|
|
form:first-child {
|
|
display: block;
|
|
} |