main.css 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543
  1. * {
  2. -webkit-box-sizing: border-box;
  3. -moz-box-sizing: border-box;
  4. box-sizing: border-box;
  5. }
  6. html, body {
  7. padding: 0;
  8. margin: 0;
  9. }
  10. body {
  11. color: #325050;
  12. background: #fff;
  13. font-family: 'Roboto Slab Regular', sans-serif;
  14. font-size: 70%;
  15. }
  16. a {
  17. color: #0d8ba1;
  18. -webkit-transition: all 0.25s ease-out;
  19. -moz-transition: all 0.25s ease-out;
  20. transition: all 0.25s ease-out;
  21. text-decoration: none;
  22. }
  23. a:visited {
  24. color: #1a5952;
  25. }
  26. a:hover, a:focus {
  27. color: #0599c2;
  28. text-decoration: underline;
  29. }
  30. header {
  31. height: 230px;
  32. padding: 20px 0 70px 0;
  33. background: #2364bd; /*35,100, 189*/
  34. background-attachment: fixed, fixed, fixed, scroll;
  35. background-size: auto, auto, auto, cover;
  36. text-align: center;
  37. background-attachment: fixed, fixed, fixed, scroll;
  38. }
  39. h1, h2 {
  40. padding: 0 10%;
  41. margin: 0;
  42. color: #fff;
  43. font-weight: normal;
  44. }
  45. h1 {
  46. padding-top: 0;
  47. padding-bottom: 5px;
  48. border-bottom: none;
  49. font-family: 'Roboto Slab Regular', sans-serif;
  50. font-size: 3.2em;
  51. }
  52. h1::before {
  53. display: inline-block;
  54. position: relative;
  55. top: 20px;
  56. content: "";
  57. width: 80px;
  58. height: 80px;
  59. margin: -20px 20px 0 0;
  60. opacity: 0.6;
  61. }
  62. h2 {
  63. display: block;
  64. padding-top: 5px;
  65. padding-bottom: 30px;
  66. border-top: none;
  67. color: rgba(255, 255, 255, 0.6);
  68. font-size: 1.6em;
  69. font-style: italic;
  70. font-family: 'Roboto Slab';
  71. }
  72. h2::before {
  73. content: " ";
  74. padding: 50px;
  75. }
  76. h3 {
  77. margin: 2em 0 0 0;
  78. color: #2e484c;
  79. font-family: 'Roboto Slab Regular', sans-serif;
  80. font-size: 1.8em;
  81. font-weight: normal;
  82. text-transform: uppercase;
  83. }
  84. p {
  85. margin: 0.75em 0;
  86. line-height: 2;
  87. }
  88. .page-wrapper {
  89. position: relative;
  90. }
  91. .video {
  92. padding: 5px;
  93. width: 640px;
  94. margin: auto;
  95. }
  96. .promo-video {
  97. margin: auto;
  98. width: 640px;
  99. height: 320px;
  100. }
  101. .preamble {
  102. width: 80%;
  103. margin: 0 auto;
  104. }
  105. .supporting h3, .supporting p {
  106. width: 80%;
  107. margin-left: auto;
  108. margin-right: auto;
  109. }
  110. .intro a, .intro a:visited {
  111. position: relative;
  112. display: inline-block;
  113. padding: 1px 10px 1px 32px;
  114. margin: -1px -10px -1px -6px;
  115. -webkit-border-radius: 1px;
  116. -moz-border-radius: 1px;
  117. border-radius: 1px;
  118. color: #809b7e;
  119. font-family: 'Roboto Slab Regular', sans-serif;
  120. text-transform: uppercase;
  121. }
  122. .intro a:hover, .intro a:focus {
  123. z-index: 2;
  124. color: #fff;
  125. background: #3d8a9f;
  126. text-decoration: none;
  127. }
  128. .intro a::before {
  129. display: inline-block;
  130. position: absolute;
  131. top: 6px;
  132. left: 8px;
  133. padding: 2px;
  134. color: #a9b995;
  135. background: #d9e1cd;
  136. -webkit-border-radius: 2px;
  137. -moz-border-radius: 2px;
  138. -o-border-radius: 2px;
  139. content: "D";
  140. font-size: 16px;
  141. text-indent: 0;
  142. /* icomoon.io defaults */
  143. font-family: 'Roboto Slab Regular', sans-serif;
  144. speak: none;
  145. font-weight: normal;
  146. font-variant: normal;
  147. text-transform: none;
  148. line-height: 1;
  149. -webkit-font-smoothing: antialiased;
  150. -webkit-transition: all 0.25s ease-out;
  151. -moz-transition: all 0.25s ease-out;
  152. transition: all 0.25s ease-out;
  153. }
  154. .intro a:hover::before {
  155. color: #fff;
  156. background: #357d93;
  157. }
  158. /* coloured cutoff */
  159. div.participation, div.benefits {
  160. background-color: rgba(35, 100, 189, 0.5);
  161. }
  162. div.participation {
  163. padding: 3em 0;
  164. margin-top: 3em;
  165. }
  166. div.benefits {
  167. padding-bottom: 3em;
  168. }
  169. div.participation h3, div.benefits h3 {
  170. margin-top: 0;
  171. }
  172. div.participation p, div.benefits p {
  173. margin-bottom: 0;
  174. }
  175. div.gallery {
  176. text-align: center;
  177. margin: 0px;
  178. padding: 0px;
  179. }
  180. div.gallery img {
  181. width: 100%;
  182. }
  183. .sidebar {
  184. background: #edf4f0;
  185. }
  186. .sidebar h3 {
  187. display: none;
  188. }
  189. .sidebar a {
  190. color: #607476;
  191. text-decoration: none;
  192. }
  193. .sidebar a:hover, .sidebar a:focus {
  194. color: #49968e;
  195. }
  196. .sidebar ul {
  197. padding: 0;
  198. margin: 0;
  199. list-style: none;
  200. overflow: hidden;
  201. }
  202. .design-selection ul {
  203. margin: 0;
  204. }
  205. .design-selection li {
  206. float: left;
  207. width: 50%;
  208. padding: 1.5em 10%;
  209. border-top: solid 1px #d9e3dc;
  210. color: #c0cac3;
  211. font-style: italic;
  212. }
  213. .design-selection li:hover, .design-selection li:focus {
  214. background: -moz-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0)
  215. 100%); /* FF3.6+ */
  216. background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(255, 255, 255, 0)),
  217. color-stop(50%, rgba(255, 255, 255, 0.5)), color-stop(100%, rgba(255, 255, 255, 0))); /* Chrome,Safari4+ */
  218. background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%,
  219. rgba(255, 255, 255, 0) 100%); /* Chrome10+,Safari5.1+ */
  220. background: -o-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0)
  221. 100%); /* Opera 11.10+ */
  222. background: -ms-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0)
  223. 100%); /* IE10+ */
  224. background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0)
  225. 100%); /* W3C */
  226. }
  227. .design-selection li:nth-child(2n+1) {
  228. clear: left;
  229. }
  230. .design-selection .design-name {
  231. display: block;
  232. margin-bottom: 0.25em;
  233. font-family: 'Roboto Slab Regular', sans-serif;
  234. font-size: 1.2em;
  235. font-style: normal;
  236. text-transform: uppercase;
  237. }
  238. /* select a design */
  239. .design-selection h3 {
  240. display: none;
  241. }
  242. .design-selection .designer-name {
  243. color: #616857;
  244. font-size: 0.9em;
  245. font-style: normal;
  246. }
  247. .subpages {
  248. color: #2e484c;
  249. font-size: 1em;
  250. margin: 0px;
  251. padding: 0px;
  252. text-transform: uppercase;
  253. }
  254. .subpages ul {
  255. list-style: none;
  256. }
  257. .subpages li {
  258. display: inline;
  259. padding: 10px;
  260. }
  261. .subpage-name {
  262. text-transform: uppercase;
  263. }
  264. .subtitle-bar {
  265. position: absolute;
  266. top: 160px;
  267. right: 0;
  268. width: 100%;
  269. height: 70px;
  270. background: rgba(255, 255, 255, 0.2);
  271. text-align: center;
  272. color: white;
  273. font-size: 1.4em;
  274. font-family: 'Roboto Slab';
  275. }
  276. footer {
  277. clear: both;
  278. padding: 3em 10%;
  279. color: #fff;
  280. background: #2364bd;
  281. text-align: center;
  282. font-size: 1.3em;
  283. font-family: 'Roboto Slab';
  284. }
  285. @media only screen and (max-width: 500px) {
  286. header {
  287. height: 250px;
  288. padding-top: 0;
  289. }
  290. h1 {
  291. margin: 0;
  292. }
  293. h1::before {
  294. display: block;
  295. left: 50%;
  296. width: 50px;
  297. height: 50px;
  298. margin: 0 0 0 -25px;
  299. padding: 0 0 35px 0;
  300. }
  301. h2::before {
  302. padding: 0;
  303. }
  304. .subtitle-bar {
  305. top: 200px;
  306. height: 50px;
  307. font-size: 1.2em;
  308. }
  309. .video {
  310. width: 320px;
  311. margin: auto;
  312. }
  313. .promo-video {
  314. width: 320px;
  315. height: 180px;
  316. }
  317. }
  318. @media only screen and (max-width: 320px) {
  319. /* adjusting the site header type size */
  320. h1 {
  321. font-size: 2em;
  322. }
  323. h2 {
  324. font-size: 1.3em;
  325. }
  326. /* linearizing the design list on small screens */
  327. .design-selection li {
  328. float: none;
  329. width: 100%;
  330. }
  331. footer {
  332. padding: 2em 5%;
  333. }
  334. }
  335. /* mid-res CSS */
  336. @media only screen and (max-width: 1132px) {
  337. p, li {
  338. font-size: 1.2em;
  339. }
  340. }
  341. /* high-res CSS */
  342. @media only screen and (min-width: 1132px) {
  343. body {
  344. background: #ffffff;
  345. background: -moz-linear-gradient(left, #ffffff 0%, #ffffff 66%, #e5ede8 66%, #e5ede8 100%);
  346. background: -webkit-gradient(linear, left top, right top, color-stop(0%, #ffffff), color-stop(66%, #ffffff),
  347. color-stop(66%, #e5ede8), color-stop(100%, #e5ede8));
  348. background: -webkit-linear-gradient(left, #ffffff 0%, #ffffff 66%, #e5ede8 66%, #e5ede8 100%);
  349. background: -o-linear-gradient(left, #ffffff 0%, #ffffff 66%, #e5ede8 66%, #e5ede8 100%);
  350. background: -ms-linear-gradient(left, #ffffff 0%, #ffffff 66%, #e5ede8 66%, #e5ede8 100%);
  351. background: linear-gradient(to right, #ffffff 0%, #ffffff 66%, #e5ede8 66%, #e5ede8 100%);
  352. font-size: 100%;
  353. }
  354. header {
  355. width: 100%;
  356. height: 310px;
  357. padding: 0 10%;
  358. vertical-align: middle;
  359. text-align: left;
  360. }
  361. header::before, header::after {
  362. display: block;
  363. content: " ";
  364. position: absolute;
  365. z-index: 3;
  366. top: 9px;
  367. left: 0;
  368. width: 100%;
  369. height: 7px;
  370. }
  371. header::after {
  372. top: 306px;
  373. height: 4px;
  374. background: rgba(0, 39, 43, 0.075);
  375. }
  376. h1 {
  377. display: inline-block;
  378. position: relative;
  379. margin: 15px 0 0 0;
  380. padding: 60px 0 5px 0;
  381. }
  382. h1::before {
  383. display: inline-block;
  384. position: relative;
  385. top: 65px;
  386. content: "";
  387. width: 125px;
  388. height: 125px;
  389. margin: -65px 40px 0 0;
  390. background-size: 100%;
  391. opacity: 0.6;
  392. -webkit-animation: koan 36000s infinite alternate;
  393. -moz-animation: koan 36000s infinite alternate;
  394. animation: koan 36000s infinite alternate;
  395. }
  396. h2 {
  397. display: block;
  398. margin: 0;
  399. padding: 5px 0 60px 70px;
  400. }
  401. p {
  402. font-size: 1em;
  403. }
  404. /* main layout blocks */
  405. nav {
  406. display: inline;
  407. }
  408. .supporting {
  409. display: inline;
  410. }
  411. .summary, .preamble, .supporting {
  412. float: left;
  413. clear: left;
  414. width: 66%;
  415. padding: 1em 5% 1em 10%;
  416. }
  417. .explanation h3, .explanation p, .participation h3, .participation p, .benefits h3, .benefits p {
  418. width: 100%;
  419. }
  420. .summary {
  421. padding-top: 3.25em;
  422. }
  423. /* coloured cutoff */
  424. div.participation, div.benefits {
  425. width: 100%;
  426. padding-left: 10%;
  427. padding-right: 38%;
  428. margin: 0;
  429. }
  430. /* extra padding at the cutoffs */
  431. div.participation {
  432. padding-top: 4em;
  433. }
  434. div.explanation, div.benefits {
  435. padding-bottom: 4em;
  436. }
  437. .intro h3, .supporting h3 {
  438. margin-top: 0;
  439. }
  440. .intro p:last-child, .supporting p:last-child {
  441. margin-bottom: 0;
  442. }
  443. .design-selection {
  444. position: absolute;
  445. top: 360px;
  446. right: 0;
  447. width: 33.3%;
  448. padding: 0 0 20px 0;
  449. margin: 0;
  450. overflow: visible;
  451. background: transparent;
  452. }
  453. .sidebar li {
  454. float: none;
  455. width: auto;
  456. padding-left: 0;
  457. padding-right: 0;
  458. margin: 0 29.4% 0 14.7%;
  459. }
  460. /* select a design */
  461. .design-selection li:first-child {
  462. border-top: 0;
  463. }
  464. .design-selection li:hover, .design-selection li:focus {
  465. background: none;
  466. }
  467. .video {
  468. padding-right: 1000px;
  469. }
  470. .subtitle-bar {
  471. top: 220px;
  472. height: 90px;
  473. font-size: 1.5em;
  474. }
  475. .gallery {
  476. width: 100%;
  477. float: left;
  478. clear: left;
  479. padding: 1em 5% 1em 10%;
  480. }
  481. }
  482. @media only screen and (min-width: 2400px) { /* you're kidding, right? */
  483. }
  484. /* high-DPI adjustments */
  485. @media ( min--moz-device-pixel-ratio : 1.5) , ( -o-min-device-pixel-ratio : 3 / 2) , ( -webkit-min-device-pixel-ratio : 1.5) , (
  486. min-device-pixel-ratio : 1.5) , ( min-resolution : 1.5dppx) {
  487. }