RyanEarnshaw

Untitled

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