base.css 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268
  1. /*
  2. * Skeleton V1.2
  3. * Copyright 2011, Dave Gamache
  4. * www.getskeleton.com
  5. * Free to use under the MIT license.
  6. * http://www.opensource.org/licenses/mit-license.php
  7. * 6/20/2012
  8. */
  9. /* Table of Content
  10. ==================================================
  11. #Reset & Basics
  12. #Basic Styles
  13. #Site Styles
  14. #Typography
  15. #Links
  16. #Lists
  17. #Images
  18. #Buttons
  19. #Forms
  20. #Misc */
  21. /* #Reset & Basics (Inspired by E. Meyers)
  22. ================================================== */
  23. html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  24. margin: 0;
  25. padding: 0;
  26. border: 0;
  27. font-size: 100%;
  28. font: inherit;
  29. vertical-align: baseline; }
  30. article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  31. display: block; }
  32. body {
  33. line-height: 1; }
  34. ol, ul {
  35. list-style: none; }
  36. blockquote, q {
  37. quotes: none; }
  38. blockquote:before, blockquote:after,
  39. q:before, q:after {
  40. content: '';
  41. content: none; }
  42. table {
  43. border-collapse: collapse;
  44. border-spacing: 0; }
  45. /* #Basic Styles
  46. ================================================== */
  47. body {
  48. background: #fff;
  49. font: 14px/21px "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  50. color: #444;
  51. -webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
  52. -webkit-text-size-adjust: 100%;
  53. }
  54. /* #Typography
  55. ================================================== */
  56. h1, h2, h3, h4, h5, h6 {
  57. color: #181818;
  58. font-family: "Georgia", "Times New Roman", serif;
  59. font-weight: normal; }
  60. h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight: inherit; }
  61. h1 { font-size: 46px; line-height: 50px; margin-bottom: 14px;}
  62. h2 { font-size: 35px; line-height: 40px; margin-bottom: 10px; }
  63. h3 { font-size: 28px; line-height: 34px; margin-bottom: 8px; }
  64. h4 { font-size: 21px; line-height: 30px; margin-bottom: 4px; }
  65. h5 { font-size: 17px; line-height: 24px; }
  66. h6 { font-size: 14px; line-height: 21px; }
  67. .subheader { color: #777; }
  68. p { margin: 0 0 20px 0; }
  69. p img { margin: 0; }
  70. p.lead { font-size: 21px; line-height: 27px; color: #777; }
  71. em { font-style: italic; }
  72. strong { font-weight: bold; color: #333; }
  73. small { font-size: 80%; }
  74. /* Blockquotes */
  75. blockquote, blockquote p { font-size: 17px; line-height: 24px; color: #777; font-style: italic; }
  76. blockquote { margin: 0 0 20px; padding: 9px 20px 0 19px; border-left: 1px solid #ddd; }
  77. blockquote cite { display: block; font-size: 12px; color: #555; }
  78. blockquote cite:before { content: "\2014 \0020"; }
  79. blockquote cite a, blockquote cite a:visited, blockquote cite a:visited { color: #555; }
  80. hr { border: solid #ddd; border-width: 1px 0 0; clear: both; margin: 10px 0 30px; height: 0; }
  81. /* #Links
  82. ================================================== */
  83. a, a:visited { color: #333; text-decoration: underline; outline: 0; }
  84. a:hover, a:focus { color: #000; }
  85. p a, p a:visited { line-height: inherit; }
  86. /* #Lists
  87. ================================================== */
  88. ul, ol { margin-bottom: 20px; }
  89. ul { list-style: none outside; }
  90. ol { list-style: decimal; }
  91. ol, ul.square, ul.circle, ul.disc { margin-left: 30px; }
  92. ul.square { list-style: square outside; }
  93. ul.circle { list-style: circle outside; }
  94. ul.disc { list-style: disc outside; }
  95. ul ul, ul ol,
  96. ol ol, ol ul { margin: 4px 0 5px 30px; font-size: 90%; }
  97. ul ul li, ul ol li,
  98. ol ol li, ol ul li { margin-bottom: 6px; }
  99. li { line-height: 18px; margin-bottom: 12px; }
  100. ul.large li { line-height: 21px; }
  101. li p { line-height: 21px; }
  102. /* #Images
  103. ================================================== */
  104. img.scale-with-grid {
  105. max-width: 100%;
  106. height: auto; }
  107. /* #Buttons
  108. ================================================== */
  109. .button,
  110. button,
  111. input[type="submit"],
  112. input[type="reset"],
  113. input[type="button"] {
  114. background: #eee; /* Old browsers */
  115. background: #eee -moz-linear-gradient(top, rgba(255,255,255,.2) 0%, rgba(0,0,0,.2) 100%); /* FF3.6+ */
  116. background: #eee -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.2)), color-stop(100%,rgba(0,0,0,.2))); /* Chrome,Safari4+ */
  117. background: #eee -webkit-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* Chrome10+,Safari5.1+ */
  118. background: #eee -o-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* Opera11.10+ */
  119. background: #eee -ms-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* IE10+ */
  120. background: #eee linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* W3C */
  121. border: 1px solid #aaa;
  122. border-top: 1px solid #ccc;
  123. border-left: 1px solid #ccc;
  124. -moz-border-radius: 3px;
  125. -webkit-border-radius: 3px;
  126. border-radius: 3px;
  127. color: #444;
  128. display: inline-block;
  129. font-size: 11px;
  130. font-weight: bold;
  131. text-decoration: none;
  132. text-shadow: 0 1px rgba(255, 255, 255, .75);
  133. cursor: pointer;
  134. margin-bottom: 20px;
  135. line-height: normal;
  136. padding: 8px 10px;
  137. font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; }
  138. .button:hover,
  139. button:hover,
  140. input[type="submit"]:hover,
  141. input[type="reset"]:hover,
  142. input[type="button"]:hover {
  143. color: #222;
  144. background: #ddd; /* Old browsers */
  145. background: #ddd -moz-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%); /* FF3.6+ */
  146. background: #ddd -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.3)), color-stop(100%,rgba(0,0,0,.3))); /* Chrome,Safari4+ */
  147. background: #ddd -webkit-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* Chrome10+,Safari5.1+ */
  148. background: #ddd -o-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* Opera11.10+ */
  149. background: #ddd -ms-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* IE10+ */
  150. background: #ddd linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* W3C */
  151. border: 1px solid #888;
  152. border-top: 1px solid #aaa;
  153. border-left: 1px solid #aaa; }
  154. .button:active,
  155. button:active,
  156. input[type="submit"]:active,
  157. input[type="reset"]:active,
  158. input[type="button"]:active {
  159. border: 1px solid #666;
  160. background: #ccc; /* Old browsers */
  161. background: #ccc -moz-linear-gradient(top, rgba(255,255,255,.35) 0%, rgba(10,10,10,.4) 100%); /* FF3.6+ */
  162. background: #ccc -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.35)), color-stop(100%,rgba(10,10,10,.4))); /* Chrome,Safari4+ */
  163. background: #ccc -webkit-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* Chrome10+,Safari5.1+ */
  164. background: #ccc -o-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* Opera11.10+ */
  165. background: #ccc -ms-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* IE10+ */
  166. background: #ccc linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* W3C */ }
  167. .button.full-width,
  168. button.full-width,
  169. input[type="submit"].full-width,
  170. input[type="reset"].full-width,
  171. input[type="button"].full-width {
  172. width: 100%;
  173. padding-left: 0 !important;
  174. padding-right: 0 !important;
  175. text-align: center; }
  176. /* Fix for odd Mozilla border & padding issues */
  177. button::-moz-focus-inner,
  178. input::-moz-focus-inner {
  179. border: 0;
  180. padding: 0;
  181. }
  182. /* #Forms
  183. ================================================== */
  184. form {
  185. margin-bottom: 20px; }
  186. fieldset {
  187. margin-bottom: 20px; }
  188. input[type="text"],
  189. input[type="password"],
  190. input[type="email"],
  191. textarea,
  192. select {
  193. border: 1px solid #ccc;
  194. padding: 6px 4px;
  195. outline: none;
  196. -moz-border-radius: 2px;
  197. -webkit-border-radius: 2px;
  198. border-radius: 2px;
  199. font: 13px "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  200. color: #777;
  201. margin: 0;
  202. width: 210px;
  203. max-width: 100%;
  204. display: block;
  205. margin-bottom: 20px;
  206. background: #fff; }
  207. select {
  208. padding: 0; }
  209. input[type="text"]:focus,
  210. input[type="password"]:focus,
  211. input[type="email"]:focus,
  212. textarea:focus {
  213. border: 1px solid #aaa;
  214. color: #444;
  215. -moz-box-shadow: 0 0 3px rgba(0,0,0,.2);
  216. -webkit-box-shadow: 0 0 3px rgba(0,0,0,.2);
  217. box-shadow: 0 0 3px rgba(0,0,0,.2); }
  218. textarea {
  219. min-height: 60px; }
  220. label,
  221. legend {
  222. display: block;
  223. font-weight: bold;
  224. font-size: 13px; }
  225. select {
  226. width: 220px; }
  227. input[type="checkbox"] {
  228. display: inline; }
  229. label span,
  230. legend span {
  231. font-weight: normal;
  232. font-size: 13px;
  233. color: #444; }
  234. /* #Misc
  235. ================================================== */
  236. .remove-bottom { margin-bottom: 0 !important; }
  237. .half-bottom { margin-bottom: 10px !important; }
  238. .add-bottom { margin-bottom: 20px !important; }