120 lines
1.9 KiB
CSS
120 lines
1.9 KiB
CSS
@import url(//fonts.googleapis.com/css?family=Open+Sans:300,600&subset=latin,latin-ext);
|
|
|
|
@media (max-width: 980px) {
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 120%;
|
|
margin: 0;
|
|
}
|
|
|
|
div.wrapper {
|
|
border-radius: 0;
|
|
margin-left: 0;
|
|
margin-right: 0;
|
|
}
|
|
|
|
textarea.input {
|
|
border-radius: 0;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 981px) {
|
|
div.wrapper {
|
|
border-radius: 0.5em;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
width: 50%;
|
|
}
|
|
|
|
textarea.input {
|
|
border-radius: 0.5em;
|
|
}
|
|
}
|
|
body {
|
|
font-family: 'Open Sans', sans-serif;
|
|
font-weight: 300;
|
|
}
|
|
|
|
h1 {
|
|
text-align: center;
|
|
font-weight: 600;
|
|
}
|
|
|
|
strong {
|
|
font-weight: 600;
|
|
}
|
|
|
|
div.wrapper {
|
|
background-color: #fc0;
|
|
border-color: #da0;
|
|
border-style: solid;
|
|
border-width: 1px;
|
|
box-shadow: 0 0 1px 1px #ea0 inset;
|
|
color: #000;
|
|
margin-bottom: 0.5em;
|
|
padding: 0.5em;
|
|
}
|
|
|
|
div.wrapper div.message {
|
|
display: inline-block;
|
|
color: #f00;
|
|
background-color: #fff;
|
|
border: 1px solid #f00;
|
|
}
|
|
|
|
textarea.input {
|
|
border-style: solid;
|
|
border-width: 1px;
|
|
display: block;
|
|
font-family: 'Open Sans', sans-serif;
|
|
font-weight: 300;
|
|
font-size: 80%;
|
|
height: 150px;
|
|
padding: 0.1em 0.3em;
|
|
resize: vertical;
|
|
width: -moz-available;
|
|
width: -webkit-fill-available;
|
|
}
|
|
|
|
textarea.input.error {
|
|
background-color: #f88;
|
|
border-color: #f00;
|
|
color: #000;
|
|
}
|
|
|
|
textarea.input.error:focus, textarea.input.error:hover {
|
|
background-color: #faa;
|
|
border-color: #f00;
|
|
color: #000;
|
|
}
|
|
|
|
select.conversion {
|
|
border-radius: 0.2em;
|
|
border-style: solid;
|
|
border-width: 1px;
|
|
font-family: 'Open Sans', sans-serif;
|
|
font-weight: 300;
|
|
margin-top: 0.5em;
|
|
}
|
|
|
|
textarea.input, select.conversion {
|
|
background-color: #fdfbf0;
|
|
border-color: #fae8e7;
|
|
color: #000;
|
|
}
|
|
|
|
textarea.input:focus, textarea.input:hover,
|
|
select.conversion:focus, select.conversion:hover {
|
|
background-color: #fff;
|
|
border-color: #fdfbf0;
|
|
color: #000;
|
|
}
|
|
|
|
textarea.input:hover,
|
|
select.conversion:hover {
|
|
box-shadow: 0 0 6px 4px #c90;
|
|
}
|