neotel-apply/public/styles.css

76 lines
864 B
CSS

*,
*:before,
*:after
{
box-sizing: border-box;
}
html,
body
{
margin: 0;
padding: 0;
width: 100%;
max-width: 100vw;
font-family: sans-serif;
}
main
{
display: flex;
flex-flow: column wrap;
justify-content: center;
align-items: center;
padding: 1rem;
width: 100%;
max-width: 100vw;
}
main > *
{
max-width: calc(100vw - 2rem);
}
.message
{
width: 100%;
margin: 1rem 0;
padding: 0.5rem 1rem;
color: #000;
background: #eee;
border: 1px solid #aaa;
border-radius: 2px;
}
.message.message-error
{
background: #c22;
color: #fff;
border-color: #800;
}
.form
{
width: 100%;
margin: 0 0 1rem 0;
}
.form input:not([type = "checkbox"]),
.form select,
.form button,
.form textarea
{
display: block;
width: 100%;
padding: 0.25rem;
margin-bottom: 0.5rem;
border: 1px solid #000;
border-radius: 2px;
}