responsive.css 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. /*!
  2. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  3. *
  4. * CASCADE FRAMEWORK 1.0
  5. *
  6. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  7. *
  8. *
  9. * Copyright 2013, John Slegers
  10. * Released under the MIT license
  11. * http://jslegers.github.com/cascadeframework/license.html
  12. *
  13. *
  14. * This means you can use Cascade Framework for any project,
  15. * whether commercial or not.
  16. *
  17. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  18. *
  19. *
  20. * Cascade Framework also contains the following goodies,
  21. * which all have the same or similar 'permissive licenses :
  22. *
  23. *
  24. * Includes polyfills by Joshua Bell
  25. * http://www.calormen.com/polyfill/
  26. * Released in public domain
  27. *
  28. *
  29. * Includes Google ExplorerCanvas
  30. * https://code.google.com/p/explorercanvas/
  31. * Released under the Apache 2.0 license
  32. *
  33. *
  34. * Includes Google Prettify
  35. * https://code.google.com/p/google-code-prettify/
  36. * Released under the Apache 2.0 license
  37. *
  38. *
  39. * Includes Yepnope
  40. * http://yepnopejs.com/
  41. * Released under the WTFPL license
  42. *
  43. *
  44. * Includes Modernizr
  45. * http://modernizr.com/
  46. * Released under the MIT license
  47. *
  48. *
  49. * Includes lodash
  50. * http://lodash.com/
  51. * Released under the MIT license
  52. *
  53. *
  54. * Includes jQuery
  55. * http://jquery.com/
  56. * Released under the MIT license
  57. *
  58. *
  59. * Includes jQuery Easing plugin
  60. * http://gsgd.co.uk/sandbox/jquery/easing/
  61. * Released under the BSD license
  62. *
  63. *
  64. * Includes jQuery Flot plugin
  65. * http://www.flotcharts.org/
  66. * Released under the MIT license
  67. *
  68. *
  69. * Includes the Font Awesome webfont
  70. * http://fortawesome.github.com/Font-Awesome/
  71. * Released under the SIL Open Font License
  72. *
  73. *
  74. *
  75. *
  76. *
  77. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  78. *
  79. * Cascade Framework was inspired by many articles and projects
  80. *
  81. * Especially these authors are worth mentioning :
  82. *
  83. * Nicolle Sullivan
  84. * Jonathan Snook
  85. * Chris Coyier
  86. * Eric Meyer
  87. * Nicolas Gallagher
  88. * Paul Irish
  89. * Mark Otto
  90. * Jacob Thornton
  91. *
  92. *
  93. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  94. * Date: 2013-03-15
  95. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  96. */
  97. @media (min-width:1200px) {
  98. .site-center {
  99. width:1160px;
  100. }
  101. .cell{
  102. margin:15px;
  103. }
  104. }
  105. @media (min-width:768px) and (max-width:979px) {
  106. .site-center {
  107. width:704px;
  108. }
  109. }
  110. @media (max-width:767px) {
  111. .parsley-error-list {
  112. position: static;
  113. display: block !important;
  114. margin-left:3px;
  115. }
  116. main,section,article,header,footer,aside,nav,.col,
  117. main.width-fit,main.width-fill,
  118. section.width-fit,section.width-fill,
  119. article.width-fit,article.width-fill,
  120. header.width-fit,header.width-fill,
  121. footer.width-fit,footer.width-fill,
  122. aside.width-fit,aside.width-fill,
  123. nav.width-fit,nav.width-fill,
  124. .col.width-fit,.col.width-fill {
  125. padding:0 !important;
  126. display:block !important;
  127. float:left !important;
  128. width:100% !important;
  129. }
  130. .site-center,.site-body,.site-header,.site-footer,.site-center > .body {
  131. margin:0 !important;
  132. width:100% !important;
  133. border:none !important;
  134. -webkit-box-shadow:none !important;
  135. -moz-box-shadow:none !important;
  136. box-shadow:none !important;
  137. -webkit-border-radius: 0 !important;
  138. -moz-border-radius: 0 !important;
  139. border-radius: 0 !important;
  140. }
  141. .center {
  142. float:none !important;
  143. }
  144. }
  145. /* =============================================================================
  146. width-fit and width-fill support for mobile
  147. ========================================================================== */
  148. @media (max-width: 767px) {
  149. main.mobile-width-fill,
  150. section.mobile-width-fill,
  151. article.mobile-width-fill,
  152. header.mobile-width-fill,
  153. footer.mobile-width-fill,
  154. aside.mobile-width-fill,
  155. nav.mobile-width-fill,
  156. .col.mobile-width-fill {display:table-cell !important;float:none!important;min-width:50px!important;width:10000px!important;}
  157. main.mobile-width-fit,
  158. section.mobile-width-fit,
  159. article.mobile-width-fit,
  160. header.mobile-width-fit,
  161. footer.mobile-width-fit,
  162. aside.mobile-width-fit,
  163. nav.mobile-width-fit,
  164. .col.mobile-width-fit {width:auto!important;}
  165. .mobile-center {
  166. float:none !important;
  167. margin-left:auto !important;
  168. margin-right:auto !important;
  169. }
  170. }
  171. @media (min-width: 481px) and (max-width: 767px) {
  172. main.mobile-width-fill,
  173. section.tablet-width-fill,
  174. article.tablet-width-fill,
  175. header.tablet-width-fill,
  176. footer.tablet-width-fill,
  177. aside.tablet-width-fill,
  178. nav.tablet-width-fill,
  179. .col.tablet-width-fill {display:table-cell !important;float:none!important;min-width:50px!important;width:10000px!important;}
  180. main.mobile-width-fill,
  181. section.tablet-width-fit,
  182. article.tablet-width-fit,
  183. header.tablet-width-fit,
  184. footer.tablet-width-fit,
  185. aside.tablet-width-fit,
  186. nav.tablet-width-fit,
  187. .col.tablet-width-fit {width:auto!important;}
  188. .tablet-center {
  189. float:none !important;
  190. margin-left:auto !important;
  191. margin-right:auto !important;
  192. }
  193. }
  194. @media (max-width: 480px) {
  195. main.phone-width-fill,
  196. section.phone-width-fill,
  197. article.phone-width-fill,
  198. header.phone-width-fill,
  199. footer.phone-width-fill,
  200. aside.phone-width-fill,
  201. nav.phone-width-fill,
  202. .col.phone-width-fill {display:table-cell !important;float:none!important;min-width:50px!important;width:10000px!important;}
  203. main.phone-width-fit,
  204. section.phone-width-fit,
  205. article.phone-width-fit,
  206. header.phone-width-fit,
  207. footer.phone-width-fit,
  208. aside.phone-width-fit,
  209. nav.phone-width-fit,
  210. .col.phone-width-fit {width:auto!important;}
  211. .phone-center {
  212. float:none !important;
  213. margin-left:auto !important;
  214. margin-right:auto !important;
  215. }
  216. }