RyanEarnshaw

Untitled

Feb 28th, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.62 KB | None | 0 0
  1. @import url('https://fonts.googleapis.com/css?family=Raleway:100,200,300,400');
  2. /*
  3. animation-name: stretch;
  4. animation-duration: 1.5s;
  5. animation-timing-function: ease-out;
  6. animation-delay: 0;
  7. animation-direction: alternate;
  8. animation-iteration-count: infinite;
  9. animation-fill-mode: none;
  10. animation-play-state: running;
  11.  
  12. animation: name, duration, timing-function, delay, iteration-count, direction, fill-mode, play-state;
  13. animation: name duration delay interations direction fillmode;
  14. */
  15. * {
  16. margin:0;
  17. padding:0;
  18. }
  19.  
  20.  
  21. .navigation a { float: none; margin: 52px 20px 0 20px; width: 200px; vertical-align: top; }
  22. .header .navigation .line { float: none; margin: 60px 0px 0px 0px; height: 60px; }
  23. .navigation a:nth-child(1) h1 { color: #8ec640; font-weight: bold; }
  24. .navigation a:nth-child(3) h1 { color: #8ec640; font-weight: bold; }
  25. .navigation a:nth-child(5) h1 { color: #8ec640; font-weight: bold; }
  26. .navigation a h2 { color: #8b8b8b; font-weight: 100; font-family: sans-serif; font-size: 12px; margin-top: 10px;}
  27. .navigation .navigation-two a h1 { color: rgba(108,108,108,1); font-weight: bold; font-size: 14px; }
  28. .navigation .navigation-two a { margin: 77px 10px 0 0px; width: auto; transition: margin 0.5s 0.1s ease; }
  29. .navigation .navigation-two a.toggled { margin: 110px 10px 0 0px; transition: margin 0.5s ease; }
  30. .navigation-two {
  31. position: absolute;
  32. display: inline-block;
  33. top: -50px;
  34. right: 0;
  35. }
  36. .navigation { text-align: center; }
  37.  
  38. .backgroundimage {
  39. position: relative;
  40. display: inline-block;
  41. width: 100%;
  42. height: 90vh;
  43. margin-top: 10vh;
  44. text-align: center;
  45. overflow: hidden;
  46. z-index: 1;
  47. }
  48. .backgroundimage img {
  49. position: absolute;
  50. bottom: 0;
  51. left: 0;
  52. float: none;
  53. min-width: 100%;
  54. min-height: 100%;
  55. }
  56.  
  57. .insidecontainer {
  58. position: absolute;
  59. display: inline-block;
  60. bottom: 0;
  61. left: 0;
  62. width: 100%;
  63. }
  64.  
  65. .insidecontainer .topcontainer {
  66. position: relative;
  67. display: inline-block;
  68. background-color: #ffffff;
  69. z-index: 10;
  70. width: 60%;
  71. margin: 0 auto;
  72. vertical-align: bottom;
  73. }
  74. .insidecontainer .topcontainer .left {
  75. position: relative;
  76. display: inline-block;
  77. float: left;
  78. width: 50%;
  79. height: 100%;
  80. padding: 5% 5%;
  81. box-sizing: border-box;
  82. text-align: left;
  83. }
  84. .topcontainer .left h1 {
  85. display: inline-block;
  86. color: rgba(0,0,0,0.8);
  87. line-height: 26px;
  88. font-size: 18px;
  89. font-weight: bold;
  90. font-family: sans-serif;
  91. }
  92. .topcontainer .left h2 {
  93. display: inline-block;
  94. color: rgba(0,0,0,0.8);
  95. line-height: 20px;
  96. margin: 20px 0;
  97. font-size: 12px;
  98. font-weight: 100;
  99. font-family: sans-serif;
  100. }
  101. .topcontainer .left .findoutmorebutton {
  102. position: relative;
  103. display: inline-block;
  104. text-decoration: none;
  105. }
  106. .topcontainer .left h3 {
  107. display: inline-block;
  108. color: #ffffff;
  109. font-size: 16px;
  110. font-family: sans-serif;
  111. font-weight: 600;
  112. background-color: #8ec640;
  113. padding: 12px 18px;
  114. margin-top: 15px;
  115. }
  116. .topcontainer .left .findoutmorebutton span{
  117. position: absolute;
  118. display: inline-block;
  119. color: #ffffff;
  120. font-size: 16px;
  121. font-family: sans-serif;
  122. font-weight: 600;
  123. background-color: #8ec640;
  124. padding: 12px 18px 12px 0px;
  125. margin-top: 15px;
  126. right: -25px;
  127. top: 0;
  128. transition: padding 0.5s ease;
  129. }
  130. .topcontainer .left .findoutmorebutton:hover span {
  131. padding: 12px 10px 12px 8px;
  132. }
  133. .topcontainer .middle {
  134. display: inline-block;
  135. position: absolute;
  136. width: 1px;
  137. height: 70%;
  138. top: 15%;
  139. bottom: 0;
  140. left: 50%;
  141. right: 0;
  142. background-color: rgba(0,0,0,0.2);
  143. }
  144.  
  145. .insidecontainer .topcontainer .right {
  146. position: relative;
  147. display: inline-block;
  148. float: left;
  149. width: 50%;
  150. height: 100%;
  151. padding: 5% 5%;
  152. box-sizing: border-box;
  153. text-align: center;
  154. }
  155. .topcontainer .right h1 {
  156. display: inline-block;
  157. color: rgba(0,0,0,0.6);
  158. font-size: 22px;
  159. margin-bottom: 10px;
  160. font-weight: 200;
  161. font-family: sans-serif;
  162. }
  163. .topcontainer .right h2 {
  164. display: inline-block;
  165. color: rgba(0,0,0,0.4);
  166. font-size: 14px;
  167. font-weight: 100;
  168. font-family: sans-serif;
  169. }
  170. .topcontainer .right .leftbuttonarrowcontainer,
  171. .topcontainer .right .rightbuttonarrowcontainer {
  172. position: relative;
  173. display: inline-block;
  174. width: 10%;
  175. height: 100%;
  176. float: left;
  177. }
  178. .topcontainer .right .leftbuttonarrow,
  179. .topcontainer .right .rightbuttonarrow {
  180. position: absolute;
  181. top: 50%;
  182. left: 50%;
  183. transform: translate(-50%, -50%);
  184. width: 100%;
  185. z-index: 5;
  186. }
  187. .topcontainer .right .leftbuttonarrow img,
  188. .topcontainer .right .rightbuttonarrow img{
  189. width: 100%;
  190. }
  191. .topcontainer .right .carouselcontainer {
  192. position: relative;
  193. display: inline-block;
  194. width: 100%;
  195. height: 150px;
  196. margin: 10% auto;
  197. }
  198. .quotecontainer {
  199. position: relative;
  200. display: inline-block;
  201. width: 80%;
  202. height: 100%;
  203. float: left;
  204. overflow: hidden;
  205. }
  206. .quotecontainer .quote {
  207. display: inline-block;
  208. position: absolute;
  209. height: 100%;
  210. width: 100%;
  211. left: 0;
  212. top: 0;
  213. font-size: 18px;
  214. line-height: 25px;
  215. color: rgba(0,0,0,0.4);
  216. }
  217. .quotecontainer .quote img {
  218. position: absolute;
  219. display: inline-block;
  220. bottom: 0;
  221. left: 50%;
  222. transform: translateX(-50%);
  223. max-width: 200px;
  224. max-height: 130px;
  225. min-width: auto;
  226. min-height: auto;
  227. }
  228.  
  229.  
  230.  
  231. .timelinecontainer {
  232. position: relative;
  233. display: inline-block;
  234. vertical-align: bottom;
  235. background-color: #8ec640;
  236. z-index: 10;
  237. width: 100%;
  238. margin: 0 auto;
  239. text-align: center;
  240. }
  241. .timelinecontainer .title {
  242. position: relative;
  243. display:table;
  244. width: 100%;
  245. margin: auto;
  246. text-align: center;
  247. }
  248. .timelinecontainer .title h1 {
  249. position: relative;
  250. display:inline-block;
  251. font-family: sans-serif;
  252. font-size: 25px;
  253. font-weight: bolf;
  254. color: #ffffff;
  255. margin: auto;
  256. vertical-align: middle;
  257. width: 100%;
  258. }
  259. .timelinecontainer .title h2 {
  260. position: relative;
  261. display:inline-block;
  262. font-family: sans-serif;
  263. font-size: 15px;
  264. font-weight: 100;
  265. color: #ffffff;
  266. margin: auto;
  267. margin-bottom: 10px;
  268. vertical-align: middle;
  269. width: 100%;
  270. }
  271. .timelinecontainer .date {
  272. position: relative;
  273. display: inline-block;
  274. font-size: 1.5vh;
  275. font-weight: 100;
  276. font-family: sans-serif;
  277. color: #ffffff;
  278. background-color: #7aac34;
  279. text-align: center;
  280. width: 7%;
  281. padding-top: 10px;
  282. padding-bottom: 10px;
  283. transition: all 0.1s ease;
  284. cursor: default;
  285. }
  286. .timelinecontainer .date.selected {
  287. background-color: #ffffff;
  288. color: #7aac34;
  289. padding-bottom: 30px;
  290. transition: all 0.5s ease;
  291. }
  292.  
  293. .timelineyear-holder {
  294. position: relative;
  295. display: none;
  296. width: 80%;
  297. height: 0px;
  298. transition: height 1s ease;
  299. margin: 0 10% 0px 10%;
  300. background-color: #ffffff;
  301. text-align: center;
  302. z-index: 11;
  303. }
  304. .timelineyear-holder.open {
  305. display: inline-block;
  306. height: auto;
  307. }
  308. .timelineyear {
  309. position: relative;
  310. float: left;
  311. width: 100%;
  312. padding: 50px 10px;
  313. font-family: sans-serif;
  314. font-weight: 100;
  315. font-size: 14px;
  316. color: rgba(0,0,0,0.4);
  317. background-color: transparent;
  318. opacity: 1;
  319. transition: opacity 0.5s ease 1s;
  320. overflow: hidden;
  321. text-align: center;
  322. box-sizing: border-box;
  323. }
  324. .timelineyear.hidden {
  325. transition: opacity 0.5s ease 0s, left 1s ease 0.5s;
  326. opacity: 0;
  327. margin-left: -9999vw;
  328. }
  329. .timelineyear .closebutton {
  330. position: absolute;
  331. display: inline-block;
  332. top: 5px;
  333. right: 10px;
  334. font-size: 25px;
  335. font-family: sans-serif;
  336. font-weight: 100;
  337. color: #8ec640;
  338. cursor: default;
  339. }
  340. .timelineyear .timelineevent {
  341. position: relative;
  342. display: inline-block;
  343. width: 250px;
  344. height: 250px;
  345. margin: 0 10px;
  346. border: 1px solid #8ec640;
  347. vertical-align: top;
  348. }
  349. .timelineyear .timelineevent img {
  350. margin-top: 10px;
  351. max-width: 90%;
  352. max-height: 50%;
  353. }
  354. .timelineyear .timelineevent h1 {
  355. margin-bottom: 10px;
  356. margin-top: 10px;
  357. margin-left: 5%;
  358. padding-top: 10px;
  359. width: 90%;
  360. font-weight: 100;
  361. font-family: sans-serif;
  362. font-size: 18px;
  363. color: #8ec640;
  364. border-top: 1px solid #8ec640;
  365. }
  366.  
  367.  
  368.  
  369.  
  370. /* MEDIA QUERIES */
  371.  
  372.  
  373.  
  374. /* ----------------------------------------------------*/
  375. /* Code That Doesnt Change Between Mobile Resolution */
  376. /* ----------------------------------------------------*/
  377. @media only screen and (min-width : 0px) and (max-width : 992px) {
  378. .backgroundimage { margin-top: 0; }
  379. .insidecontainer .topcontainer { width: 100%; }
  380. }
  381.  
  382.  
  383. /* ----------------------------------------------------*/
  384. /* Custom, iPhone Retina */
  385. /* ----------------------------------------------------*/
  386. @media only screen and (max-width : 320px) {
  387.  
  388. .timelineyear .timelineevent {
  389. height: auto;
  390. width: 90%;
  391. box-sizing: border-box;
  392. margin: 5% 10px;
  393. }
  394. .insidecontainer .topcontainer .left { width: 100%; text-align: center; border-bottom: 1px solid #d3d3d3;}
  395. .insidecontainer .topcontainer .middle { display: none; }
  396. .insidecontainer .topcontainer .right { width: 100% }
  397. .timelinecontainer .date {
  398. width: 25%;
  399. padding-top: 10px;
  400. padding-bottom: 10px;
  401. }
  402. }
  403.  
  404.  
  405. /* ----------------------------------------------------*/
  406. /* Extra Small Devices, Phones */
  407. /* ----------------------------------------------------*/
  408. @media only screen and (min-width : 320px) and (max-width : 480px) {
  409.  
  410. .timelineyear .timelineevent {
  411. height: auto;
  412. width: 90%;
  413. box-sizing: border-box;
  414. margin: 5% 10px;
  415. }
  416. .insidecontainer .topcontainer .left { width: 100%; text-align: center; border-bottom: 1px solid #d3d3d3;}
  417. .insidecontainer .topcontainer .middle { display: none; }
  418. .insidecontainer .topcontainer .right { width: 100% }
  419. .timelinecontainer .date {
  420. width: 25%;
  421. padding-top: 10px;
  422. padding-bottom: 10px;
  423. }
  424. }
  425.  
  426.  
  427. /* ----------------------------------------------------*/
  428. /* Small Devices, Tablets */
  429. /* ----------------------------------------------------*/
  430. @media only screen and (min-width : 480px) and (max-width : 768px) {
  431. .timelineyear .timelineevent {
  432. height: auto;
  433. width: 90%;
  434. box-sizing: border-box;
  435. margin: 5% 10px;
  436. }
  437. .insidecontainer .topcontainer .left { width: 100%; text-align: center; border-bottom: 1px solid #d3d3d3;}
  438. .insidecontainer .topcontainer .middle { display: none; }
  439. .insidecontainer .topcontainer .right { width: 100% }
  440. .timelinecontainer .date {
  441. width: 9%;
  442. padding-top: 10px;
  443. padding-bottom: 10px;
  444. }
  445. }
  446.  
  447.  
  448. /* ----------------------------------------------------*/
  449. /* Medium Devices, Desktops */
  450. /* ----------------------------------------------------*/
  451. @media only screen and (min-width : 768px) and (max-width : 992px) {
  452. .timelineyear .timelineevent {
  453. margin-bottom: 10px;
  454. }
  455. }
  456.  
  457.  
  458. /* ----------------------------------------------------*/
  459. /* Large Devices, Wide Screens */
  460. /* ----------------------------------------------------*/
  461. @media only screen and (min-width : 992px) and (max-width : 1200px) {
  462. .timelineyear .timelineevent {
  463. margin-bottom: 10px;
  464. }
  465. }
  466.  
  467. /* ----------------------------------------------------*/
  468. /* SPECIAL DESKTOPS */
  469. /* ----------------------------------------------------*/
  470. @media only screen and (min-width : 1200px) and (max-width : 1350px) {
  471. .timelineyear .timelineevent {
  472. margin-bottom: 10px;
  473. }
  474. }
  475. /* ----------------------------------------------------*/
  476. /* SPECIAL DESKTOPS */
  477. /* ----------------------------------------------------*/
  478. @media only screen and (min-width : 1350px) and (max-width : 1515px) {
  479. .timelineyear .timelineevent {
  480. width: 180px;
  481. height: 240px;
  482. }
  483. }
  484. /* ----------------------------------------------------*/
  485. /* SPECIAL DESKTOPS */
  486. /* ----------------------------------------------------*/
  487. @media only screen and (min-width : 1515px) and (max-width : 1770px) {
  488. .timelineyear .timelineevent {
  489. width: 210px;
  490. height: 240px;
  491. }
  492. }
  493.  
  494.  
  495.  
  496.  
  497.  
  498.  
  499.  
  500. /* ----------------------------------------------------*/
  501. /* PHONE HEIGHT */
  502. /* ----------------------------------------------------*/
  503. @media only screen and (min-height : 0px) and (max-height : 400px) { .backgroundimage { height: 240vh; } }
  504. @media only screen and (min-height : 400px) and (max-height : 450px) { .backgroundimage { height: 210vh; } }
  505. @media only screen and (min-height : 450px) and (max-height : 500px) { .backgroundimage { height: 190vh; } }
  506. @media only screen and (min-height : 500px) and (max-height : 600px) { .backgroundimage { height: 170vh; } }
  507. @media only screen and (min-height : 600px) and (max-height : 700px) { .backgroundimage { height: 150vh; } }
Advertisement
Add Comment
Please, Sign In to add comment