main.css 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. /*
  2. COLORS
  3. Dark Blues
  4. #27313B
  5. #3F5568
  6. Light Blues
  7. #DCE9F4
  8. #C8D2DF
  9. #B9C8DF
  10. */
  11. /* H5BP */
  12. html,button,input,select,textarea {color: #27313B;}
  13. body {font-size: 1em;line-height: 1.4;}
  14. ::-moz-selection {background: #b3d4fc;text-shadow: none;}
  15. ::selection {background: #b3d4fc;text-shadow: none;}
  16. hr {display: block;height: 1px;border: 0;border-top: 1px solid #ccc;margin: 1em 0;padding: 0;}
  17. img {vertical-align: middle;}
  18. fieldset {border: 0;margin: 0;padding: 0;}
  19. textarea {resize: vertical;}
  20. /* ==========================================================================
  21. controldeck.js styles */
  22. * { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }
  23. body {
  24. background: #a2b2c9;
  25. text-align: center;
  26. color: #3f5568;
  27. font-family: 'Droid Sans', sans-serif;
  28. }
  29. section { max-width: 600px; margin: 0 auto;}
  30. header { margin-bottom: 40px;}
  31. h1, h2, h3 {
  32. font-family: 'Wendy One', sans-serif;
  33. text-transform: lowercase;
  34. color: #3f5568;
  35. padding: 0;
  36. margin: 0;
  37. line-height: 1.1;
  38. }
  39. h1 { font-size: 64px; }
  40. h2 { font-size: 36px; color: rgba(255,255,255,.9); text-shadow: 0px -1px 2px rgba(0,0,0,.4); }
  41. h3 { font-size: 30px; color: #3f5568; text-shadow: 0px 1px 2px rgba(255,255,255,.8); }
  42. h4, h5, h6 { font-weight: 700; }
  43. .panel-dark h1 {
  44. color: #c8d2df;
  45. text-shadow: 0px -1px 2px rgba(0,0,0,1);
  46. }
  47. a, a:hover, a:active, a:visited { color: #55697b; }
  48. p a { font-weight: 700; font-style: italic; }
  49. ul {
  50. list-style: none;
  51. padding: 0;
  52. }
  53. .panel {
  54. display: inline-block;
  55. margin: 24px;
  56. padding: 12px 24px;
  57. background: #B9C8DF;
  58. background-image: linear-gradient(bottom, #B9C8DF 0%, #DCE9F4 100%);
  59. background-image: -o-linear-gradient(bottom, #B9C8DF 0%, #DCE9F4 100%);
  60. background-image: -moz-linear-gradient(bottom, #B9C8DF 0%, #DCE9F4 100%);
  61. background-image: -webkit-linear-gradient(bottom, #B9C8DF 0%, #DCE9F4 100%);
  62. background-image: -ms-linear-gradient(bottom, #B9C8DF 0%, #DCE9F4 100%);
  63. background-image: -webkit-gradient(
  64. linear,
  65. left bottom,
  66. left top,
  67. color-stop(0, #B9C8DF),
  68. color-stop(1, #DCE9F4)
  69. );
  70. border-radius: 6px;
  71. transition: all 0.3s ease-out;
  72. box-shadow:
  73. inset 0 3px 0 rgba(255,255,255,0.5),
  74. 0 -1px 9px rgba(0,0,20,0.2),
  75. 0 0 1px 4px rgba(0,0,20,0.15),
  76. inset 0 -4px 2px rgba(0,0,20,.15);
  77. }
  78. .panel-dark {
  79. color:#B9C8DF;
  80. background: #3f5568;
  81. background-image: linear-gradient(bottom, #27313b 0%, #3f5568 100%);
  82. background-image: -o-linear-gradient(bottom, #27313b 0%, #3f5568 100%);
  83. background-image: -moz-linear-gradient(bottom, #27313b 0%, #3f5568 100%);
  84. background-image: -webkit-linear-gradient(bottom, #27313b 0%, #3f5568 100%);
  85. background-image: -ms-linear-gradient(bottom, #27313b 0%, #3f5568 100%);
  86. background-image: -webkit-gradient(
  87. linear,
  88. left bottom,
  89. left top,
  90. color-stop(0, #27313b),
  91. color-stop(1, #3f5568)
  92. );
  93. border: solid 1px #27313b;
  94. box-shadow:
  95. inset 0 4px 2px rgba(0,0,0,0.15),
  96. 0 0 1px 8px rgba(0,0,20,0.15),
  97. inset 0 -8px 8px rgba(0,0,20,.15);
  98. }
  99. .controls-contain {
  100. position:absolute;
  101. width:100%;
  102. height: 100%;
  103. }
  104. .controls {
  105. display: table;
  106. width:100%;
  107. height: 100%;
  108. }
  109. .controls-row {
  110. display: table-cell;
  111. text-align: center;
  112. vertical-align: middle;
  113. }
  114. .deck-example {
  115. width: 450px;
  116. margin: 0 auto 20px;
  117. border-top: solid 1px rgba(0,0,0,.1);
  118. }
  119. .btn {
  120. font-weight: 700;
  121. font-size: 30px;
  122. min-width: 60px;
  123. text-align: center;
  124. display: inline-block;
  125. margin: 20px;
  126. padding: 6px 12px;
  127. background: #b9c8df;
  128. border: 1px solid rgba(0,0,20,0.15);
  129. border-radius: 30px;
  130. transition: all 0.3s ease-out;
  131. box-shadow:
  132. inset 0 1px 0 rgba(255,255,255,0.5),
  133. 0 2px 2px rgba(0,0,20,0.4),
  134. 0 0 1px 8px rgba(0,0,20,0.1),
  135. inset 0 3px 2px rgba(255,255,255,.22),
  136. inset 0 -3px 2px rgba(0,0,20,.15),
  137. inset 0 20px 10px rgba(255,255,255,.12);
  138. text-decoration: none;
  139. text-shadow: 0px 1px 1px rgba(255,255,255,.6);
  140. }
  141. .btn-small {
  142. font-size: 24px;
  143. border-radius: 18px;
  144. }
  145. .btn-150 { width: 150px; }
  146. .btn:hover { background: #c0cde2; }
  147. .btn:active {
  148. box-shadow:
  149. inset 0 1px 0 rgba(255,255,255,0.5),
  150. 0 2px 2px rgba(0,0,20,0.4),
  151. 0 0 1px 8px rgba(0,0,20,0.1),
  152. inset 0 3px 2px rgba(255,255,255,.22),
  153. inset 0 -1px 2px rgba(0,0,20,.15),
  154. inset 0 20px 10px rgba(255,255,255,.12);
  155. }
  156. .reveal { line-height: 1.2; }
  157. .reveal .btn { margin: 10px 30px; }
  158. .arrow { position: relative; top: 2px; font-size: 60px; text-shadow: 0px 1px 2px rgba(255,255,255,.8); }
  159. .arrow-l { left: -4px;}
  160. .arrow-r { left: 4px;}
  161. .arrow-d, .arrow-u { margin: 0; }
  162. .sep { height: 40px; }
  163. footer {
  164. max-width: 450px;
  165. margin: 0 auto;
  166. border-top: solid 1px rgba(0,0,0,.1);
  167. padding: 10px;
  168. font-size: 14px;
  169. }
  170. /* Print styles */
  171. @media print {
  172. * {background: transparent !important; color: #000 !important; /* Black prints faster: h5bp.com/s */ box-shadow: none !important; text-shadow: none !important;}
  173. a,a:visited {text-decoration: underline;}
  174. a[href]:after {content: " (" attr(href) ")";}
  175. abbr[title]:after {content: " (" attr(title) ")";}
  176. .ir a:after,a[href^="javascript:"]:after,a[href^="#"]:after {content: "";}
  177. pre,blockquote {border: 1px solid #999;page-break-inside: avoid;}
  178. thead {display: table-header-group; /* h5bp.com/t */}
  179. tr,img {page-break-inside: avoid;}
  180. img {max-width: 100% !important;}
  181. @page {margin: 0.5cm;}
  182. p,h2,h3 {orphans: 3;widows: 3;}
  183. h2,h3 {page-break-after: avoid;}
  184. }