RyanEarnshaw

Untitled

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