/files/cascadeframework/1.0/css/cascade/development/responsive.css

https://gitlab.com/Mirros/jsdelivr · CSS · 230 lines · 111 code · 20 blank · 99 comment · 0 complexity · 59f8342b84c17fbea2b3f36e7658b1ea MD5 · raw file

  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. .site-header,.site-footer {
  112. position: relative !important;
  113. }
  114. .site-header-ghost {
  115. display: none !important;
  116. }
  117. section,article,header,footer,aside,nav,.col,
  118. section.sizefit,section.sizefill,
  119. article.sizefit,article.sizefill,
  120. header.sizefit,header.sizefill,
  121. footer.sizefit,footer.sizefill,
  122. aside.sizefit,aside.sizefill,
  123. nav.sizefit,nav.sizefill,
  124. .col.sizefit,.col.sizefill {
  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. Sizefit and sizefill support for mobile
  147. ========================================================================== */
  148. @media (max-width: 767px) {
  149. section.mobile-sizefill,
  150. article.mobile-sizefill,
  151. header.mobile-sizefill,
  152. footer.mobile-sizefill,
  153. aside.mobile-sizefill,
  154. nav.mobile-sizefill,
  155. .col.mobile-sizefill {display:table-cell !important;float:none!important;min-width:50px!important;width:10000px!important;}
  156. section.mobile-sizefit,
  157. article.mobile-sizefit,
  158. header.mobile-sizefit,
  159. footer.mobile-sizefit,
  160. aside.mobile-sizefit,
  161. nav.mobile-sizefit,
  162. .col.mobile-sizefit {width:auto!important;}
  163. .mobile-center {
  164. float:none !important;
  165. margin-left:auto !important;
  166. margin-right:auto !important;
  167. }
  168. }
  169. @media (min-width: 481px) and (max-width: 767px) {
  170. section.tablet-sizefill,
  171. article.tablet-sizefill,
  172. header.tablet-sizefill,
  173. footer.tablet-sizefill,
  174. aside.tablet-sizefill,
  175. nav.tablet-sizefill,
  176. .col.tablet-sizefill {display:table-cell !important;float:none!important;min-width:50px!important;width:10000px!important;}
  177. section.tablet-sizefit,
  178. article.tablet-sizefit,
  179. header.tablet-sizefit,
  180. footer.tablet-sizefit,
  181. aside.tablet-sizefit,
  182. nav.tablet-sizefit,
  183. .col.tablet-sizefit {width:auto!important;}
  184. .tablet-center {
  185. float:none !important;
  186. margin-left:auto !important;
  187. margin-right:auto !important;
  188. }
  189. }
  190. @media (max-width: 480px) {
  191. section.phone-sizefill,
  192. article.phone-sizefill,
  193. header.phone-sizefill,
  194. footer.phone-sizefill,
  195. aside.phone-sizefill,
  196. nav.phone-sizefill,
  197. .col.phone-sizefill {display:table-cell !important;float:none!important;min-width:50px!important;width:10000px!important;}
  198. section.phone-sizefit,
  199. article.phone-sizefit,
  200. header.phone-sizefit,
  201. footer.phone-sizefit,
  202. aside.phone-sizefit,
  203. nav.phone-sizefit,
  204. .col.phone-sizefit {width:auto!important;}
  205. .phone-center {
  206. float:none !important;
  207. margin-left:auto !important;
  208. margin-right:auto !important;
  209. }
  210. }