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%;
- }
- .innercont {
- position: relative;
- display: -webkit-flex;
- display: -webkit-box;
- display: -moz-flex;
- display: -ms-flex;
- display: flex;
- float: left;
- margin: 100px 10% 0 10%;
- width: 80%;
- }
- .section {
- position: relative;
- display: inline-block;
- float: left;
- background-color: #ffffff;
- align-items: stretch;
- }
- .section.s1 { width: 90%; }
- .section.s2 { width: 10%; }
- .section.s1 {
- padding-left: 5vw;
- }
- .section .title {
- position: relative;
- display: inline-block;
- float: left;
- width: 100%;
- margin: 40px 0 0;
- }
- .section .title h1 {
- position: relative;
- display: inline-block;
- width: 100%;
- font-size: 26px;
- font-family: sans-serif;
- font-weight: 600;
- color: #363636;
- margin-bottom: 20px;
- }
- .section .body {
- position: relative;
- display: inline-block;
- float: left;
- width: 100%;
- }
- .section .body h1 {
- position: relative;
- display: inline-block;
- width: 100%;
- font-size: 20px;
- font-family: sans-serif;
- font-weight: 600;
- color: #6b6b6b;
- margin: 5px 0;
- padding: 10px 10px 10px 10px;
- background-color: #d7d7d7;
- border: 1px solid #b0b0b0;
- transition: padding 0.3s ease;
- box-sizing: border-box;
- }
- .section .body h1:hover {
- padding: 10px 10px 10px 20px;
- }
- .section .recommendations {
- position: relative;
- display: inline-block;
- width: 100%;
- margin-top: 40px;
- border-top: 2px solid #bbbbbb;
- padding-top: 40px;
- }
- /* ----------------------------------------------------*/
- /* Code That Doesnt Change Between Mobile Resolution */
- /* ----------------------------------------------------*/
- @media only screen and (min-width : 0px) and (max-width : 992px) {
- .innercont {
- position: relative;
- display: inline-block;
- float: left;
- margin: 10vw 5% 0 5%;
- width: 90%;
- }
- .section {
- position: relative;
- display: inline-block;
- float: left;
- background-color: #ffffff;
- align-items: initial;
- }
- .section.s1 { width: 90%; margin: 0 5%; padding: 0; }
- .section.s2 { width: 90%; margin: 0 5%; }
- }
- /* ----------------------------------------------------*/
- /* 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) {
- }
- /* ----------------------------------------------------*/
- /* 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