RyanEarnshaw

Untitled

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