xssbook/public/css/login.css

51 lines
860 B
CSS
Raw Normal View History

2023-01-26 22:29:16 +00:00
.login {
2023-01-30 23:55:36 +00:00
background-color: var(--secondary);
2023-01-26 22:29:16 +00:00
display: flex;
justify-content: center;
align-content: center;
flex-direction: row;
padding: 8em 0em;
}
.prompt {
display: flex;
position: relative;
flex-direction: column;
2023-01-30 23:55:36 +00:00
background-color: var(--primary);
2023-01-26 22:29:16 +00:00
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;
}
2023-01-31 13:47:18 +00:00
.show {
margin-bottom: 2em;
}
2023-01-26 22:29:16 +00:00
}