pedf
/
pomocskolam
Archived
1
0
Fork 0

Struktura stylů pro input

form
Emil Miler 4 years ago
parent 96d9755f91
commit 9a5b623f9c

@ -132,31 +132,29 @@ main {
grid-gap: 2em 1.5em; grid-gap: 2em 1.5em;
text-align: left; text-align: left;
div {
label { label {
color: #777; color: #777;
} }
input, select { input, select {
width: 100%; width: 100%;
padding: .5em; padding: .5em;
border: 1px solid #000; border: 1px solid #000;
font-size: 1.2em; font-size: 1.2em;
font-family: merriweather, serif; font-family: merriweather, serif;
background: inherit; background: inherit;
&::placeholder {
font-size: .7em;
color: #bbb;
}
}
input[type="checkbox"] { &::placeholder {
width: auto; font-size: .7em;
color: #bbb;
} }
} }
input[type="checkbox"] {
width: auto;
}
input[type="submit"] { input[type="submit"] {
background: #C61730; background: #C61730;
color: #fff; color: #fff;
@ -164,8 +162,7 @@ main {
padding: .8em; padding: .8em;
font-weight: bold; font-weight: bold;
font-size: 1.2em; font-size: 1.2em;
font-family: merriweather, serif; width: auto;
max-width: auto;
margin: 0 auto; margin: 0 auto;
} }