53 lines
890 B
CSS
53 lines
890 B
CSS
.container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
max-width: 30em;
|
|
align-self: center;
|
|
gap: 2em;
|
|
}
|
|
|
|
form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.6em;
|
|
}
|
|
|
|
form > div {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.4em;
|
|
}
|
|
|
|
form label {
|
|
font-style: italic;
|
|
color: var(--light2);
|
|
}
|
|
|
|
form button {
|
|
align-self: center;
|
|
padding: 0.4em 1.2em;
|
|
}
|
|
|
|
form input[type="checkbox"] {
|
|
width: 1.6em;
|
|
height: 1.6em;
|
|
border: solid var(--light1) 2px;
|
|
appearance: none;
|
|
background: none;
|
|
border-radius: 0;
|
|
position: relative;
|
|
cursor: pointer;
|
|
}
|
|
|
|
form input[type="checkbox"]:checked::after {
|
|
content: "";
|
|
background-color: var(--accent);
|
|
width: 80%;
|
|
height: 80%;
|
|
border-radius: 10%;
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
} |