Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .bodycontainer {
- position: relative;
- display: inline-block;
- margin-top: 80px; /* size of header */
- margin-left: 20%; /* size of side-nav */
- /* padding-bottom: 200px; */
- background-color: #ffffff;
- float: left;
- width: 80%;
- }
- .headerimage {
- position: relative;
- display: inline-block;
- width: 100%;
- height: 300px;
- margin: 0;
- padding: 0;
- overflow: hidden;
- }
- .headerimage img {
- position: absolute;
- display: inline-block;
- width: 100%;
- min-height: 100%;
- top: 50%;
- transform: translateY(-50%);
- right: 0;
- }
- .headerimage .text {
- position: absolute;
- display: inline-block;
- bottom: 10px;
- left: 20px;
- width; 100%;
- }
- .headerimage h1 {
- position: relative;
- display: inline-block;
- width: 100%;
- font-size: 40px;
- font-family: 'Work Sans';
- font-weight: 400;
- color: #8ec640;
- margin: 20px 0 0 20px;
- }
- .headerimage h1:after {
- content: '';
- position: absolute;
- bottom: -10px;
- left: 0;
- width: 0px;
- height: 2px;
- background-color: #8ec640;
- animation: underline_animation 1s 0.5s 1 normal forwards;
- -o-animation: underline_animation 1s 0.5s 1 normal forwards;
- -moz-animation: underline_animation 1s 0.5s 1 normal forwards;
- -webkit-animation: underline_animation 1s 0.5s 1 normal forwards;
- }
- @keyframes underline_animation {
- 0% { width: 0px; }
- 100% { width: 100px; }
- }
- @-webkit-keyframes underline_animation {
- 0% { width: 0px; }
- 100% { width: 100px; }
- }
- @-moz-keyframes underline_animation {
- 0% { width: 0px; }
- 100% { width: 100px; }
- }
- @-o-keyframes underline_animation {
- 0% { width: 0px; }
- 100% { width: 100px; }
- }
- .headerimage h2 {
- position: relative;
- display: inline-block;
- width: 30%;
- font-size: 24px;
- font-family: 'Work Sans';
- font-weight: 400;
- margin: 30px 0 0 20px;
- color: #000000;
- }
- .innercont {
- position: relative;
- display: inline-block;
- float: left;
- padding: 0vh 5vw 5vh 5vw;
- box-sizing: border-box;
- background-color: #ffffff;
- }
- .split-1 {
- position: relative;
- display: inline-block;
- width: 30%;
- float: left;
- }
- .split-2 {
- position: relative;
- display: inline-block;
- width: 70%;
- float: left;
- }
- .split-1 h1 {
- position: relative;
- font-size: 25px;
- font-family: 'Work Sans';
- font-weight: 100;
- color: #8ec640;
- margin: 7px 0;
- line-height: 25px;
- width: 100%;
- float: left;
- }
- .innercont .body {
- position: relative;
- display: inline-block;
- float: left;
- width: 100%;
- }
- .innercont .body .column {
- position: relative;
- display: inline-block;
- height: 100%;
- float: left;
- }
- .innercont .body .column.c1 { width: 30%; margin-right: 5%; }
- .innercont .body .column.c2 { width: 65% }
- .innercont .body .column.c3 { width: 100% }
- .innercont .body h2 {
- position: relative;
- font-size: 17px;
- font-family: 'Work Sans';
- font-weight: 100;
- color: #6b6b6b;
- margin: 7px 0;
- line-height: 25px;
- width: 100%;
- float: left;
- }
- .innercont .body .first-text {
- margin: 50px 0;
- }
- .innercont .body .column.c1 h2 {
- font-size: 22px;
- }
- .innercont .body h2 a {
- font-weight: 600;
- color: #8ec640;
- text-decoration: none;
- }
- .innercont .body h2 span {
- font-size: 24px;
- font-family: 'Raleway';
- font-weight: 200;
- color: #83c640;
- }
- .innercont .body .quote {
- position: relative;
- display: inline-block;
- padding: 40px 0px;
- width: 100%;
- }
- .innercont .body .quote h2 {
- position: relative;
- display: inline-block;
- width: 100%;
- line-height: 25px;
- font-family: 'Work Sans';
- font-size: 23px;
- font-weight: 300;
- margin-top: 10px;
- color: #000000;
- text-align: center;
- }
- .body .icons {
- position: relative;
- display: inline-block;
- width: 100%;
- float: left;
- margin: 0;
- }
- .body .icons .icon {
- position: relative;
- display: inline-block;
- width: 33%;
- padding: 0 2%;
- box-sizing: border-box;
- float: left;
- }
- .body .icons .icon img {
- position: relative;
- display: inline-block;
- width: 100%;
- padding: 0;
- float: left;
- }
- .body .icons .icon h2 {
- position: relative;
- display: inline-block;
- width: 100%;
- font-size: 14px;
- font-family: sans-serif;
- font-weight: bold;
- text-align: center;
- line-height: 20px;
- color: #7c7c7c;
- float: left;
- }
- .innercont .body .grey-container {
- position: relative;
- display: inline-block;
- width: 100%;
- padding: 30px 5vw;
- margin-left: -5vw;
- background-color: #e3e3e3;
- }
- .body .bottom-container {
- position: relative;
- display: inline-block;
- width: 50%;
- float: left;
- }
- .body .bottom-container.left { width: 30%; }
- .body .bottom-container.right { width: 70%; }
- .body .bottom-container .mainimage {
- position: relative;
- display: inline-block;
- max-width: 90%;
- max-height: 90%;
- }
- .body .bottom-container .icons-2{
- position: relative;
- display: inline-block;
- width: 100%;
- }
- .body .bottom-container .icons-2 .piece {
- position: relative;
- display: inline-block;
- float: left;
- width: 25%;
- }
- /* MEDIA QUERIES */
- /* ----------------------------------------------------*/
- /* Code That Doesnt Change Between Mobile Resolution */
- /* ----------------------------------------------------*/
- @media only screen and (min-width : 0px) and (max-width : 992px) {
- .innercont .body .column.c1 { width: 100%; margin-right: 0; }
- .innercont .body .column.c2 { width: 100% }
- .headerimage img {
- height: 100%;
- width: auto;
- }
- .headerimage .text {
- bottom: 0;
- }
- .headerimage h2 {
- left: -20px;
- margin-left: 0;
- width: 100%;
- padding-top: 10px;
- padding-left: 5vw;
- background-color: #ffffff;
- }
- .split-1 { width: 100%; }
- .split-2 { width: 100%; margin-top: 30px; }
- }
- /* ----------------------------------------------------*/
- /* Custom, iPhone Retina */
- /* ----------------------------------------------------*/
- @media only screen and (max-width : 320px) {
- }
- /* ----------------------------------------------------*/
- /* Extra Small Devices, Phones */
- /* ----------------------------------------------------*/
- @media only screen and (min-width : 320px) and (max-width : 480px) {
- .headerimage img {
- right: auto;
- left: -50%;
- }
- .body .bottom-container.left { width: 100%; }
- .body .bottom-container.right { width: 100%; }
- .body .icons .icon { width: 50%; margin-top: 20px; height: 170px;}
- }
- /* ----------------------------------------------------*/
- /* Small Devices, Tablets */
- /* ----------------------------------------------------*/
- @media only screen and (min-width : 480px) and (max-width : 768px) {
- }
- /* ----------------------------------------------------*/
- /* Medium Devices, Desktops */
- /* ----------------------------------------------------*/
- @media only screen and (min-width : 768px) and (max-width : 992px) {
- }
- /* ----------------------------------------------------*/
- /* Large Devices, Wide Screens */
- /* ----------------------------------------------------*/
- @media only screen and (min-width : 992px) and (max-width : 1200px) {
- }
Advertisement
Add Comment
Please, Sign In to add comment