@import url('https://fonts.googleapis.com/css?family=Nunito:300,400,700'); /* _variables.css */ /* _mixins.css */ /* _global.css */ * { box-sizing: border-box; } body { font-family: 'Nunito', sans-serif; } img { max-width: 100%; height: auto; } /* _site-header.css */ .site-header { text-align: center; padding: 40px 0; } .site-header__title { font-size: 36px; color: #fff; } /* _wrapper.css */ .wrapper { padding-left: 18px; padding-right: 18px; max-width: 1236px; margin-left: auto; margin-right: auto; } /* _timeline.css */ .timeline { position: relative; margin: 30px auto; padding: 60px 0; } .timeline::before { content: ""; position: absolute; top: 0; left: 10%; width: 4px; height: 100%; background-color: #8d94b1; } @media (min-width: 800px){ .timeline::before{ left: 50%; margin-left: -2px; } } .timeline__item { /* margin-bottom: 40px;*/ position: relative; } .timeline__item::after{ content: ""; clear: both; display: table; } .timeline__item:nth-child(2n) .timeline__item__content { float: right; } .timeline__item:nth-child(2n) .timeline__item__content::before { content: ''; right: 40%; } @media (min-width: 800px){ .timeline__item:nth-child(2n) .timeline__item__content::before{ left: inherit; } } .timeline__item:nth-child(2n) .timeline__item__content__date { /* background-color: #136fbf;*/ } .timeline__item:nth-child(2n) .timeline__item__content__description { color: #555555; } .timeline__item:last-child { margin-bottom: 0; } .timeline__item-bg { -webkit-transition: all 1s ease-out; transition: all 1s ease-out; color: #fff; } .timeline__item-bg:nth-child(2n) .timeline__item__station { background-color: #0072e8; } .timeline__item-bg:nth-child(2n) .timeline__item__content { background-color: #fff; } .timeline__item-bg:nth-child(2n) .timeline__item__content::before { /* background-color: #0072e8;*/ } .timeline__item-bg:nth-child(2n) .timeline__item__content__description { color: #555555; } .timeline__item-bg .timeline__item__station { background-color: #0072e8; } .timeline__item-bg .timeline__item__content { background-color: #fff; border:1px solid #d7d7d7; } .timeline__item-bg .timeline__item__content::before { /* background-color: #65adb7;*/ } .timeline__item-bg .timeline__item__content__description { color: #555555; } .timeline__item__station { background-color: #fff; width: 40px; height: 40px; position: absolute; border-radius: 50%; padding: 10px; top: 0; left: 10%; margin-left: -33px; border: 4px solid #8d94b1; -webkit-transition: all .3s ease-out; transition: all .3s ease-out; } @media (min-width: 800px){ .timeline__item__station{ left: 50%; margin-left: -15px; width: 17px; height: 17px; border-width: 4px; top:15px; } } .timeline__item__content { width: 80%; background: #fff; padding: 20px 30px; float: right; -webkit-transition: all .3s ease-out; transition: all .3s ease-out; border:1px solid #d7d7d7; } @media (min-width: 800px){ .timeline__item__content{ width: 45%; float: inherit; padding: 10px 10px; } } .timeline__item__content::before { content: ''; position: absolute; left: 10%; background: #8d94b1; top: 20px; width: 10%; height: 4px; z-index: -1; -webkit-transition: all .3s ease-out; transition: all .3s ease-out; } @media (min-width: 800px){ .timeline__item__content::before{ left: 40%; top: 30px; height: 4px; margin-top: -2px; } } .timeline__item__content__date { margin: 0; font-size: 20px; margin-bottom: 0px; /* background-color: #136fbf;*/ color: #136fbf; display: inline-block; font-weight:bold; border: 2px solid #fff; } .timeline__item__content__description { margin: 0; padding: 0; font-size: 15px; line-height: 20px; font-weight: 300; color: #555555; } @media (min-width: 800px){ .timeline__item__content__description{ font-size: 18px; line-height: 28px; } } /* _site-footer.css */ .site-footer { padding: 50px 0 200px 0; } .site-footer__text { color: #e6e6e6; font-size: 14px; text-align: center; } .site-footer__text__link { color: #8287a9; }