aus10powell's picture
Update static/style.css
e7d48eb
raw
history blame
1.45 kB
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: rgb(240, 240, 240);
font-family: sans-serif;
}
.page {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
width: 100%
}
h1,h2, p {
text-align: center;
}
.form {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin-top: 1.5rem;
width: 100%;
max-width: 600px;
}
label {
margin-bottom: 0.5rem;
font-weight: bold;
}
select, textarea, button {
margin-top: 0.5rem;
padding: 0.5rem;
font-size: 1rem;
border-radius: 4px;
border: 1px solid #ccc;
width: 100%;
max-width: 100%;
}
#account {
max-width: 25%;
}
#footer {
position: absolute;
bottom: 0;
left: 0;
right: 0;
text-align: center;
}
#input, #output {
resize: vertical;
height: 10rem;
max-height: 20rem;
}
#inner {
text-align: center;
}
#outer {
width:100%;
height: 100px;
display: table-cell;
position: flex;
justify-content: center;
vertical-align:middle;
margin-top: 100px;
margin-bottom: 100px;
}
/* {
display: table-cell;
position: relative;
width:100%;
height: 100px;
background-color: rgba(89,144,222,.6);
vertical-align:middle;
} */
#outer h2{
text-align: center;
}
#generate {
background-color: #1da1f2;
color: white;
font-weight: bold;
cursor: pointer;
}
#output {
margin-top: 1rem;
}