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

/WebContent/assets/css/skeleton/stylesheets/base.css

https://gitlab.com/CORP-RESELLER/DonationWidget
CSS | 335 lines | 258 code | 34 blank | 43 comment | 0 complexity | 77aff79f44159bf9b94df922fab342bc 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: 14px/21px "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  51. color: #444;
  52. -webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
  53. -webkit-text-size-adjust: 100%;
  54. }
  55. /* #Typography
  56. ================================================== */
  57. h1, h2, h3, h4, h5, h6 {
  58. color: #181818;
  59. font-family: "Georgia", "Times New Roman", Helvetica, Arial, sans-serif;
  60. font-weight: normal; }
  61. h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight: inherit; }
  62. h1 { font-size: 46px; line-height: 50px; margin-bottom: 14px;}
  63. h2 { font-size: 35px; line-height: 40px; margin-bottom: 10px; }
  64. h3 { font-size: 28px; line-height: 34px; margin-bottom: 8px; }
  65. h4 { font-size: 21px; line-height: 30px; margin-bottom: 4px; }
  66. h5 { font-size: 17px; line-height: 24px; }
  67. h6 { font-size: 14px; line-height: 21px; }
  68. .subheader { color: #777; }
  69. p { margin: 0 0 20px 0; }
  70. p img { margin: 0; }
  71. p.lead { font-size: 21px; line-height: 27px; color: #777; }
  72. em { font-style: italic; }
  73. strong { font-weight: bold; color: #333; }
  74. small { font-size: 80%; }
  75. /* Blockquotes */
  76. blockquote, blockquote p { font-size: 17px; line-height: 24px; color: #777; font-style: italic; }
  77. blockquote { margin: 0 0 20px; padding: 9px 20px 0 19px; border-left: 1px solid #ddd; }
  78. blockquote cite { display: block; font-size: 12px; color: #555; }
  79. blockquote cite:before { content: "\2014 \0020"; }
  80. blockquote cite a, blockquote cite a:visited, blockquote cite a:visited { color: #555; }
  81. hr { border: solid #ddd; border-width: 1px 0 0; clear: both; margin: 10px 0 30px; height: 0; }
  82. /* #Links
  83. ================================================== */
  84. a, a:visited { color: #333; text-decoration: underline; outline: 0; }
  85. a:hover, a:focus { color: #000; }
  86. p a, p a:visited { line-height: inherit; }
  87. /* #Lists
  88. ================================================== */
  89. ul, ol { margin-bottom: 20px; }
  90. ul { list-style: none outside; }
  91. ol { list-style: decimal; }
  92. ol, ul.square, ul.circle, ul.disc { margin-left: 30px; }
  93. ul.square { list-style: square outside; }
  94. ul.circle { list-style: circle outside; }
  95. ul.disc { list-style: disc outside; }
  96. ul ul, ul ol,
  97. ol ol, ol ul { margin: 4px 0 5px 30px; font-size: 90%; }
  98. ul ul li, ul ol li,
  99. ol ol li, ol ul li { margin-bottom: 6px; }
  100. li { line-height: 18px; margin-bottom: 12px; }
  101. ul.large li { line-height: 21px; }
  102. li p { line-height: 21px; }
  103. /* #Images
  104. ================================================== */
  105. img.scale-with-grid {
  106. max-width: 100%;
  107. height: auto; }
  108. /* #Buttons
  109. ================================================== */
  110. a.button,
  111. button,
  112. input[type="submit"],
  113. input[type="reset"],
  114. input[type="button"] {
  115. background: #eee; /* Old browsers */
  116. background: #eee -moz-linear-gradient(top, rgba(255,255,255,.2) 0%, rgba(0,0,0,.2) 100%); /* FF3.6+ */
  117. 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+ */
  118. background: #eee -webkit-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* Chrome10+,Safari5.1+ */
  119. background: #eee -o-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* Opera11.10+ */
  120. background: #eee -ms-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* IE10+ */
  121. background: #eee linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* W3C */
  122. border: 1px solid #aaa;
  123. border-top: 1px solid #ccc;
  124. border-left: 1px solid #ccc;
  125. padding: 4px 12px;
  126. -moz-border-radius: 3px;
  127. -webkit-border-radius: 3px;
  128. border-radius: 3px;
  129. color: #444;
  130. display: inline-block;
  131. font-size: 11px;
  132. font-weight: bold;
  133. text-decoration: none;
  134. text-shadow: 0 1px rgba(255, 255, 255, .75);
  135. cursor: pointer;
  136. margin-bottom: 20px;
  137. line-height: 21px;
  138. font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; }
  139. a.button:hover,
  140. button:hover,
  141. input[type="submit"]:hover,
  142. input[type="reset"]:hover,
  143. input[type="button"]:hover {
  144. color: #222;
  145. background: #ddd; /* Old browsers */
  146. background: #ddd -moz-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%); /* FF3.6+ */
  147. 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+ */
  148. background: #ddd -webkit-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* Chrome10+,Safari5.1+ */
  149. background: #ddd -o-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* Opera11.10+ */
  150. background: #ddd -ms-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* IE10+ */
  151. background: #ddd linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* W3C */
  152. border: 1px solid #888;
  153. border-top: 1px solid #aaa;
  154. border-left: 1px solid #aaa; }
  155. a.button:active,
  156. button:active,
  157. input[type="submit"]:active,
  158. input[type="reset"]:active,
  159. input[type="button"]:active {
  160. border: 1px solid #666;
  161. background: #ccc; /* Old browsers */
  162. background: #ccc -moz-linear-gradient(top, rgba(255,255,255,.35) 0%, rgba(10,10,10,.4) 100%); /* FF3.6+ */
  163. 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+ */
  164. background: #ccc -webkit-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* Chrome10+,Safari5.1+ */
  165. background: #ccc -o-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* Opera11.10+ */
  166. background: #ccc -ms-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* IE10+ */
  167. background: #ccc linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* W3C */ }
  168. .button.full-width,
  169. button.full-width,
  170. input[type="submit"].full-width,
  171. input[type="reset"].full-width,
  172. input[type="button"].full-width {
  173. width: 100%;
  174. padding-left: 0 !important;
  175. padding-right: 0 !important;
  176. text-align: center; }
  177. /* #Tabs (activate in tabs.js)
  178. ================================================== */
  179. ul.tabs {
  180. display: block;
  181. margin: 0 0 20px 0;
  182. padding: 0;
  183. border-bottom: solid 1px #ddd; }
  184. ul.tabs li {
  185. display: block;
  186. width: auto;
  187. height: 30px;
  188. padding: 0;
  189. float: left;
  190. margin-bottom: 0; }
  191. ul.tabs li a {
  192. display: block;
  193. text-decoration: none;
  194. width: auto;
  195. height: 29px;
  196. padding: 0px 20px;
  197. line-height: 30px;
  198. border: solid 1px #ddd;
  199. border-width: 1px 1px 0 0;
  200. margin: 0;
  201. background: #f5f5f5;
  202. font-size: 13px; }
  203. ul.tabs li a.active {
  204. background: #fff;
  205. height: 30px;
  206. position: relative;
  207. top: -4px;
  208. padding-top: 4px;
  209. border-left-width: 1px;
  210. margin: 0 0 0 -1px;
  211. color: #111;
  212. -moz-border-radius-topleft: 2px;
  213. -webkit-border-top-left-radius: 2px;
  214. border-top-left-radius: 2px;
  215. -moz-border-radius-topright: 2px;
  216. -webkit-border-top-right-radius: 2px;
  217. border-top-right-radius: 2px; }
  218. ul.tabs li:first-child a.active {
  219. margin-left: 0; }
  220. ul.tabs li:first-child a {
  221. border-width: 1px 1px 0 1px;
  222. -moz-border-radius-topleft: 2px;
  223. -webkit-border-top-left-radius: 2px;
  224. border-top-left-radius: 2px; }
  225. ul.tabs li:last-child a {
  226. -moz-border-radius-topright: 2px;
  227. -webkit-border-top-right-radius: 2px;
  228. border-top-right-radius: 2px; }
  229. ul.tabs-content { margin: 0; display: block; }
  230. ul.tabs-content > li { display:none; }
  231. ul.tabs-content > li.active { display: block; }
  232. /* Clearfixing tabs for beautiful stacking */
  233. ul.tabs:before,
  234. ul.tabs:after {
  235. content: '\0020';
  236. display: block;
  237. overflow: hidden;
  238. visibility: hidden;
  239. width: 0;
  240. height: 0; }
  241. ul.tabs:after {
  242. clear: both; }
  243. ul.tabs {
  244. zoom: 1; }
  245. /* #Forms
  246. ================================================== */
  247. form {
  248. margin-bottom: 20px; }
  249. fieldset {
  250. margin-bottom: 20px; }
  251. input[type="text"],
  252. input[type="password"],
  253. input[type="email"],
  254. textarea,
  255. select {
  256. border: 1px solid #ccc;
  257. padding: 6px 4px;
  258. outline: none;
  259. -moz-border-radius: 2px;
  260. -webkit-border-radius: 2px;
  261. border-radius: 2px;
  262. font: 13px "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  263. color: #000;
  264. margin: 0;
  265. width: 210px;
  266. max-width: 100%;
  267. display: block;
  268. margin-bottom: 20px;
  269. background: #fff; }
  270. select {
  271. padding: 0; }
  272. input[type="text"]:focus,
  273. input[type="password"]:focus,
  274. input[type="email"]:focus,
  275. textarea:focus {
  276. border: 1px solid #aaa;
  277. color: #000;
  278. -moz-box-shadow: 0 0 3px rgba(0,0,0,.2);
  279. -webkit-box-shadow: 0 0 3px rgba(0,0,0,.2);
  280. box-shadow: 0 0 3px rgba(0,0,0,.2); }
  281. textarea {
  282. min-height: 60px; }
  283. label,
  284. legend {
  285. display: block;
  286. font-weight: bold;
  287. font-size: 13px; }
  288. select {
  289. width: 220px; }
  290. input[type="checkbox"] {
  291. display: inline; }
  292. label span,
  293. legend span {
  294. font-weight: normal;
  295. font-size: 13px;
  296. color: #444; }
  297. /* #Misc
  298. ================================================== */
  299. .remove-bottom { margin-bottom: 0 !important; }
  300. .half-bottom { margin-bottom: 10px !important; }
  301. .add-bottom { margin-bottom: 20px !important; }