PageRenderTime 63ms CodeModel.GetById 31ms RepoModel.GetById 0ms app.codeStats 0ms

/css/style.css

https://github.com/williamswebworks/DraftApp
CSS | 404 lines | 296 code | 88 blank | 20 comment | 0 complexity | aa98f017307b0fc7d3a8fbfd17f4bcfc MD5 | raw file
  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. || App Styles ||
  72. || ||
  73. \\ ========================================== //
  74. */
  75. /* font */
  76. @font-face {
  77. font-family: 'scoreboard';
  78. src: url('myfont.eot#') format('eot'), /* IE6–8 */
  79. url('myfont.woff') format('woff'), /* FF3.6+, IE9, Chrome6+ */
  80. url('font/scoreboard.ttf') format('truetype'); /* Saf3+, Chrome4+, FF3.5, Opera 10+ */
  81. }
  82. /* /font */
  83. body {
  84. background:rgba(0,0,0,1);
  85. font-family:"anivers-1","anivers-2";
  86. }
  87. /* ----- header ----- */
  88. header {
  89. height:125px;
  90. margin-bottom:10px;
  91. background:url('images/headerBG.png') repeat-x; }
  92. section {}
  93. /* pick information boxes */
  94. section picInfo {
  95. margin:0 0 10px 0;
  96. }
  97. section #pickInfo .infoBox {
  98. background: url('images/texture.png') left top repeat,
  99. url('images/boxGradient.png') right top no-repeat #2d2d2d;
  100. min-height:175px;
  101. -moz-box-shadow:inset 0 0 2px rgba(255,255,255,1);
  102. -webkit-box-shadow:inset 0 0 2px rgba(255,255,255,1);
  103. -moz-border-radius: 15px;
  104. -webkit-border-radius: 15px;
  105. }
  106. /* the clock */
  107. #pickInfo #clock {}
  108. #clock p {
  109. color:white;
  110. text-align:center;
  111. font-family: "scoreboard", arial;
  112. font-size:7.0em;
  113. text-shadow:2px 2px 3px #000;
  114. }
  115. p#round, p#pick{
  116. width:50%;
  117. display:block;
  118. float:left;
  119. font-size:2.5em;
  120. text-align:center;
  121. color:rgba(255,255,255,.9);
  122. text-shadow:2px 2px 3px #000;
  123. }
  124. p#round i, p#pick i {
  125. font-style:normal;
  126. padding:0 5px;
  127. color:#fff;
  128. text-shadow:2px 2px 3px #000;
  129. background:background:rgba(255,255,255,.1);
  130. }
  131. /* on the clock, on Deck Box */
  132. #pickInfo #currentPickBox, #pickInfo #onDeckBox {
  133. color:rgba(255,255,255,1);
  134. }
  135. #currentPickBox {}
  136. #pickInfo #currentPickBox h2, #onDeckBox h2 {
  137. text-align:left;
  138. font-size:2.5em;
  139. margin:10px 0 10px 10px;
  140. text-shadow:2px 2px 3px #000;
  141. }
  142. div.teamPic {
  143. background: #444;
  144. float:left;
  145. width:75px;
  146. height:75px;
  147. padding:0 10px 0 10px;}
  148. #currentPickBox p.teamName, #onDeckBox p.teamName {
  149. font-size:2.1em;
  150. margin-left:10px;
  151. line-height:1.6em;
  152. text-shadow:2px 2px 3px #000}
  153. #currentPickBox p.userName, #onDeckBox p.userName {
  154. font-size:1.5em;
  155. margin-left:10px;
  156. }
  157. #currentPickBox p.pickStatus {
  158. width:100%;
  159. float:left;
  160. display:block;
  161. text-align:center;
  162. line-height:1.5em;
  163. font-size:2.3em;
  164. color:rgba(255,0,0,.8);
  165. letter-spacing: .1em;
  166. text-shadow:1px 1px 2px #000;}
  167. #onDeckBox p.lastPick {
  168. width:100%;
  169. float:left;
  170. display:block;
  171. text-align:left;
  172. line-height:1.7em;
  173. font-size:1.9em;
  174. color:rgba(255,255,255,1);
  175. letter-spacing: .1em;
  176. margin:0 0 0 10px;}
  177. #onDeckBox p.lastPick i {
  178. font-style:italic;}
  179. /* draft board */
  180. section div#boardContainer {
  181. background: url('images/texture.png') left top repeat #2d2d2d;
  182. -webkit-border-radius:15px;
  183. -moz-border-radius:15px;
  184. border-radius:15px;
  185. -moz-box-shadow:inset 0 0 2px rgba(255,255,255,1);
  186. -webkit-box-shadow:inset 0 0 2px rgba(255,255,255,1);
  187. }
  188. section div#draftBoard {
  189. width:100%;
  190. margin-bottom:10px;}
  191. #draftBoard #teamList {
  192. list-style:none;
  193. text-align:center;
  194. }
  195. #draftBoard #teamList li {
  196. float:left;
  197. display:block;
  198. width:8.2%; /* for 12 teams */
  199. text-align:center;
  200. margin-top:5px;
  201. padding:5px 0 5px;
  202. color:#fff;
  203. }
  204. #teamList li img {
  205. display:block;
  206. margin:0 auto;}
  207. /* Draft Grid */
  208. #draftBoard .draftRound {
  209. list-style:none;}
  210. #draftBoard .draftRound li
  211. {
  212. float:left;
  213. display:block;
  214. height:35px;
  215. line-height:35px;
  216. width:8.2%; /* for 12 teams */
  217. -webkit-box-shadow:inset 0 0 1px #000;
  218. -moz-box-shadow:inset 0 0 1px #000;
  219. box-shadow:inset 0 0 1px #000;
  220. font-size:12px;
  221. text-align:center;
  222. color:#fff;
  223. }
  224. #draftBoard draftRoundHolder .draftRound:nth-of-type(even) {
  225. background:red;}
  226. /* classes for drafted player boxes */
  227. .QB {
  228. background-color: #0066CC;
  229. background-image: -webkit-gradient(linear, left top, left bottom, from(#0066CC), to(#024487)); /* Saf4+, Chrome */
  230. background-image: -webkit-linear-gradient(top, #0066CC, #024487); /* Chrome 10+, Saf5.1+ */
  231. background-image: -moz-linear-gradient(top, #0066CC, #024487); /* FF3.6 */
  232. background-image: -ms-linear-gradient(top, #0066CC, #024487); /* IE10 */
  233. background-image: -o-linear-gradient(top, #0066CC, #024487); /* Opera 11.10+ */
  234. background-image: linear-gradient(top, #0066CC, #024487);
  235. filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#0066CC', EndColorStr='#024487'); /* IE6–IE9 */;
  236. }
  237. .RB {
  238. background-color: #669933;
  239. background-image: -webkit-gradient(linear, left top, left bottom, from(#669933), to(#2c5205)); /* Saf4+, Chrome */
  240. background-image: -webkit-linear-gradient(top, #669933, #2c5205); /* Chrome 10+, Saf5.1+ */
  241. background-image: -moz-linear-gradient(top, #669933, #2c5205); /* FF3.6 */
  242. background-image: -ms-linear-gradient(top, #669933, #2c5205); /* IE10 */
  243. background-image: -o-linear-gradient(top, #669933, #2c5205); /* Opera 11.10+ */
  244. background-image: linear-gradient(top, #669933, #2c5205);
  245. filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#669933', EndColorStr='#2c5205'); /* IE6–IE9 */}
  246. .WR {
  247. background-color: #003300;
  248. background-image: -webkit-gradient(linear, left top, left bottom, from(#003300), to(#001f00)); /* Saf4+, Chrome */
  249. background-image: -webkit-linear-gradient(top, #003300, #001f00); /* Chrome 10+, Saf5.1+ */
  250. background-image: -moz-linear-gradient(top, #003300, #001f00); /* FF3.6 */
  251. background-image: -ms-linear-gradient(top, #003300, #001f00); /* IE10 */
  252. background-image: -o-linear-gradient(top, #003300, #001f00); /* Opera 11.10+ */
  253. background-image: linear-gradient(top, #003300, #001f00);
  254. filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#003300', EndColorStr='#001f00'); /* IE6–IE9 */
  255. }
  256. .TE {
  257. background-color: #cc0000;
  258. background-image: -webkit-gradient(linear, left top, left bottom, from(#cc0000), to(#860000)); /* Saf4+, Chrome */
  259. background-image: -webkit-linear-gradient(top, #cc0000, #860000); /* Chrome 10+, Saf5.1+ */
  260. background-image: -moz-linear-gradient(top, #cc0000, #860000); /* FF3.6 */
  261. background-image: -ms-linear-gradient(top, #cc0000, #860000); /* IE10 */
  262. background-image: -o-linear-gradient(top, #cc0000, #860000); /* Opera 11.10+ */
  263. background-image: linear-gradient(top, #cc0000, #860000);
  264. filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#cc0000', EndColorStr='#860000'); /* IE6–IE9 */}
  265. .DEf {
  266. background-color: #ef7e05;
  267. background-image: -webkit-gradient(linear, left top, left bottom, from(#ef7e05), to(#984f01)); /* Saf4+, Chrome */
  268. background-image: -webkit-linear-gradient(top, #ef7e05, #984f01); /* Chrome 10+, Saf5.1+ */
  269. background-image: -moz-linear-gradient(top, #ef7e05, #984f01); /* FF3.6 */
  270. background-image: -ms-linear-gradient(top, #ef7e05, #984f01); /* IE10 */
  271. background-image: -o-linear-gradient(top, #ef7e05, #984f01); /* Opera 11.10+ */
  272. background-image: linear-gradient(top, #ef7e05, #984f01);
  273. filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#ef7e05', EndColorStr='#984f01'); /* IE6–IE9 */}
  274. .K {
  275. background-color: #663333;
  276. background-image: -webkit-gradient(linear, left top, left bottom, from(#663333), to(#521717)); /* Saf4+, Chrome */
  277. background-image: -webkit-linear-gradient(top, #663333, #521717); /* Chrome 10+, Saf5.1+ */
  278. background-image: -moz-linear-gradient(top, #663333, #521717); /* FF3.6 */
  279. background-image: -ms-linear-gradient(top, #663333, #521717); /* IE10 */
  280. background-image: -o-linear-gradient(top, #663333, #521717); /* Opera 11.10+ */
  281. background-image: linear-gradient(top, #663333, #521717);
  282. filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#663333', EndColorStr='#521717'); /* IE6–IE9 */}
  283. /* misc style */
  284. .spacer {height:15px;}
  285. ul.zebra {
  286. background:#red;}
  287. .ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }
  288. .hidden { display: none; visibility: hidden; }
  289. .visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
  290. .visuallyhidden.focusable:active,
  291. .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
  292. .invisible { visibility: hidden; }
  293. .group:before, .group:after { content: "\0020"; display: block; height: 0; overflow: hidden; }
  294. .group:after { clear: both; }
  295. .group { zoom: 1; }
  296. @media all and (orientation:portrait) {
  297. }
  298. @media all and (orientation:landscape) {
  299. }
  300. @media screen and (max-device-width: 480px) {
  301. /* html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; } */
  302. }
  303. @media print {
  304. * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important;
  305. -ms-filter: none !important; }
  306. a, a:visited { color: #444 !important; text-decoration: underline; }
  307. a[href]:after { content: " (" attr(href) ")"; }
  308. abbr[title]:after { content: " (" attr(title) ")"; }
  309. .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }
  310. pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  311. thead { display: table-header-group; }
  312. tr, img { page-break-inside: avoid; }
  313. @page { margin: 0.5cm; }
  314. p, h2, h3 { orphans: 3; widows: 3; }
  315. h2, h3{ page-break-after: avoid; }
  316. }