UnderCover/flaskr/static/styles.css

156 lines
1.8 KiB
CSS
Raw Normal View History

2021-07-24 01:08:18 -04:00
html {
height: 100%;
}
span.logo {
margin: 0;
padding: 0.2em;
}
span.logo.left {
color: black;
background-color: white;
}
span.logo.right {
color: white;
background-color: black;
}
2021-07-24 01:08:18 -04:00
body {
2022-09-22 11:43:46 -04:00
background-color: #f0f0f0;
2021-07-24 01:08:18 -04:00
line-height: 200%;
margin-left: auto;
margin-right: auto;
display: flex;
flex-direction: column;
font-family: sans;
}
h1, h2 {
text-align: center;
}
h1 {
user-select: none;
}
h2 {
font-size: 100%;
margin-top: 0;
margin-bottom: 1em;
}
label {
font-size: 100%;
font-weight: bold;
color: #eee;
background-color: #757575;
padding-top: 0.15em;
padding-bottom: 0.15em;
padding-left: 0.5em;
padding-right: 0.5em;
}
input, textarea {
font-family: sans;
}
/* Small screens */
@media only screen and (max-width: 1080px) {
body {
width: 85vw;
}
h1 {
font-size: 300%;
}
h2 {
line-height: 100%;
}
input {
font-size: 200%;
width: 100%;
}
form {
2021-07-28 22:04:24 -04:00
width: 100%;
}
dd {
margin-bottom: 2em;
margin-left: 0;
}
textarea {
width: 80vw;
font-size: 120%;
}
.bigtext {
min-height: 40vh;
}
}
/* Big screens */
@media only screen and (min-width: 1081px) {
body {
2021-07-28 22:04:24 -04:00
min-height: 98%;
width: 40vw;
}
h1 {
2021-07-28 22:04:24 -04:00
font-size: 300%;
}
input, textarea {
margin-bottom: 0.5em;
font-size: 105%;
}
2021-07-28 22:04:24 -04:00
dd {
margin-left: 0.5em;
}
2021-07-28 22:04:24 -04:00
dt {
margin-top: 0.5em;
}
2021-07-28 22:04:24 -04:00
dl {
margin-top: 0;
}
#closingText {
width: 50%;
}
2021-07-24 01:08:18 -04:00
}
form {
display: flex;
flex-grow: 1;
flex-direction: column;
}
dl {
display: flex;
flex-grow: 1;
flex-direction: column;
}
dd {
display: flex;
}
textarea {
flex-grow: 1;
2021-07-28 22:04:24 -04:00
padding: 0.5em;
2021-07-24 01:08:18 -04:00
}
.bigtext {
flex-grow: 1;
min-height: 35vh;
font-size: 90%;
2021-07-24 01:08:18 -04:00
}
.errors {
color: #a40f0f;
}
2021-07-28 22:04:24 -04:00
.submit {
margin-left: auto;
padding: 0.5em 1em 0.5em 1em;
}
2021-07-24 01:08:18 -04:00
#body {
flex-grow: 1;
}