main.css 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477
  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. .twitter-share-button {
  18. margin-right: 5%;
  19. vertical-align: middle;
  20. }
  21. ::selection {
  22. background: #b3d4fc;
  23. text-shadow: none;
  24. }
  25. a {
  26. color: #ffcc00;
  27. }
  28. label {
  29. display: block;
  30. }
  31. fieldset.captcha label {
  32. padding: 5%;
  33. width: 90%;
  34. }
  35. fieldset.title, fieldset.captcha, fieldset.captcha label {
  36. display: none;
  37. }
  38. fieldset.captcha.error {
  39. display: block;
  40. background: red;
  41. }
  42. fieldset.captcha.error label {
  43. display: block;
  44. color: white;
  45. font-weight: bold;
  46. }
  47. fieldset.title.filled {
  48. display: block;
  49. }
  50. form.scriptlet fieldset.captcha {
  51. display: block;
  52. }
  53. textarea {
  54. width: 100%;
  55. }
  56. hr {
  57. display: block;
  58. height: 1px;
  59. border: 0;
  60. border-top: 1px solid #ccc;
  61. margin: 1em 0;
  62. padding: 0;
  63. }
  64. div.share {
  65. padding: 5px; margin: 5px 3px; background: #f0f0f0; border: 1px solid lightgray;
  66. }
  67. div#mask {
  68. position: fixed;
  69. top: 0;
  70. width: 100%; height: 100%;
  71. background: rgba(255, 255, 255, 0.9) url(../ajax-loader.gif) no-repeat center center;
  72. display: none;
  73. }
  74. audio,
  75. canvas,
  76. img,
  77. video {
  78. vertical-align: middle;
  79. }
  80. fieldset {
  81. border: 0;
  82. margin: 0;
  83. padding: 0;
  84. }
  85. textarea {
  86. resize: vertical;
  87. }
  88. .browsehappy {
  89. margin: 0.2em 0;
  90. background: #ccc;
  91. color: #000;
  92. padding: 0.2em 0;
  93. }
  94. /* ===== Initializr Styles ==================================================
  95. Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
  96. ========================================================================== */
  97. body {
  98. font: 16px/26px Helvetica, Helvetica Neue, Arial;
  99. }
  100. .wrapper {
  101. width: 90%;
  102. margin: 0 5%;
  103. }
  104. /* ===================
  105. ALL: Orange Theme
  106. =================== */
  107. .header-container {
  108. border-bottom: 20px solid #e44d26;
  109. }
  110. .footer-container,
  111. .main aside {
  112. border-top: 20px solid #e44d26;
  113. }
  114. .header-container,
  115. .footer-container,
  116. .main aside {
  117. background: #c00000;
  118. }
  119. .footer-container {
  120. margin-top: 20px;
  121. }
  122. header .title {
  123. font-weight: normal;
  124. color: white;
  125. font-size: 18px;
  126. width: 600px;
  127. }
  128. div.share>* {
  129. }
  130. form {
  131. width: 400px;
  132. }
  133. form.ready input[type=submit] {
  134. background: lightgreen;
  135. }
  136. form input[type=submit] {
  137. float: right;
  138. background: #ff9900;
  139. border: 1px solid lightgray;
  140. color: black;
  141. padding: 8px;
  142. }
  143. form textarea {
  144. width: 395px;
  145. }
  146. form .error {
  147. font-size: small;
  148. color: red;
  149. display: block;
  150. padding: 0 100px 0 0;
  151. line-height: 120%;
  152. }
  153. /* ==============
  154. MOBILE: Menu
  155. ============== */
  156. nav ul {
  157. margin: 0;
  158. padding: 0;
  159. }
  160. nav a {
  161. display: block;
  162. margin-bottom: 10px;
  163. padding: 15px 0;
  164. text-align: center;
  165. text-decoration: none;
  166. font-weight: bold;
  167. color: white;
  168. background: #e44d26;
  169. }
  170. nav a:hover,
  171. nav a:visited {
  172. color: white;
  173. }
  174. nav a:hover {
  175. text-decoration: underline;
  176. }
  177. /* ==============
  178. MOBILE: Main
  179. ============== */
  180. .main {
  181. padding: 30px 0;
  182. }
  183. .main article h1 {
  184. font-size: 2em;
  185. }
  186. .main aside {
  187. color: white;
  188. padding: 0px 5% 10px;
  189. }
  190. .footer-container footer {
  191. color: white;
  192. padding: 20px 0;
  193. }
  194. /* ===============
  195. ALL: IE Fixes
  196. =============== */
  197. .ie7 .title {
  198. padding-top: 20px;
  199. }
  200. /* ==========================================================================
  201. Author's custom styles
  202. ========================================================================== */
  203. /* ==========================================================================
  204. Media Queries
  205. ========================================================================== */
  206. @media only screen and (min-width: 480px) {
  207. /* ====================
  208. INTERMEDIATE: Menu
  209. ==================== */
  210. nav a {
  211. float: left;
  212. width: 27%;
  213. margin: 0 1.7%;
  214. padding: 25px 2%;
  215. margin-bottom: 0;
  216. }
  217. nav li:first-child a {
  218. margin-left: 0;
  219. }
  220. nav li:last-child a {
  221. margin-right: 0;
  222. }
  223. /* ========================
  224. INTERMEDIATE: IE Fixes
  225. ======================== */
  226. nav ul li {
  227. display: inline;
  228. }
  229. .oldie nav a {
  230. margin: 0 0.7%;
  231. }
  232. }
  233. @media only screen and (min-width: 768px) {
  234. /* ====================
  235. WIDE: CSS3 Effects
  236. ==================== */
  237. .header-container,
  238. .main aside {
  239. -webkit-box-shadow: 0 5px 10px #aaa;
  240. -moz-box-shadow: 0 5px 10px #aaa;
  241. box-shadow: 0 5px 10px #aaa;
  242. }
  243. /* ============
  244. WIDE: Menu
  245. ============ */
  246. .title {
  247. float: left;
  248. }
  249. nav {
  250. float: right;
  251. width: 38%;
  252. }
  253. /* ============
  254. WIDE: Main
  255. ============ */
  256. .main article {
  257. float: left;
  258. width: 57%;
  259. }
  260. .main aside {
  261. float: right;
  262. width: 28%;
  263. }
  264. }
  265. @media only screen and (min-width: 1140px) {
  266. /* ===============
  267. Maximal Width
  268. =============== */
  269. .wrapper {
  270. width: 1026px; /* 1140px - 10% for margins */
  271. margin: 0 auto;
  272. }
  273. }
  274. /* ==========================================================================
  275. Helper classes
  276. ========================================================================== */
  277. .ir {
  278. background-color: transparent;
  279. border: 0;
  280. overflow: hidden;
  281. *text-indent: -9999px;
  282. }
  283. .ir:before {
  284. content: "";
  285. display: block;
  286. width: 0;
  287. height: 150%;
  288. }
  289. .hidden {
  290. display: none !important;
  291. visibility: hidden;
  292. }
  293. .visuallyhidden {
  294. border: 0;
  295. clip: rect(0 0 0 0);
  296. height: 1px;
  297. margin: -1px;
  298. overflow: hidden;
  299. padding: 0;
  300. position: absolute;
  301. width: 1px;
  302. }
  303. .visuallyhidden.focusable:active,
  304. .visuallyhidden.focusable:focus {
  305. clip: auto;
  306. height: auto;
  307. margin: 0;
  308. overflow: visible;
  309. position: static;
  310. width: auto;
  311. }
  312. .invisible {
  313. visibility: hidden;
  314. }
  315. .clearfix:before,
  316. .clearfix:after {
  317. content: " ";
  318. display: table;
  319. }
  320. .clearfix:after {
  321. clear: both;
  322. }
  323. .clearfix {
  324. *zoom: 1;
  325. }
  326. /* ==========================================================================
  327. Print styles
  328. ========================================================================== */
  329. @media print {
  330. * {
  331. background: transparent !important;
  332. color: #000 !important;
  333. box-shadow: none !important;
  334. text-shadow: none !important;
  335. }
  336. a,
  337. a:visited {
  338. text-decoration: underline;
  339. }
  340. a[href]:after {
  341. content: " (" attr(href) ")";
  342. }
  343. abbr[title]:after {
  344. content: " (" attr(title) ")";
  345. }
  346. .ir a:after,
  347. a[href^="javascript:"]:after,
  348. a[href^="#"]:after {
  349. content: "";
  350. }
  351. pre,
  352. blockquote {
  353. border: 1px solid #999;
  354. page-break-inside: avoid;
  355. }
  356. thead {
  357. display: table-header-group;
  358. }
  359. tr,
  360. img {
  361. page-break-inside: avoid;
  362. }
  363. img {
  364. max-width: 100% !important;
  365. }
  366. @page {
  367. margin: 0.5cm;
  368. }
  369. p,
  370. h2,
  371. h3 {
  372. orphans: 3;
  373. widows: 3;
  374. }
  375. h2,
  376. h3 {
  377. page-break-after: avoid;
  378. }
  379. }