main.css 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410
  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. /* ===============
  115. ALL: IE Fixes
  116. =============== */
  117. .ie7 .title {
  118. padding-top: 20px;
  119. }
  120. /* ==========================================================================
  121. Author's custom styles
  122. ========================================================================== */
  123. /* ==========================================================================
  124. Media Queries
  125. ========================================================================== */
  126. @media only screen and (min-width: 480px) {
  127. /* ====================
  128. INTERMEDIATE: Menu
  129. ==================== */
  130. nav a {
  131. float: left;
  132. width: 27%;
  133. margin: 0 1.7%;
  134. padding: 25px 2%;
  135. margin-bottom: 0;
  136. }
  137. nav li:first-child a {
  138. margin-left: 0;
  139. }
  140. nav li:last-child a {
  141. margin-right: 0;
  142. }
  143. /* ========================
  144. INTERMEDIATE: IE Fixes
  145. ======================== */
  146. nav ul li {
  147. display: inline;
  148. }
  149. .oldie nav a {
  150. margin: 0 0.7%;
  151. }
  152. }
  153. @media only screen and (min-width: 768px) {
  154. /* ====================
  155. WIDE: CSS3 Effects
  156. ==================== */
  157. .header-container,
  158. .main aside {
  159. -webkit-box-shadow: 0 5px 10px #aaa;
  160. -moz-box-shadow: 0 5px 10px #aaa;
  161. box-shadow: 0 5px 10px #aaa;
  162. }
  163. /* ============
  164. WIDE: Menu
  165. ============ */
  166. .title {
  167. float: left;
  168. }
  169. nav {
  170. float: right;
  171. width: 38%;
  172. }
  173. /* ============
  174. WIDE: Main
  175. ============ */
  176. .main article {
  177. float: left;
  178. width: 57%;
  179. }
  180. .main aside {
  181. float: right;
  182. width: 28%;
  183. }
  184. }
  185. @media only screen and (min-width: 1140px) {
  186. /* ===============
  187. Maximal Width
  188. =============== */
  189. .wrapper {
  190. width: 1026px; /* 1140px - 10% for margins */
  191. margin: 0 auto;
  192. }
  193. .header-container,
  194. .main aside {
  195. background: #f16529;
  196. margin-left: 10%;
  197. margin-right: 10%;
  198. }
  199. .footer-container, footer{
  200. background: #f16529;
  201. margin-left: 10%;
  202. margin-right: 10%;
  203. width:80%;
  204. height: 15%;
  205. position:absolute;
  206. bottom:0;
  207. }
  208. .forget-button {
  209. width: 50%;
  210. margin: 4% 46%;
  211. }
  212. }
  213. /* ==========================================================================
  214. Helper classes
  215. ========================================================================== */
  216. .ir {
  217. background-color: transparent;
  218. border: 0;
  219. overflow: hidden;
  220. *text-indent: -9999px;
  221. }
  222. .ir:before {
  223. content: "";
  224. display: block;
  225. width: 0;
  226. height: 150%;
  227. }
  228. .hidden {
  229. display: none !important;
  230. visibility: hidden;
  231. }
  232. .visuallyhidden {
  233. border: 0;
  234. clip: rect(0 0 0 0);
  235. height: 1px;
  236. margin: -1px;
  237. overflow: hidden;
  238. padding: 0;
  239. position: absolute;
  240. width: 1px;
  241. }
  242. .visuallyhidden.focusable:active,
  243. .visuallyhidden.focusable:focus {
  244. clip: auto;
  245. height: auto;
  246. margin: 0;
  247. overflow: visible;
  248. position: static;
  249. width: auto;
  250. }
  251. .invisible {
  252. visibility: hidden;
  253. }
  254. .clearfix:before,
  255. .clearfix:after {
  256. content: " ";
  257. display: table;
  258. }
  259. .clearfix:after {
  260. clear: both;
  261. }
  262. .clearfix {
  263. *zoom: 1;
  264. }
  265. /* ==========================================================================
  266. Print styles
  267. ========================================================================== */
  268. @media print {
  269. * {
  270. background: transparent !important;
  271. color: #000 !important;
  272. box-shadow: none !important;
  273. text-shadow: none !important;
  274. }
  275. a,
  276. a:visited {
  277. text-decoration: underline;
  278. }
  279. a[href]:after {
  280. content: " (" attr(href) ")";
  281. }
  282. abbr[title]:after {
  283. content: " (" attr(title) ")";
  284. }
  285. .ir a:after,
  286. a[href^="javascript:"]:after,
  287. a[href^="#"]:after {
  288. content: "";
  289. }
  290. pre,
  291. blockquote {
  292. border: 1px solid #999;
  293. page-break-inside: avoid;
  294. }
  295. thead {
  296. display: table-header-group;
  297. }
  298. tr,
  299. img {
  300. page-break-inside: avoid;
  301. }
  302. img {
  303. max-width: 100% !important;
  304. }
  305. @page {
  306. margin: 0.5cm;
  307. }
  308. p,
  309. h2,
  310. h3 {
  311. orphans: 3;
  312. widows: 3;
  313. }
  314. h2,
  315. h3 {
  316. page-break-after: avoid;
  317. }
  318. }