main.css 5.8 KB

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