xssbook/public/css/login.css
2023-01-31 08:47:18 -05:00

51 lines
No EOL
860 B
CSS

.login {
background-color: var(--secondary);
display: flex;
justify-content: center;
align-content: center;
flex-direction: row;
padding: 8em 0em;
}
.prompt {
display: flex;
position: relative;
flex-direction: column;
background-color: var(--primary);
box-shadow: 0 2px 4px rgba(0, 0, 0, .1), 0 8px 16px rgba(0, 0, 0, .1);
border-radius: 8px;
width: 396px;
padding: 10px
}
.show {
display: flex;
flex-direction: column;
justify-content: center;
}
.login-button {
margin-bottom: 10px;
font-size: 20px;
}
.newacc {
margin: 10px 70px;
margin-bottom: 20px;
}
.signacc {
margin: 10px 70px;
margin-bottom: 0;
}
@media (max-aspect-ratio: 2/3) {
.login {
flex-direction: column;
align-items: center;
}
.show {
margin-bottom: 2em;
}
}