RyanEarnshaw

Untitled

Apr 19th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.70 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. .header {
  21. top: 40px;
  22. height: 100px;
  23. }
  24. .header .logocontainer img {
  25. width: 110px;
  26. }
  27. .header .navigation {
  28. width: 85%;
  29. }
  30. .navigation-three { display: none; }
  31. .navigation a { height: auto; float: none; margin: 0px 20px; width: 200px; vertical-align: top;}
  32. .header .navigation .line { float: none;margin: 10px 0px 0px 0px;height: 60px;background-color: #b8b8b8;}
  33. .navigation h1 { color: #8ec640; font-weight: bold; }
  34. .navigation a h2 { color: #8b8b8b; font-weight: 100; font-family: sans-serif; font-size: 11px; margin-top: 10px; line-height: 16px; }
  35. .navigation-two {
  36. position: absolute;
  37. display: inline-block;
  38. top: -50px;
  39. right: 0;
  40. }
  41. .navigation { text-align: center; padding: 10px 0 16px; height: auto; }
  42. .navigation a:nth-child(5) h1 { color: #8ec640; font-weight: bold; }
  43. .navigation a:nth-child(7) h1 { color: #8ec640; font-weight: bold; }
  44. .navigation a:nth-child(5) h1:hover { color: #8ec640; }
  45. .navigation a:nth-child(7) h1:hover { color: #8ec640; }
  46.  
  47. .navigation .mainbutton1 h1,
  48. .navigation .mainbutton2 h1,
  49. .navigation .mainbutton3 h1,
  50. .navigation .mainbutton4 h1,
  51. .navigation .mainbutton1 h2,
  52. .navigation .mainbutton2 h2,
  53. .navigation .mainbutton3 h2 ,
  54. .navigation .mainbutton4 h2 {
  55. transition: color 0.5s ease;
  56. }
  57. .navigation .mainbutton1:hover h1,
  58. .navigation .mainbutton2:hover h1,
  59. .navigation .mainbutton3:hover h1,
  60. .navigation .mainbutton4:hover h1 {
  61. color: #767676;
  62. }
  63. .navigation .mainbutton1:hover h2,
  64. .navigation .mainbutton2:hover h2,
  65. .navigation .mainbutton3:hover h2,
  66. .navigation .mainbutton4:hover h2 {
  67. color: #8ec640;
  68. }
  69. .submenu {
  70. top: -140px;
  71. transition: top 0.7s ease, left 100ms 1s ease;
  72. }
  73. .submenu.visible {
  74. top: 100px;
  75. transition: top 1s ease;
  76. }
  77. /* IT solutions */
  78. .submenu-two {
  79. top: -300px;
  80. }
  81. /* about us */
  82. .submenu-four {
  83. top: -260px;
  84. }
  85. /* contact us */
  86. .submenu-five {
  87. top: -400px;
  88. }
  89.  
  90. .firstheader {
  91. position: fixed;
  92. display: inline-block;
  93. width: 100%;
  94. height: 40px;
  95. background-color: #b0b0b0;
  96. z-index: 102;
  97. }
  98. .firstheader .innerbox {
  99. position: relative;
  100. display: inline-block;
  101. height: 40px;
  102. float: right;
  103. }
  104. .firstheader a {
  105. position: relative;
  106. display: inline-block;
  107. width: 80px;
  108. text-align: center;
  109. text-decoration: none;
  110. float: left;
  111. margin: 10px 0;
  112. transition: margin 0.5s ease;
  113. }
  114. .firstheader a h1 {
  115. color: #ffffff;
  116. font-weight: bold;
  117. font-size: 14px;
  118. }
  119. .firstheader a.searchbar_toggled {
  120. margin-right: 230px;
  121. }
  122.  
  123. .firstheader .searchbar-container {
  124. position: relative;
  125. display: inline-block;
  126. width: 32px;
  127. height: 32px;
  128. background-color: transparent;
  129. box-sizing: border-box;
  130. float: left;
  131. margin: 4px 10px;
  132. }
  133. .firstheader .searchbar {
  134. position: absolute;
  135. display: inline-block;
  136. width: 32px;
  137. height: 32px;
  138. background-color: transparent;
  139. border: 2px solid #ffffff;
  140. box-sizing: border-box;
  141. right: 0;
  142. top: 0;
  143. transition: width 0.5s ease;
  144. }
  145. .firstheader .searchbar.toggled {
  146. width: 260px;
  147. }
  148. .firstheader .searchbar img {
  149. position: absolute;
  150. width: 20px;
  151. height: 20px;
  152. top: 5px;
  153. right: 5px;
  154. }
  155. .firstheader .searchbar input {
  156. position: absolute;
  157. top: 50%;
  158. left: 10px;
  159. width: 0;
  160. font-size: 12px;
  161. font-family: sans-serif;
  162. color: #ffffff;
  163. transform: translateY(-50%);
  164. border: 0;
  165. background-color: transparent;
  166. transition: width 0.5s ease;
  167. }
  168. .firstheader .searchbar.toggled input {
  169. width: 220px; /* width of search bar extended minus left minus search image*/
  170. }
  171. .firstheader .searchbar input:focus,
  172. .firstheader .searchbar input:valid {
  173. box-shadow: none;
  174. outline: none;
  175. background-position: 0 0;
  176. }
  177.  
  178.  
  179.  
  180. .firstheader .shopbutton {
  181. position: relative;
  182. display: inline-block;
  183. height: 40px;
  184. background-color: #f47d31;
  185. float: left;
  186. margin: 0;
  187. cursor: default;
  188. }
  189. .firstheader .shopbutton .basket {
  190. width: 20px;
  191. height: 20px;
  192. margin: 8px 5px;
  193. margin-left: 20px;
  194. float: left;
  195. }
  196. .firstheader .shopbutton .arrow {
  197. width: 10px;
  198. height: 10px;
  199. margin: 14px 50px 0px 0px;
  200. float: left;
  201. }
  202. .firstheader .shopbutton h1 {
  203. font-size: 12px;
  204. font-weight: bold;
  205. font-family: sans-serif;
  206. color: #ffffff;
  207. float: left;
  208. width: auto;
  209. margin: 12px 10px 5px 0;
  210. }
  211. .firstheader .shopbutton:hover .dropdown {
  212. max-height: 300%;
  213. border: 1px solid #f47d31;
  214. transition: max-height 0.5s ease-in-out, border 0s 0s ease;
  215. }
  216. .firstheader .shopbutton .dropdown {
  217. position: absolute;
  218. display: inline-block;
  219. top: 100%;
  220. left: 0;
  221. width: 100%;
  222. z-index: 15;
  223. overflow: hidden;
  224. max-height: 0%;
  225. border: 0px solid #f47d31;
  226. transition: max-height 0.5s ease-in-out, border 0s 0.5s ease;
  227. box-sizing: border-box;
  228. }
  229. .firstheader .shopbutton .dropdown .option {
  230. position: relative;
  231. display: inline-block;
  232. /* height: 30px; */
  233. width: 100%;
  234. background-color: #ffffff;
  235. float: left;
  236. box-sizing: border-box;
  237. }
  238. .firstheader .shopbutton .dropdown .option a {
  239. display: inline-block;
  240. height: auto;
  241. width: 100%;
  242. }
  243. .firstheader .shopbutton .dropdown .option:hover h1 {
  244. color: #8ec640;
  245. margin:0px 5px 0 15px;
  246. }
  247. .firstheader .shopbutton .dropdown .option h1 {
  248. font-size: 11px;
  249. font-weight: bold;
  250. font-family: sans-serif;
  251. color: #000000;
  252. float: left;
  253. width: auto;
  254. margin:0px 5px 0 10px;
  255. transition: color 0.2s ease, margin 0.3s ease;
  256. }
  257. .firstheader .shopbutton .dropdown .option h2 {
  258. position: absolute;
  259. font-size: 14px;
  260. font-weight: bold;
  261. font-family: sans-serif;
  262. color: #000000;
  263. top: -4px;
  264. right: 5px;
  265. }
  266.  
  267.  
  268.  
  269. .background {
  270. position: relative;
  271. display: inline-block;
  272. width: 100%;
  273. height: 100vh;
  274. text-align: center;
  275. overflow: hidden;
  276. z-index: 1;
  277. background-color: #ffffff;
  278. }
  279. .backgroundimage {
  280. position: absolute;
  281. top: 50%;
  282. left: 50%;
  283. transform: translate(-50%, -50%);
  284. max-height: 100%;
  285. }
  286. .background .down-arrow {
  287. position: absolute;
  288. bottom: 50px;
  289. height: 50px;
  290. width: 50px;
  291. left: 50%;
  292. transform: translateX(-50%);
  293. cursor: pointer;
  294. }
  295. .background .fter {
  296. position: absolute;
  297. display: inline-block;
  298. height: 36px;
  299. width: 100%;
  300. bottom: 0px;
  301. left: 0px;
  302. background-color: #b0b0b0;
  303. text-align: center;
  304. transform: translateY(0px);
  305. transition: transform 0.4s ease;
  306. }
  307. .background .fter.hide {
  308. transform: translateY(40px);
  309. }
  310. .background .fter .socialcontainer {
  311. margin-top: 4px;
  312. position: relative;
  313. display: inline-block;
  314. width: 160px;
  315. }
  316. .background .fter .socialcontainer .button.b1,
  317. .background .fter .socialcontainer .button.b2,
  318. .background .fter .socialcontainer .button.b3 { border-right: 2px solid transparent; }
  319.  
  320.  
  321.  
  322.  
  323. .timelinecontainer {
  324. position: relative;
  325. display: inline-block;
  326. width: 100%;
  327. background-color: #ffffff;
  328. text-align: center;
  329. }
  330. .timelinecontainer .title h1 {
  331. position: relative;
  332. display: inline-block;
  333. font-family: 'Raleway';
  334. font-size: 40px;
  335. font-weight: 300;
  336. background-color: #ffffff;
  337. color: #b0b0b0;
  338. margin: 20px auto;
  339. width: 100%;
  340. text-align: center;
  341. }
  342. .timelinecontainer .slider {
  343. position: relative;
  344. display: inline-block;
  345. width: 100%;
  346. height: 168px;
  347. background-color: #595959;
  348. background-color: #b0b0b0;
  349. cursor: move;
  350. cursor: -webkit-grab;
  351. }
  352. .timelinecontainer .slider:before {
  353. content: '';
  354. position: absolute;
  355. display: inline-block;
  356. width: 30px;
  357. height: 30px;
  358. top: -15px;
  359. left: 50%;
  360. background-color: #ffffff;
  361. transform: translateX(-50%) rotateZ(45deg);
  362. }
  363. .timelinecontainer .slider:after {
  364. content: '';
  365. position: absolute;
  366. display: inline-block;
  367. width: 24px;
  368. height: 24px;
  369. bottom: -10px;
  370. left: 50%;
  371. background-color: #b0b0b0;
  372. transform: translateX(-50%) rotateZ(45deg);
  373. }
  374. .timelinecontainer .slider .leftgradient {
  375. position: absolute;
  376. display: inline-block;
  377. top: 0;
  378. left: 0;
  379. width: 30%;
  380. max-width: 324px;
  381. height: 100%;
  382. z-index: 2;
  383. background-image: url(../images/index/gradient.png);
  384. }
  385. .timelinecontainer .slider .rightgradient {
  386. position: absolute;
  387. display: inline-block;
  388. top: 0;
  389. right: 0;
  390. width: 30%;
  391. max-width: 324px;
  392. height: 100%;
  393. z-index: 2;
  394. transform: rotateZ(180deg);
  395. background-image: url(../images/index/gradient.png);
  396. }
  397.  
  398. .timelinecontainer .slider .slider_inner {
  399. position: relative;
  400. overflow: hidden;
  401. width: 90%;
  402. margin: 0 auto;
  403. text-align: center;
  404. height: 100%;
  405. }
  406. .timelinecontainer .slider .slider_inner:after {
  407. content: '';
  408. position: absolute;
  409. display: block;
  410. border-bottom: 3px dotted #ffffff;
  411. height: 10px;
  412. width: 100%;
  413. left: 0;
  414. bottom: 40px;
  415. }
  416. .timelinecontainer .slider .slider_inner .dates {
  417. position: absolute;
  418. background-color: #b0b0b0;
  419. width: 3000px;
  420. padding-left: 50.5%;
  421. margin-left: -85px;
  422. top: 50px;
  423. }
  424. .timelinecontainer .slider .slider_inner .date {
  425. position: relative;
  426. display: inline;
  427. float: left;
  428. font-size: 30px;
  429. font-weight: bold;
  430. font-family: 'Work Sans';
  431. margin: 10px 0px;
  432. width: 150px;
  433. color: #d8d8d8;
  434. transition: font-size 0.4s ease 0s,
  435. margin 0.4s ease 0s;
  436. margin-top: 20px;
  437. -webkit-touch-callout: none; /* iOS Safari */
  438. -webkit-user-select: none; /* Safari */
  439. -khtml-user-select: none; /* Konqueror HTML */
  440. -moz-user-select: none; /* Firefox */
  441. -ms-user-select: none; /* Internet Explorer/Edge */
  442. user-select: none; /* Non-prefixed version, currently
  443. supported by Chrome and Opera */
  444. cursor: pointer;
  445. }
  446. .timelinecontainer .slider .date:after {
  447. content: '';
  448. position: absolute;
  449. display: block;
  450. width: 18px;
  451. height: 18px;
  452. border-radius: 100%;
  453. background-color: #ffffff;
  454. left: 50%;
  455. bottom: -30px;
  456. transform: translateX(-50%);
  457. transition: bottom 0.4s ease 0.5s;
  458. }
  459. .timelinecontainer .slider .date.selected {
  460. transition: font-size 0.4s ease 0.5s,
  461. margin 0.4s ease 0.5s;
  462. font-size: 50px;
  463. margin-top: 0px;
  464. color: #ffffff;
  465. }
  466. .timelinecontainer .slider .date.selected:after {
  467. bottom: -27px;
  468. }
  469.  
  470.  
  471. .timelinecontainer .year-content {
  472. position: relative;
  473. display: inline-block;
  474. width: 100%;
  475. height: 350px;
  476. /* background-color: #ffffff; */
  477. margin: 30px 0;
  478. overflow: hidden;
  479. }
  480. .timelinecontainer .year-content .leftarrow {
  481. position: relative;
  482. display: inline-block;
  483. float: left;
  484. width: 10%;
  485. max-width: 60px;
  486. height: 100%;
  487. z-index: 2;
  488. transition: scale 0.3s ease;
  489. }
  490. .timelinecontainer .year-content .rightarrow {
  491. position: relative;
  492. display: inline-block;
  493. float: right;
  494. width: 10%;
  495. max-width: 50px;
  496. height: 100%;
  497. z-index: 2;
  498. transition: scale 0.3s ease;
  499. }
  500. .timelinecontainer .year-content .leftarrow:hover,
  501. .timelinecontainer .year-content .rightarrow:hover {
  502. transform: scale(1.2);
  503. }
  504. .timelinecontainer .year-content .leftarrow img,
  505. .timelinecontainer .year-content .rightarrow img {
  506. position: absolute;
  507. display: inline-block;
  508. top: 50%;
  509. width: 80%;
  510. left: 10%;
  511. transform: translateY(-50%);
  512. }
  513. .timelinecontainer .year-content .year-content-inner {
  514. position: absolute;
  515. display: inline-block;
  516. width: 3000vw;
  517. height: 300px;
  518. top: 0;
  519. left: 0;
  520. }
  521. .timelinecontainer .year-content .yearData {
  522. position: relative;
  523. display: inline-block;
  524. width: 100vw;
  525. height: 350px;
  526. float: left;
  527. text-align: center;
  528. }
  529. .timelinecontainer .year-content .yearData .centerallign {
  530. position: relative;
  531. display: inline-block;
  532. text-align: center;
  533. }
  534.  
  535. .timelinecontainer .year-content .yearData .centerallign .event {
  536. position: relative;
  537. display: inline-block;
  538. width: 240px;
  539. height: 290px;
  540. padding: 20px 10px 0px 10px;
  541. float: left;
  542. box-sizing: border-box;
  543. border-left: 1px solid #cacaca;
  544. border-right: 1px solid #cacaca;
  545. }
  546. .timelinecontainer .year-content .yearData .centerallign .event img {
  547. position: relative;
  548. display: inline-block;
  549. max-width: 100%;
  550. max-height: 200px;
  551. }
  552. .timelinecontainer .year-content .yearData .centerallign .event h1 {
  553. position: relative;
  554. display: inline-block;
  555. width: 100%;
  556. text-align: center;
  557. font-size: 17px;
  558. font-family: 'Work Sans';
  559. font-weight: 400;
  560. height: 100px;
  561. color: #555555;
  562. margin-top: 10px;
  563. }
  564. /* MEDIA QUERIES */
  565.  
  566.  
  567.  
  568. /* ----------------------------------------------------*/
  569. /* Code That Doesnt Change Between Mobile Resolution */
  570. /* ----------------------------------------------------*/
  571. @media only screen and (min-width : 0px) and (max-width : 992px) {
  572. .firstheader { display: none; }
  573. .header { top: 0; }
  574. .header .logocontainer img {
  575. position: absolute;
  576. top: 50%;
  577. transform: translateY(-50%);
  578. left: 20px;
  579. margin: 0;
  580. }
  581. .timelinecontainer .slider .leftgradient {
  582. display: none;
  583. /*background-image: url(../images/index/gradient-mobile.png);*/
  584. }
  585. .timelinecontainer .slider .rightgradient {
  586. display: none;
  587. /*background-image: url(../images/index/gradient-mobile.png);*/
  588. }
  589. .backgroundimage {
  590. max-height: 100%;
  591. max-width: 200%;
  592. }
  593. .bodycontainer {
  594. margin-top: 0px;
  595. }
  596. }
  597.  
  598.  
  599. /* ----------------------------------------------------*/
  600. /* Custom, iPhone Retina */
  601. /* ----------------------------------------------------*/
  602. @media only screen and (max-width : 320px) {
  603.  
  604. }
  605.  
  606.  
  607. /* ----------------------------------------------------*/
  608. /* Extra Small Devices, Phones */
  609. /* ----------------------------------------------------*/
  610. @media only screen and (min-width : 320px) and (max-width : 480px) {
  611. .timelinecontainer .year-content .yearData .centerallign .event {
  612. width: 240px;
  613. height: 290px;
  614. float: none;
  615. margin-bottom: 30px;
  616. margin-right: -5px;
  617. vertical-align: top;
  618. }
  619. .timelinecontainer .year-content {
  620. height: 1600px;
  621. }
  622.  
  623. }
  624.  
  625.  
  626. /* ----------------------------------------------------*/
  627. /* Small Devices, Tablets */
  628. /* ----------------------------------------------------*/
  629. @media only screen and (min-width : 480px) and (max-width : 768px) {
  630. .timelinecontainer .year-content .yearData .centerallign .event {
  631. width: 240px;
  632. height: 290px;
  633. float: none;
  634. margin-right: -5px;
  635. vertical-align: top;
  636. }
  637. .timelinecontainer .year-content {
  638. height: 900px;
  639. }
  640. }
  641.  
  642.  
  643. /* ----------------------------------------------------*/
  644. /* Medium Devices, Desktops */
  645. /* ----------------------------------------------------*/
  646. @media only screen and (min-width : 768px) and (max-width : 992px) {
  647. .timelinecontainer .year-content .yearData .centerallign .event {
  648. width: 140px;
  649. height: 240px;
  650. }
  651. .timelinecontainer .year-content .yearData .centerallign .event h1 {
  652. font-size: 14px;
  653. }
  654. }
  655.  
  656.  
  657. /* ----------------------------------------------------*/
  658. /* Large Devices, Wide Screens */
  659. /* ----------------------------------------------------*/
  660. @media only screen and (min-width : 992px) and (max-width : 1200px) {
  661. .header .navigation a {
  662. height: auto;
  663. float: none;
  664. margin: 0px 10px;
  665. width: 180px;
  666. vertical-align: top;
  667. }
  668. .header .navigation {
  669. width: 85%;
  670. }
  671. }
Advertisement
Add Comment
Please, Sign In to add comment