1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
|
/** common style for Nette examples */
html {
font: 16px/1.5 sans-serif;
border-top: 4.7em solid #F4EBDB;
}
body {
max-width: 990px;
margin: -4.7em auto 0;
background: white;
color: #333;
}
h1 {
font-size: 1.9em;
margin: .5em 0 1.5em;
background: url(logo.png) right center no-repeat;
color: #7A7772;
text-shadow: 1px 1px 0 white;
}
fieldset {
padding: .2em 1em 1em;
margin: .5em 0;
background: #E4F1FC;
border: 1px solid #B2D1EB;
}
textarea,
select,
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="image"]):not([type="range"]) {
padding: .3em .5em;
color: black;
background: white;
border: 1px solid silver;
}
.has-error textarea,
.has-error select,
.has-error input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="image"]):not([type="range"]) {
border-color: #E22;
}
select {
padding-right: .3em;
}
input[type="submit"] {
font-size: 120%;
}
th {
width: 10em;
text-align: right;
font-weight: normal;
}
.required label {
font-weight: bold;
}
.error {
color: #E22;
font-weight: bold;
margin-left: 1em;
}
footer a {
font-size: 70%;
color: gray;
}
|