RyanEarnshaw

Untitled

Apr 13th, 2017
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.40 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 .text {
  295. position: absolute;
  296. display: inline-block;
  297. bottom: 10px;
  298. right: 30px;
  299. }
  300. .background .text h2 {
  301. position: relative;
  302. display: inline-block;
  303. font-family: arial;
  304. font-size: 30px;
  305. font-weight: bold;
  306. color: #656565;
  307. text-align: left;
  308. }
  309.  
  310. .insidecontainer {
  311. position: absolute;
  312. display: inline-block;
  313. bottom: 0;
  314. left: 0;
  315. width: 100%;
  316. }
  317.  
  318.  
  319.  
  320.  
  321.  
  322. .timelinecontainer {
  323. position: relative;
  324. display: inline-block;
  325. width: 100%;
  326. background-color: #ffffff;
  327. text-align: center;
  328. }
  329. .timelinecontainer .title h1 {
  330. position: relative;
  331. display: inline-block;
  332. font-family: 'Raleway';
  333. font-size: 40px;
  334. font-weight: 300;
  335. background-color: #ffffff;
  336. color: #b0b0b0;
  337. margin: 20px auto;
  338. width: 100%;
  339. text-align: center;
  340. }
  341. .timelinecontainer .slider {
  342. position: relative;
  343. display: inline-block;
  344. width: 100%;
  345. height: 168px;
  346. background-color: #595959;
  347. background-color: #b0b0b0;
  348. cursor: -webkit-grab;
  349. }
  350. .timelinecontainer .slider:before {
  351. content: '';
  352. position: absolute;
  353. display: inline-block;
  354. width: 30px;
  355. height: 30px;
  356. top: -15px;
  357. left: 50%;
  358. background-color: #ffffff;
  359. transform: translateX(-50%) rotateZ(45deg);
  360. }
  361. .timelinecontainer .slider:after {
  362. content: '';
  363. position: absolute;
  364. display: inline-block;
  365. width: 24px;
  366. height: 24px;
  367. bottom: -10px;
  368. left: 50%;
  369. background-color: #b0b0b0;
  370. transform: translateX(-50%) rotateZ(45deg);
  371. }
  372. .timelinecontainer .slider .leftgradient {
  373. position: absolute;
  374. display: inline-block;
  375. top: 0;
  376. left: 0;
  377. width: 30%;
  378. max-width: 324px;
  379. height: 100%;
  380. z-index: 2;
  381. background-image: url(../images/index/gradient.png);
  382. }
  383. .timelinecontainer .slider .rightgradient {
  384. position: absolute;
  385. display: inline-block;
  386. top: 0;
  387. right: 0;
  388. width: 30%;
  389. max-width: 324px;
  390. height: 100%;
  391. z-index: 2;
  392. transform: rotateZ(180deg);
  393. background-image: url(../images/index/gradient.png);
  394. }
  395.  
  396. .timelinecontainer .slider .slider_inner {
  397. position: relative;
  398. overflow: hidden;
  399. width: 90%;
  400. margin: 0 auto;
  401. text-align: center;
  402. height: 100%;
  403. }
  404. .timelinecontainer .slider .slider_inner:after {
  405. content: '';
  406. position: absolute;
  407. display: block;
  408. border-bottom: 3px dotted #ffffff;
  409. height: 10px;
  410. width: 100%;
  411. left: 0;
  412. bottom: 40px;
  413. }
  414. .timelinecontainer .slider .slider_inner .dates {
  415. position: absolute;
  416. background-color: #b0b0b0;
  417. width: 3000px;
  418. padding-left: 50.5%;
  419. margin-left: -85px;
  420. top: 50px;
  421. }
  422. .timelinecontainer .slider .slider_inner .date {
  423. position: relative;
  424. display: inline;
  425. float: left;
  426. font-size: 30px;
  427. font-weight: bold;
  428. font-family: 'Work Sans';
  429. margin: 10px 0px;
  430. width: 150px;
  431. color: #d8d8d8;
  432. transition: font-size 0.4s ease 0s,
  433. margin 0.4s ease 0s;
  434. margin-top: 20px;
  435. -webkit-touch-callout: none; /* iOS Safari */
  436. -webkit-user-select: none; /* Safari */
  437. -khtml-user-select: none; /* Konqueror HTML */
  438. -moz-user-select: none; /* Firefox */
  439. -ms-user-select: none; /* Internet Explorer/Edge */
  440. user-select: none; /* Non-prefixed version, currently
  441. supported by Chrome and Opera */
  442. cursor: pointer;
  443. }
  444. .timelinecontainer .slider .date:after {
  445. content: '';
  446. position: absolute;
  447. display: block;
  448. width: 18px;
  449. height: 18px;
  450. border-radius: 100%;
  451. background-color: #ffffff;
  452. left: 50%;
  453. bottom: -30px;
  454. transform: translateX(-50%);
  455. transition: bottom 0.4s ease 0.5s;
  456. }
  457. .timelinecontainer .slider .date.selected {
  458. transition: font-size 0.4s ease 0.5s,
  459. margin 0.4s ease 0.5s;
  460. font-size: 50px;
  461. margin-top: 0px;
  462. color: #ffffff;
  463. }
  464. .timelinecontainer .slider .date.selected:after {
  465. bottom: -27px;
  466. }
  467.  
  468.  
  469. .timelinecontainer .year-content {
  470. position: relative;
  471. display: inline-block;
  472. width: 100%;
  473. height: 350px;
  474. /* background-color: #ffffff; */
  475. margin: 30px 0;
  476. overflow: hidden;
  477. }
  478. .timelinecontainer .year-content .leftarrow {
  479. position: relative;
  480. display: inline-block;
  481. float: left;
  482. width: 10%;
  483. max-width: 60px;
  484. height: 100%;
  485. z-index: 2;
  486. transition: scale 0.3s ease;
  487. }
  488. .timelinecontainer .year-content .rightarrow {
  489. position: relative;
  490. display: inline-block;
  491. float: right;
  492. width: 10%;
  493. max-width: 50px;
  494. height: 100%;
  495. z-index: 2;
  496. transition: scale 0.3s ease;
  497. }
  498. .timelinecontainer .year-content .leftarrow:hover,
  499. .timelinecontainer .year-content .rightarrow:hover {
  500. transform: scale(1.2);
  501. }
  502. .timelinecontainer .year-content .leftarrow img,
  503. .timelinecontainer .year-content .rightarrow img {
  504. position: absolute;
  505. display: inline-block;
  506. top: 50%;
  507. width: 80%;
  508. left: 10%;
  509. transform: translateY(-50%);
  510. }
  511. .timelinecontainer .year-content .year-content-inner {
  512. position: absolute;
  513. display: inline-block;
  514. width: 3000vw;
  515. height: 300px;
  516. top: 0;
  517. left: 0;
  518. }
  519. .timelinecontainer .year-content .yearData {
  520. position: relative;
  521. display: inline-block;
  522. width: 100vw;
  523. height: 350px;
  524. float: left;
  525. text-align: center;
  526. }
  527. .timelinecontainer .year-content .yearData .centerallign {
  528. position: relative;
  529. display: inline-block;
  530. text-align: center;
  531. }
  532.  
  533. .timelinecontainer .year-content .yearData .centerallign .event {
  534. position: relative;
  535. display: inline-block;
  536. width: 240px;
  537. height: 290px;
  538. padding: 20px 10px 0px 10px;
  539. float: left;
  540. box-sizing: border-box;
  541. border-left: 1px solid #cacaca;
  542. border-right: 1px solid #cacaca;
  543. }
  544. .timelinecontainer .year-content .yearData .centerallign .event img {
  545. position: relative;
  546. display: inline-block;
  547. max-width: 100%;
  548. max-height: 200px;
  549. }
  550. .timelinecontainer .year-content .yearData .centerallign .event h1 {
  551. position: relative;
  552. display: inline-block;
  553. width: 100%;
  554. text-align: center;
  555. font-size: 17px;
  556. font-family: 'Work Sans';
  557. font-weight: 400;
  558. height: 100px;
  559. color: #555555;
  560. margin-top: 10px;
  561. }
  562. /* MEDIA QUERIES */
  563.  
  564.  
  565.  
  566. /* ----------------------------------------------------*/
  567. /* Code That Doesnt Change Between Mobile Resolution */
  568. /* ----------------------------------------------------*/
  569. @media only screen and (min-width : 0px) and (max-width : 992px) {
  570. .firstheader { display: none; }
  571. .header { top: 0; }
  572. .header .logocontainer img {
  573. position: absolute;
  574. top: 50%;
  575. transform: translateY(-50%);
  576. left: 20px;
  577. margin: 0;
  578. }
  579. .timelinecontainer .slider .leftgradient {
  580. display: none;
  581. /*background-image: url(../images/index/gradient-mobile.png);*/
  582. }
  583. .timelinecontainer .slider .rightgradient {
  584. display: none;
  585. /*background-image: url(../images/index/gradient-mobile.png);*/
  586. }
  587. .backgroundimage {
  588. max-height: 100%;
  589. max-width: 200%;
  590. }
  591. }
  592.  
  593.  
  594. /* ----------------------------------------------------*/
  595. /* Custom, iPhone Retina */
  596. /* ----------------------------------------------------*/
  597. @media only screen and (max-width : 320px) {
  598.  
  599. }
  600.  
  601.  
  602. /* ----------------------------------------------------*/
  603. /* Extra Small Devices, Phones */
  604. /* ----------------------------------------------------*/
  605. @media only screen and (min-width : 320px) and (max-width : 480px) {
  606. .timelinecontainer .year-content .yearData .centerallign .event {
  607. width: 240px;
  608. height: 290px;
  609. float: none;
  610. margin-bottom: 30px;
  611. margin-right: -5px;
  612. vertical-align: top;
  613. }
  614. .timelinecontainer .year-content {
  615. height: 1600px;
  616. }
  617.  
  618. }
  619.  
  620.  
  621. /* ----------------------------------------------------*/
  622. /* Small Devices, Tablets */
  623. /* ----------------------------------------------------*/
  624. @media only screen and (min-width : 480px) and (max-width : 768px) {
  625. .timelinecontainer .year-content .yearData .centerallign .event {
  626. width: 240px;
  627. height: 290px;
  628. float: none;
  629. margin-right: -5px;
  630. vertical-align: top;
  631. }
  632. .timelinecontainer .year-content {
  633. height: 900px;
  634. }
  635. }
  636.  
  637.  
  638. /* ----------------------------------------------------*/
  639. /* Medium Devices, Desktops */
  640. /* ----------------------------------------------------*/
  641. @media only screen and (min-width : 768px) and (max-width : 992px) {
  642. .timelinecontainer .year-content .yearData .centerallign .event {
  643. width: 140px;
  644. height: 240px;
  645. }
  646. .timelinecontainer .year-content .yearData .centerallign .event h1 {
  647. font-size: 14px;
  648. }
  649. }
  650.  
  651.  
  652. /* ----------------------------------------------------*/
  653. /* Large Devices, Wide Screens */
  654. /* ----------------------------------------------------*/
  655. @media only screen and (min-width : 992px) and (max-width : 1200px) {
  656. .header .navigation a {
  657. height: auto;
  658. float: none;
  659. margin: 0px 10px;
  660. width: 180px;
  661. vertical-align: top;
  662. }
  663. .header .navigation {
  664. width: 85%;
  665. }
  666. }
Advertisement
Add Comment
Please, Sign In to add comment