style.css 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306
  1. /* ==== Scroll down to find where to put your styles :) ==== */
  2. /* HTML5 ✰ Boilerplate */
  3. html, body, div, span, object, iframe,
  4. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  5. abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
  6. small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
  7. fieldset, form, label, legend,
  8. table, caption, tbody, tfoot, thead, tr, th, td,
  9. article, aside, canvas, details, figcaption, figure,
  10. footer, header, hgroup, menu, nav, section, summary,
  11. time, mark, audio, video {
  12. margin: 0;
  13. padding: 0;
  14. border: 0;
  15. font-size: 100%;
  16. font: inherit;
  17. vertical-align: baseline;
  18. }
  19. article, aside, details, figcaption, figure,
  20. footer, header, hgroup, menu, nav, section {
  21. display: block;
  22. }
  23. blockquote, q { quotes: none; }
  24. blockquote:before, blockquote:after,
  25. q:before, q:after { content: ''; content: none; }
  26. ins { background-color: #ff9; color: #000; text-decoration: none; }
  27. mark { background-color: #ff9; color: #000; font-style: italic; font-weight: bold; }
  28. del { text-decoration: line-through; }
  29. abbr[title], dfn[title] { border-bottom: 1px dotted; cursor: help; }
  30. table { border-collapse: collapse; border-spacing: 0; }
  31. hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
  32. input, select { vertical-align: middle; }
  33. body { font:13px/1.231 sans-serif; *font-size:small; }
  34. select, input, textarea, button { font:99% sans-serif; }
  35. pre, code, kbd, samp { font-family: monospace, sans-serif; }
  36. html { overflow-y: scroll; }
  37. a:hover, a:active { outline: none; }
  38. ul, ol { margin-left: 2em; }
  39. ol { list-style-type: decimal; }
  40. nav ul, nav li { margin: 0; list-style:none; list-style-image: none; }
  41. small { font-size: 85%; }
  42. strong, th { font-weight: bold; }
  43. td { vertical-align: top; }
  44. sub, sup { font-size: 75%; line-height: 0; position: relative; }
  45. sup { top: -0.5em; }
  46. sub { bottom: -0.25em; }
  47. pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; padding: 15px; }
  48. textarea { overflow: auto; }
  49. .ie6 legend, .ie7 legend { margin-left: -7px; }
  50. input[type="radio"] { vertical-align: text-bottom; }
  51. input[type="checkbox"] { vertical-align: bottom; }
  52. .ie7 input[type="checkbox"] { vertical-align: baseline; }
  53. .ie6 input { vertical-align: text-bottom; }
  54. label, input[type="button"], input[type="submit"], input[type="image"], button { cursor: pointer; }
  55. button, input, select, textarea { margin: 0; }
  56. input:valid, textarea:valid { }
  57. input:invalid, textarea:invalid { border-radius: 1px; -moz-box-shadow: 0px 0px 5px red; -webkit-box-shadow: 0px 0px 5px red; box-shadow: 0px 0px 5px red; }
  58. .no-boxshadow input:invalid, .no-boxshadow textarea:invalid { background-color: #f0dddd; }
  59. ::-moz-selection{ background: #FF5E99; color:#fff; text-shadow: none; }
  60. ::selection { background:#FF5E99; color:#fff; text-shadow: none; }
  61. a:link { -webkit-tap-highlight-color: #FF5E99; }
  62. button { width: auto; overflow: visible; }
  63. .ie7 img { -ms-interpolation-mode: bicubic; }
  64. body, select, input, textarea { color: #444; }
  65. h1, h2, h3, h4, h5, h6 { font-weight: bold; }
  66. a, a:active, a:visited { color: #607890; }
  67. a:hover { color: #036; }
  68. /*
  69. // ========================================== \\
  70. || ||
  71. || Your styles ! ||
  72. || ||
  73. \\ ========================================== //
  74. */
  75. #contact-form {
  76. background-color:#F2F7F9;
  77. width:465px;
  78. padding:20px;
  79. margin: 50px auto;
  80. border: 6px solid #8FB5C1;
  81. -moz-border-radius:15px;
  82. -webkit-border-radius:15px;
  83. border-radius:15px;
  84. position:relative;
  85. }
  86. #contact-form h1 {
  87. font-size:42px;
  88. }
  89. #contact-form h2 {
  90. margin-bottom:15px;
  91. font-style:italic;
  92. font-weight:normal;
  93. }
  94. #contact-form input,
  95. #contact-form select,
  96. #contact-form textarea,
  97. #contact-form label {
  98. font-size:15px;
  99. margin-bottom:2px;
  100. }
  101. #contact-form input,
  102. #contact-form select,
  103. #contact-form textarea {
  104. width: 450px;
  105. border: 1px solid #CEE1E8;
  106. margin-bottom:20px;
  107. padding:4px;
  108. }
  109. #contact-form input:focus,
  110. #contact-form select:focus,
  111. #contact-form textarea:focus {
  112. border: 1px solid #AFCDD8;
  113. background-color: #EBF2F4;
  114. }
  115. #contact-form textarea {
  116. height:150px;
  117. resize: none;
  118. }
  119. #contact-form label {
  120. display:block;
  121. }
  122. #contact-form .required {
  123. font-weight:bold;
  124. color:#F00;
  125. }
  126. #contact-form #submit-button {
  127. width: 100px;
  128. background-color:#333;
  129. color:#FFF;
  130. border:none;
  131. display:block;
  132. float:right;
  133. margin-bottom:0px;
  134. margin-right:6px;
  135. background-color:#8FB5C1;
  136. -moz-border-radius:8px;
  137. }
  138. #contact-form #submit-button:hover {
  139. background-color: #A6CFDD;
  140. }
  141. #contact-form #submit-button:active {
  142. position:relative;
  143. top:1px;
  144. }
  145. #contact-form #loading {
  146. width:32px;
  147. height:32px;
  148. background-image:url(../img/loading.gif);
  149. display:block;
  150. position:absolute;
  151. right:130px;
  152. bottom:16px;
  153. display:none;
  154. }
  155. #errors {
  156. border:solid 1px #E58E8E;
  157. padding:10px;
  158. margin:25px 0px;
  159. display:block;
  160. width:437px;
  161. -webkit-border-radius:8px;
  162. -moz-border-radius:8px;
  163. border-radius:8px;
  164. background:#FFE6E6 url(../img/cancel_48.png) no-repeat 405px center;
  165. display:none;
  166. }
  167. #errors li {
  168. padding:2px;
  169. list-style:none;
  170. }
  171. #errors li:before {
  172. content: ' - ';
  173. }
  174. #errors #info {
  175. font-weight:bold;
  176. }
  177. #errors #info:before {
  178. content: '';
  179. }
  180. #success {
  181. border:solid 1px #83D186;
  182. padding:25px 10px;
  183. margin:25px 0px;
  184. display:block;
  185. width:437px;
  186. -webkit-border-radius:8px;
  187. -moz-border-radius:8px;
  188. border-radius:8px;
  189. background:#D3EDD3 url(../img/accepted_48.png) no-repeat 405px center;
  190. font-weight:bold;
  191. display:none;
  192. }
  193. #errors.visible, #success.visible {
  194. display:block;
  195. }
  196. #req-field-desc {
  197. font-style:italic;
  198. }
  199. /* Remove box shadow firefox, chrome and opera put around required fields. It looks rubbish. */
  200. input:required, textarea:required {
  201. -moz-box-shadow:none;
  202. -webkit-box-shadow:none;
  203. -o-box-shadow:none;
  204. box-shadow:none;
  205. }
  206. /* Normalize placeholder styles */
  207. /* chrome, safari */
  208. ::-webkit-input-placeholder {
  209. color:#CCC;
  210. font-style:italic;
  211. }
  212. /* mozilla */
  213. input:-moz-placeholder, textarea:-moz-placeholder {
  214. color:#CCC;
  215. font-style:italic;
  216. }
  217. /* ie (faux placeholder) */
  218. input.placeholder-text, textarea.placeholder-text {
  219. color:#CCC;
  220. font-style:italic;
  221. }
  222. .ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }
  223. .hidden { display: none; visibility: hidden; }
  224. .visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
  225. .visuallyhidden.focusable:active,
  226. .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
  227. .invisible { visibility: hidden; }
  228. .clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; }
  229. .clearfix:after { clear: both; }
  230. .clearfix { zoom: 1; }
  231. @media all and (orientation:portrait) {
  232. }
  233. @media all and (orientation:landscape) {
  234. }
  235. @media screen and (max-device-width: 480px) {
  236. /* html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; } */
  237. }
  238. @media print {
  239. * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important;
  240. -ms-filter: none !important; }
  241. a, a:visited { color: #444 !important; text-decoration: underline; }
  242. a[href]:after { content: " (" attr(href) ")"; }
  243. abbr[title]:after { content: " (" attr(title) ")"; }
  244. .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }
  245. pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  246. thead { display: table-header-group; }
  247. tr, img { page-break-inside: avoid; }
  248. @page { margin: 0.5cm; }
  249. p, h2, h3 { orphans: 3; widows: 3; }
  250. h2, h3{ page-break-after: avoid; }
  251. }