PageRenderTime 27ms CodeModel.GetById 12ms RepoModel.GetById 0ms app.codeStats 0ms

/stylesheets/base.css

#
CSS | 334 lines | 257 code | 34 blank | 43 comment | 0 complexity | a82a6cc41971bf20730d5f0e2a15b70e MD5 | raw file
  1. /*
  2. * Skeleton V1.1
  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. * 8/17/2011
  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. #Tabs
  20. #Forms
  21. #Misc */
  22. /* #Reset & Basics (Inspired by E. Meyers)
  23. ================================================== */
  24. 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 {
  25. margin: 0;
  26. padding: 0;
  27. border: 0;
  28. font-size: 100%;
  29. font: inherit;
  30. vertical-align: baseline; }
  31. article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  32. display: block; }
  33. body {
  34. line-height: 1; }
  35. ol, ul {
  36. list-style: none; }
  37. blockquote, q {
  38. quotes: none; }
  39. blockquote:before, blockquote:after,
  40. q:before, q:after {
  41. content: '';
  42. content: none; }
  43. table {
  44. border-collapse: collapse;
  45. border-spacing: 0; }
  46. /* #Basic Styles
  47. ================================================== */
  48. body {
  49. background: #fff;
  50. font: 16px/24px Segoe, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  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. font-family: Segoe, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  58. font-weight: normal; }
  59. h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight: inherit; }
  60. h1 { font-size: 46px; line-height: 50px; margin-bottom: 14px;}
  61. h2 { font-size: 35px; line-height: 40px; margin-bottom: 10px; }
  62. h3 { font-size: 28px; line-height: 34px; margin-bottom: 8px; }
  63. h4 { font-size: 21px; line-height: 30px; margin-bottom: 4px; }
  64. h5 { font-size: 17px; line-height: 24px; }
  65. h6 { font-size: 14px; line-height: 21px; }
  66. .subheader { color: #777; }
  67. p { margin: 0 0 20px 0; }
  68. p img { margin: 0; }
  69. p.lead { font-size: 21px; line-height: 27px; color: #777; }
  70. em { font-style: italic; }
  71. strong { font-weight: bold; color: #333; }
  72. small { font-size: 80%; }
  73. /* Blockquotes */
  74. blockquote, blockquote p { font-size: 17px; line-height: 24px; color: #777; font-style: italic; }
  75. blockquote { margin: 0 0 20px; padding: 9px 20px 0 19px; border-left: 1px solid #ddd; }
  76. blockquote cite { display: block; font-size: 12px; color: #555; }
  77. blockquote cite:before { content: "\2014 \0020"; }
  78. blockquote cite:after { 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 { 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. a.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. padding: 4px 12px;
  125. -moz-border-radius: 3px;
  126. -webkit-border-radius: 3px;
  127. border-radius: 3px;
  128. color: #444;
  129. display: inline-block;
  130. font-size: 11px;
  131. font-weight: bold;
  132. text-decoration: none;
  133. text-shadow: 0 1px rgba(255, 255, 255, .75);
  134. cursor: pointer;
  135. margin-bottom: 20px;
  136. line-height: 21px;
  137. font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; }
  138. a.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. a.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. /* #Tabs (activate in tabs.js)
  177. ================================================== */
  178. ul.tabs {
  179. display: block;
  180. margin: 0 0 20px 0;
  181. padding: 0;
  182. border-bottom: solid 1px #ddd; }
  183. ul.tabs li {
  184. display: block;
  185. width: auto;
  186. height: 30px;
  187. padding: 0;
  188. float: left;
  189. margin-bottom: 0; }
  190. ul.tabs li a {
  191. display: block;
  192. text-decoration: none;
  193. width: auto;
  194. height: 29px;
  195. padding: 0px 20px;
  196. line-height: 30px;
  197. border: solid 1px #ddd;
  198. border-width: 1px 1px 0 0;
  199. margin: 0;
  200. background: #f5f5f5;
  201. font-size: 13px; }
  202. ul.tabs li a.active {
  203. background: #fff;
  204. height: 30px;
  205. position: relative;
  206. top: -4px;
  207. padding-top: 4px;
  208. border-left-width: 1px;
  209. margin: 0 0 0 -1px;
  210. color: #111;
  211. -moz-border-radius-topleft: 2px;
  212. -webkit-border-top-left-radius: 2px;
  213. border-top-left-radius: 2px;
  214. -moz-border-radius-topright: 2px;
  215. -webkit-border-top-right-radius: 2px;
  216. border-top-right-radius: 2px; }
  217. ul.tabs li:first-child a.active {
  218. margin-left: 0; }
  219. ul.tabs li:first-child a {
  220. border-width: 1px 1px 0 1px;
  221. -moz-border-radius-topleft: 2px;
  222. -webkit-border-top-left-radius: 2px;
  223. border-top-left-radius: 2px; }
  224. ul.tabs li:last-child a {
  225. -moz-border-radius-topright: 2px;
  226. -webkit-border-top-right-radius: 2px;
  227. border-top-right-radius: 2px; }
  228. ul.tabs-content { margin: 0; display: block; }
  229. ul.tabs-content > li { display:none; }
  230. ul.tabs-content > li.active { display: block; }
  231. /* Clearfixing tabs for beautiful stacking */
  232. ul.tabs:before,
  233. ul.tabs:after {
  234. content: '\0020';
  235. display: block;
  236. overflow: hidden;
  237. visibility: hidden;
  238. width: 0;
  239. height: 0; }
  240. ul.tabs:after {
  241. clear: both; }
  242. ul.tabs {
  243. zoom: 1; }
  244. /* #Forms
  245. ================================================== */
  246. form {
  247. margin-bottom: 20px; }
  248. fieldset {
  249. margin-bottom: 20px; }
  250. input[type="text"],
  251. input[type="password"],
  252. input[type="email"],
  253. textarea,
  254. select {
  255. border: 1px solid #ccc;
  256. padding: 6px 4px;
  257. outline: none;
  258. -moz-border-radius: 2px;
  259. -webkit-border-radius: 2px;
  260. border-radius: 2px;
  261. font: 13px "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  262. color: #777;
  263. margin: 0;
  264. width: 210px;
  265. max-width: 100%;
  266. display: block;
  267. margin-bottom: 20px;
  268. background: #fff; }
  269. select {
  270. padding: 0; }
  271. input[type="text"]:focus,
  272. input[type="password"]:focus,
  273. input[type="email"]:focus,
  274. textarea:focus {
  275. border: 1px solid #aaa;
  276. color: #444;
  277. -moz-box-shadow: 0 0 3px rgba(0,0,0,.2);
  278. -webkit-box-shadow: 0 0 3px rgba(0,0,0,.2);
  279. box-shadow: 0 0 3px rgba(0,0,0,.2); }
  280. textarea {
  281. min-height: 60px; }
  282. label,
  283. legend {
  284. display: block;
  285. font-weight: bold;
  286. font-size: 13px; }
  287. select {
  288. width: 220px; }
  289. input[type="checkbox"] {
  290. display: inline; }
  291. label span,
  292. legend span {
  293. font-weight: normal;
  294. font-size: 13px;
  295. color: #444; }
  296. /* #Misc
  297. ================================================== */
  298. .remove-bottom { margin-bottom: 0 !important; }
  299. .half-bottom { margin-bottom: 10px !important; }
  300. .add-bottom { margin-bottom: 20px !important; }