Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @import url('https://fonts.googleapis.com/css?family=Raleway:100,200,300,400');
- /*
- animation-name: stretch;
- animation-duration: 1.5s;
- animation-timing-function: ease-out;
- animation-delay: 0;
- animation-direction: alternate;
- animation-iteration-count: infinite;
- animation-fill-mode: none;
- animation-play-state: running;
- animation: name, duration, timing-function, delay, iteration-count, direction, fill-mode, play-state;
- animation: name duration delay interations direction fillmode;
- */
- * {
- margin:0;
- padding:0;
- }
- .navigation a { float: none; margin: 52px 20px 0 20px; width: 200px; vertical-align: top; }
- .header .navigation .line { float: none; margin: 60px 0px 0px 0px; height: 60px; }
- .navigation a:nth-child(1) h1 { color: #8ec640; font-weight: bold; }
- .navigation a:nth-child(3) h1 { color: #8ec640; font-weight: bold; }
- .navigation a:nth-child(5) h1 { color: #8ec640; font-weight: bold; }
- .navigation a h2 { color: #8b8b8b; font-weight: 100; font-family: sans-serif; font-size: 12px; margin-top: 10px;}
- .navigation .navigation-two a h1 { color: rgba(108,108,108,1); font-weight: bold; font-size: 14px; }
- .navigation .navigation-two a { margin: 77px 10px 0 0px; width: auto; transition: margin 0.5s 0.1s ease; }
- .navigation .navigation-two a.toggled { margin: 110px 10px 0 0px; transition: margin 0.5s ease; }
- .navigation-two {
- position: absolute;
- display: inline-block;
- top: -50px;
- right: 0;
- }
- .navigation { text-align: center; }
- .backgroundimage {
- position: relative;
- display: inline-block;
- width: 100%;
- height: 90vh;
- margin-top: 10vh;
- text-align: center;
- overflow: hidden;
- z-index: 1;
- }
- .backgroundimage img {
- position: absolute;
- bottom: 0;
- left: 0;
- float: none;
- width: 100%;
- }
- .topcontainer {
- position: absolute;
- display: inline-block;
- background-color: #ffffff;
- z-index: 10;
- top: 55vh;
- left: 0;
- right: 0;
- bottom: 0;
- height: 35vh;
- width: 60%;
- margin: 0 auto;
- }
- .topcontainer .left,
- .topcontainer .right {
- position: relative;
- display: inline-block;
- float: left;
- width: 50%;
- height: 100%;
- padding: 5% 5%;
- box-sizing: border-box;
- }
- .topcontainer .right { text-align: center; }
- .topcontainer .left h1 {
- display: inline-block;
- color: rgba(0,0,0,0.8);
- line-height: 26px;
- font-size: 18px;
- font-weight: bold;
- font-family: sans-serif;
- }
- .topcontainer .left h2 {
- display: inline-block;
- color: rgba(0,0,0,0.8);
- line-height: 40px;
- font-size: 12px;
- font-weight: 100;
- font-family: sans-serif;
- }
- .topcontainer .left .findoutmorebutton {
- position: relative;
- display: inline-block;
- text-decoration: none;
- }
- .topcontainer .left h3 {
- display: inline-block;
- color: #ffffff;
- font-size: 16px;
- font-family: sans-serif;
- font-weight: 600;
- background-color: #8ec640;
- padding: 12px 18px;
- margin-top: 15px;
- }
- .topcontainer .left .findoutmorebutton span{
- position: absolute;
- display: inline-block;
- color: #ffffff;
- font-size: 16px;
- font-family: sans-serif;
- font-weight: 600;
- background-color: #8ec640;
- padding: 12px 18px 12px 0px;
- margin-top: 15px;
- right: -25px;
- top: 0;
- transition: padding 0.5s ease;
- }
- .topcontainer .left .findoutmorebutton:hover span {
- padding: 12px 10px 12px 8px;
- }
- .topcontainer .middle {
- display: inline-block;
- position: absolute;
- width: 1px;
- height: 70%;
- top: 15%;
- bottom: 0;
- left: 50%;
- right: 0;
- background-color: rgba(0,0,0,0.2);
- }
- .topcontainer .right h1 {
- display: inline-block;
- color: rgba(0,0,0,0.6);
- font-size: 22px;
- margin-bottom: 10px;
- font-weight: 200;
- font-family: sans-serif;
- }
- .topcontainer .right h2 {
- display: inline-block;
- color: rgba(0,0,0,0.4);
- font-size: 14px;
- font-weight: 100;
- font-family: sans-serif;
- }
- .leftbuttonarrowcontainer, .rightbuttonarrowcontainer {
- position: relative;
- display: inline-block;
- width: 10%;
- height: 100%;
- float: left;
- }
- .leftbuttonarrow, .rightbuttonarrow{
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- width: 100%;
- z-index: 5;
- }
- .leftbuttonarrow img, .rightbuttonarrow img{
- width: 100%;
- }
- .topcontainer .right .carouselcontainer {
- position: relative;
- display: inline-block;
- width: 100%;
- height: 72%;
- margin: 10% auto;
- }
- .quotecontainer {
- position: relative;
- display: inline-block;
- width: 80%;
- height: 100%;
- float: left;
- overflow: hidden;
- }
- .quote {
- display: inline-block;
- position: absolute;
- height: 100%;
- width: 100%;
- left: 0;
- top: 0;
- font-size: 18px;
- line-height: 25px;
- color: rgba(0,0,0,0.4);
- }
- .quote img {
- position: absolute;
- bottom: 0;
- left: 50%;
- transform: translateX(-50%);
- width: 50%;
- }
- .timelinecontainer {
- position: absolute;
- display: inline-block;
- background-color: #8ec640;
- z-index: 10;
- top: 90vh;
- left: 0;
- right: 0;
- bottom: 0;
- height: 10vh;
- width: 100%;
- margin: 0 auto;
- text-align: center;
- }
- .timelinecontainer .title {
- position: relative;
- display:table;
- width: 100%;
- height: 49%;
- margin: auto;
- text-align: center;
- }
- .timelinecontainer .title h1 {
- position: relative;
- display:inline-block;
- font-family: sans-serif;
- font-size: 25px;
- font-weight: bolf;
- color: #ffffff;
- margin: auto;
- vertical-align: middle;
- width: 100%;
- }
- .timelinecontainer .title h2 {
- position: relative;
- display:inline-block;
- font-family: sans-serif;
- font-size: 15px;
- font-weight: 100;
- color: #ffffff;
- margin: auto;
- margin-bottom: 10px;
- vertical-align: middle;
- width: 100%;
- }
- .timelinecontainer .date {
- position: relative;
- display: inline-block;
- font-size: 1.5vh;
- font-weight: 100;
- font-family: sans-serif;
- color: #ffffff;
- background-color: #7aac34;
- text-align: center;
- width: 7%;
- padding-top: 10px;
- padding-bottom: 10px;
- transition: all 0.1s ease;
- cursor: default;
- }
- .timelinecontainer .date.selected {
- background-color: #ffffff;
- color: #7aac34;
- padding-bottom: 4%;
- transition: all 0.5s ease;
- }
- .timelinedatacontainer {
- position: relative;
- display: inline-block;
- width: 80%;
- height: 0px;
- transition: height 1s ease;
- margin: 0 10% 100px 10%;
- background-color: #ffffff;
- text-align: center;
- z-index: 11;
- }
- .timelinedatacontainer .datacontainer {
- display: none;
- }
- .timelinedatacontainer.open {
- height: auto;
- }
- .timelinedatacontainer.open .datacontainer {
- display: none;
- display: inline-block;
- }
- .datacontainer {
- position: relative;
- float: left;
- width: 100%;
- padding: 50px 10px;
- font-family: sans-serif;
- font-weight: 100;
- font-size: 14px;
- color: rgba(0,0,0,0.4);
- background-color: transparent;
- opacity: 1;
- transition: opacity 0.5s ease 1s;
- overflow: hidden;
- text-align: center;
- box-sizing: border-box;
- }
- .datacontainer.hidden {
- transition: opacity 0.5s ease 0s, left 1s ease 0.5s;
- opacity: 0;
- margin-left: -9999vw;
- }
- .datacontainer .closebutton {
- position: absolute;
- display: inline-block;
- top: 5px;
- right: 10px;
- font-size: 25px;
- font-family: sans-serif;
- font-weight: 100;
- color: #8ec640;
- cursor: default;
- }
- .datacontainer .timelineevent {
- position: relative;
- display: inline-block;
- width: 250px;
- height: 250px;
- margin: 0 10px;
- border: 1px solid #8ec640;
- vertical-align: top;
- }
- .datacontainer .timelineevent img {
- margin-top: 10px;
- max-width: 90%;
- max-height: 50%;
- }
- .datacontainer .timelineevent h1 {
- margin-bottom: 10px;
- margin-top: 10px;
- margin-left: 5%;
- padding-top: 10px;
- width: 90%;
- font-weight: 100;
- font-family: sans-serif;
- font-size: 18px;
- color: #8ec640;
- border-top: 1px solid #8ec640;
- }
- /* MEDIA QUERIES */
- /* ----------------------------------------------------*/
- /* Code That Doesnt Change Between Mobile Resolution */
- /* ----------------------------------------------------*/
- @media only screen and (min-width : 0px) and (max-width : 992px) {
- .backgroundimage img { top: 0; height: 60vh; min-width: 100%; width: auto; }
- .topcontainer { width: 100%; margin: 0; }
- }
- /* ----------------------------------------------------*/
- /* Custom, iPhone Retina */
- /* ----------------------------------------------------*/
- @media only screen and (max-width : 320px) {
- .bodycontainer { position: relative; }
- .topcontainer { top: 55vh; left: 0; right: 0; bottom: 0; height: auto; }
- .topcontainer .left { width: 70%; height: auto; padding: 5% 0; margin: 0 15%; text-align: center; border-bottom: 2px solid #bdbdbd; }
- .topcontainer .right { width: 80%; height: 300px; padding: 5% 0; margin: 0 10%; text-align: center;}
- .topcontainer .middle { display: none; }
- .timelinecontainer { top: auto; bottom: 0; }
- .backgroundimage { height: 125vh; }
- .topcontainer .left h3 { margin-left: -30px; }
- .topcontainer .left h2 { line-height: 20px; margin-top: 20px; }
- .timelinedatacontainer {
- width: 100%;
- margin: 0 0% 100px 0%;
- }
- }
- /* ----------------------------------------------------*/
- /* Extra Small Devices, Phones */
- /* ----------------------------------------------------*/
- @media only screen and (min-width : 320px) and (max-width : 480px) {
- .bodycontainer { position: relative; }
- .topcontainer { top: 55vh; left: 0; right: 0; bottom: 0; height: auto; }
- .topcontainer .left { width: 70%; height: auto; padding: 5% 0; margin: 0 15%; text-align: center; border-bottom: 2px solid #bdbdbd; }
- .topcontainer .right { width: 80%; height: 300px; padding: 5% 0; margin: 0 10%; text-align: center;}
- .topcontainer .middle { display: none; }
- .timelinecontainer { top: auto; bottom: 0; }
- .backgroundimage { height: 10vh;height: 125vh; }
- .topcontainer .left h3 { margin-left: -30px; }
- .topcontainer .left h2 { line-height: 20px; margin-top: 20px; }
- .timelinedatacontainer {
- width: 100%;
- margin: 0 0% 100px 0%;
- }
- }
- /* ----------------------------------------------------*/
- /* Small Devices, Tablets */
- /* ----------------------------------------------------*/
- @media only screen and (min-width : 480px) and (max-width : 768px) {
- .bodycontainer { position: relative; }
- .topcontainer { top: 55vh; left: 0; right: 0; bottom: 0; height: auto; }
- .topcontainer .left { width: 70%; height: auto; padding: 5% 0; margin: 0 15%; text-align: center; border-bottom: 2px solid #bdbdbd; }
- .topcontainer .right { width: 80%; height: 300px; padding: 5% 0; margin: 0 10%; text-align: center;}
- .topcontainer .middle { display: none; }
- .timelinecontainer { top: auto; bottom: 0; }
- .backgroundimage { height: 125vh; }
- .topcontainer .left h3 { margin-left: -30px; }
- .timelinedatacontainer {
- width: 100%;
- margin: 0 0% 100px 0%;
- }
- }
- /* ----------------------------------------------------*/
- /* Medium Devices, Desktops */
- /* ----------------------------------------------------*/
- @media only screen and (min-width : 768px) and (max-width : 992px) {
- .timelinedatacontainer {
- width: 100%;
- margin: 0 0% 100px 0%;
- }
- }
- /* ----------------------------------------------------*/
- /* Large Devices, Wide Screens */
- /* ----------------------------------------------------*/
- @media only screen and (min-width : 992px) and (max-width : 1200px) {
- .timelinedatacontainer {
- width: 100%;
- margin: 0 0% 100px 0%;
- }
- .datacontainer .timelineevent {
- margin: 0 20px;
- }
- }
- /* ----------------------------------------------------*/
- /* SPECIAL DESKTOPS */
- /* ----------------------------------------------------*/
- @media only screen and (min-width : 1200px) and (max-width : 1350px) {
- .timelinedatacontainer {
- width: 100%;
- margin: 0 0% 100px 0%;
- }
- .datacontainer .timelineevent {
- width: 210px;
- height: 240px;
- }
- }
- /* ----------------------------------------------------*/
- /* SPECIAL DESKTOPS */
- /* ----------------------------------------------------*/
- @media only screen and (min-width : 1350px) and (max-width : 1570px) {
- .timelinedatacontainer {
- width: 90%;
- margin: 0 5% 100px 5%;
- }
- .datacontainer .timelineevent {
- width: 210px;
- height: 240px;
- }
- }
- /* ----------------------------------------------------*/
- /* SPECIAL DESKTOPS */
- /* ----------------------------------------------------*/
- @media only screen and (min-width : 1570px) and (max-width : 1770px) {
- .timelinedatacontainer {
- width: 90%;
- margin: 0 5% 100px 5%;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment