main.css 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328
  1. /* ==========================================================================
  2. HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
  3. ========================================================================== */
  4. html,
  5. button,
  6. input,
  7. select,
  8. textarea {
  9. color: #222;
  10. }
  11. body {
  12. font-size: 1em;
  13. line-height: 1.4;
  14. }
  15. ::-moz-selection {
  16. background: #b3d4fc;
  17. text-shadow: none;
  18. }
  19. ::selection {
  20. background: #b3d4fc;
  21. text-shadow: none;
  22. }
  23. hr {
  24. display: block;
  25. height: 1px;
  26. border: 0;
  27. border-top: 1px solid #ccc;
  28. margin: 1em 0;
  29. padding: 0;
  30. }
  31. img {
  32. vertical-align: middle;
  33. }
  34. fieldset {
  35. border: 0;
  36. margin: 0;
  37. padding: 0;
  38. }
  39. textarea {
  40. resize: vertical;
  41. }
  42. .chromeframe {
  43. margin: 0.2em 0;
  44. background: #ccc;
  45. color: #000;
  46. padding: 0.2em 0;
  47. }
  48. /* ===== Initializr Styles ==================================================
  49. Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
  50. ========================================================================== */
  51. /* ===================
  52. ALL: Orange Theme
  53. =================== */
  54. .header-container {
  55. border-bottom: 20px solid #e44d26;
  56. }
  57. .footer-container,
  58. .main aside {
  59. border-top: 20px solid #e44d26;
  60. }
  61. .header-container,
  62. .footer-container,
  63. .main aside {
  64. background: #f16529;
  65. }
  66. .title {
  67. color: white;
  68. }
  69. /* ==============
  70. MOBILE: Main
  71. ============== */
  72. .main {
  73. padding: 30px 0;
  74. }
  75. .main article h1 {
  76. font-size: 2em;
  77. }
  78. .main aside {
  79. color: white;
  80. padding: 0px 5% 10px;
  81. }
  82. .footer-container footer {
  83. color: white;
  84. padding: 20px 0;
  85. }
  86. /* ===============
  87. ALL: IE Fixes
  88. =============== */
  89. .ie7 .title {
  90. padding-top: 20px;
  91. }
  92. /* ==========================================================================
  93. Media Queries
  94. ========================================================================== */
  95. @media only screen and (min-width: 480px) {
  96. /* ====================
  97. INTERMEDIATE: Menu
  98. ==================== */
  99. nav li:first-child a {
  100. margin-left: 0;
  101. }
  102. nav li:last-child a {
  103. margin-right: 0;
  104. }
  105. /* ========================
  106. INTERMEDIATE: IE Fixes
  107. ======================== */
  108. nav ul li {
  109. display: inline;
  110. }
  111. .oldie nav a {
  112. margin: 0 0.7%;
  113. }
  114. }
  115. @media only screen and (min-width: 768px) {
  116. /* ====================
  117. WIDE: CSS3 Effects
  118. ==================== */
  119. .header-container,
  120. .main aside {
  121. -webkit-box-shadow: 0 5px 10px #aaa;
  122. -moz-box-shadow: 0 5px 10px #aaa;
  123. box-shadow: 0 5px 10px #aaa;
  124. }
  125. /* ============
  126. WIDE: Menu
  127. ============ */
  128. .title {
  129. float: left;
  130. }
  131. nav {
  132. float: right;
  133. width: 38%;
  134. }
  135. /* ============
  136. WIDE: Main
  137. ============ */
  138. }
  139. @media only screen and (min-width: 1140px) {
  140. /* ===============
  141. Maximal Width
  142. =============== */
  143. .wrapper {
  144. width: 1026px; /* 1140px - 10% for margins */
  145. margin: 0 auto;
  146. }
  147. }
  148. /* ==========================================================================
  149. Helper classes
  150. ========================================================================== */
  151. .ir {
  152. background-color: transparent;
  153. border: 0;
  154. overflow: hidden;
  155. *text-indent: -9999px;
  156. }
  157. .ir:before {
  158. content: "";
  159. display: block;
  160. width: 0;
  161. height: 100%;
  162. }
  163. .hidden {
  164. display: none !important;
  165. visibility: hidden;
  166. }
  167. .visuallyhidden {
  168. border: 0;
  169. clip: rect(0 0 0 0);
  170. height: 1px;
  171. margin: -1px;
  172. overflow: hidden;
  173. padding: 0;
  174. position: absolute;
  175. width: 1px;
  176. }
  177. .visuallyhidden.focusable:active,
  178. .visuallyhidden.focusable:focus {
  179. clip: auto;
  180. height: auto;
  181. margin: 0;
  182. overflow: visible;
  183. position: static;
  184. width: auto;
  185. }
  186. .invisible {
  187. visibility: hidden;
  188. }
  189. .clearfix:before,
  190. .clearfix:after {
  191. content: " ";
  192. display: table;
  193. }
  194. .clearfix:after {
  195. clear: both;
  196. }
  197. .clearfix {
  198. *zoom: 1;
  199. }
  200. /* ==========================================================================
  201. Print styles
  202. ========================================================================== */
  203. @media print {
  204. * {
  205. background: transparent !important;
  206. color: #000 !important; /* Black prints faster: h5bp.com/s */
  207. box-shadow: none !important;
  208. text-shadow: none !important;
  209. }
  210. a,
  211. a:visited {
  212. text-decoration: underline;
  213. }
  214. a[href]:after {
  215. content: " (" attr(href) ")";
  216. }
  217. abbr[title]:after {
  218. content: " (" attr(title) ")";
  219. }
  220. /*
  221. * Don't show links for images, or javascript/internal links
  222. */
  223. .ir a:after,
  224. a[href^="javascript:"]:after,
  225. a[href^="#"]:after {
  226. content: "";
  227. }
  228. pre,
  229. blockquote {
  230. border: 1px solid #999;
  231. page-break-inside: avoid;
  232. }
  233. thead {
  234. display: table-header-group; /* h5bp.com/t */
  235. }
  236. tr,
  237. img {
  238. page-break-inside: avoid;
  239. }
  240. img {
  241. max-width: 100% !important;
  242. }
  243. @page {
  244. margin: 0.5cm;
  245. }
  246. p,
  247. h2,
  248. h3 {
  249. orphans: 3;
  250. widows: 3;
  251. }
  252. h2,
  253. h3 {
  254. page-break-after: avoid;
  255. }
  256. }