RyanEarnshaw

Untitled

Apr 20th, 2017
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.41 KB | None | 0 0
  1. .bodycontainer {
  2. position: relative;
  3. display: inline-block;
  4. margin-top: 80px; /* size of header */
  5. margin-left: 20%; /* size of side-nav */
  6. padding-bottom: 200px;
  7. background-color: #ffffff;
  8. float: left;
  9. width: 80%;
  10. }
  11. .innercont {
  12. position: relative;
  13. display: -webkit-flex;
  14. display: -webkit-box;
  15. display: -moz-flex;
  16. display: -ms-flex;
  17. display: flex;
  18. float: left;
  19. margin: 100px 10% 0 10%;
  20. width: 80%;
  21. }
  22.  
  23. .section {
  24. position: relative;
  25. display: inline-block;
  26. float: left;
  27. background-color: #ffffff;
  28. align-items: stretch;
  29. }
  30. .section.s1 { width: 90%; }
  31. .section.s2 { width: 10%; }
  32. .section.s1 {
  33. padding-left: 5vw;
  34. }
  35.  
  36.  
  37.  
  38.  
  39. .section .title {
  40. position: relative;
  41. display: inline-block;
  42. float: left;
  43. width: 100%;
  44. margin: 40px 0 0;
  45. }
  46. .section .title h1 {
  47. position: relative;
  48. display: inline-block;
  49. width: 100%;
  50. font-size: 26px;
  51. font-family: sans-serif;
  52. font-weight: 600;
  53. color: #363636;
  54. margin-bottom: 20px;
  55. }
  56. .section .body {
  57. position: relative;
  58. display: inline-block;
  59. float: left;
  60. width: 100%;
  61. }
  62. .section .body h1 {
  63. position: relative;
  64. display: inline-block;
  65. width: 100%;
  66. font-size: 20px;
  67. font-family: sans-serif;
  68. font-weight: 600;
  69. color: #6b6b6b;
  70. margin: 5px 0;
  71. padding: 10px 10px 10px 10px;
  72. background-color: #d7d7d7;
  73. border: 1px solid #b0b0b0;
  74. transition: padding 0.3s ease;
  75. box-sizing: border-box;
  76. }
  77. .section .body h1:hover {
  78. padding: 10px 10px 10px 20px;
  79. }
  80.  
  81. .section .recommendations {
  82. position: relative;
  83. display: inline-block;
  84. width: 100%;
  85. margin-top: 40px;
  86. border-top: 2px solid #bbbbbb;
  87. padding-top: 40px;
  88. }
  89.  
  90.  
  91.  
  92.  
  93.  
  94. /* ----------------------------------------------------*/
  95. /* Code That Doesnt Change Between Mobile Resolution */
  96. /* ----------------------------------------------------*/
  97. @media only screen and (min-width : 0px) and (max-width : 992px) {
  98. .innercont {
  99. position: relative;
  100. display: inline-block;
  101. float: left;
  102. margin: 10vw 5% 0 5%;
  103. width: 90%;
  104. }
  105. .section {
  106. position: relative;
  107. display: inline-block;
  108. float: left;
  109. background-color: #ffffff;
  110. align-items: initial;
  111.  
  112. }
  113. .section.s1 { width: 90%; margin: 0 5%; padding: 0; }
  114. .section.s2 { width: 90%; margin: 0 5%; }
  115. }
  116.  
  117.  
  118. /* ----------------------------------------------------*/
  119. /* Custom, iPhone Retina */
  120. /* ----------------------------------------------------*/
  121. @media only screen and (max-width : 320px) {
  122.  
  123. }
  124.  
  125.  
  126. /* ----------------------------------------------------*/
  127. /* Extra Small Devices, Phones */
  128. /* ----------------------------------------------------*/
  129. @media only screen and (min-width : 320px) and (max-width : 480px) {
  130.  
  131. }
  132.  
  133.  
  134. /* ----------------------------------------------------*/
  135. /* Small Devices, Tablets */
  136. /* ----------------------------------------------------*/
  137. @media only screen and (min-width : 480px) and (max-width : 768px) {
  138.  
  139. }
  140.  
  141.  
  142. /* ----------------------------------------------------*/
  143. /* Medium Devices, Desktops */
  144. /* ----------------------------------------------------*/
  145. @media only screen and (min-width : 768px) and (max-width : 992px) {
  146.  
  147. }
  148.  
  149.  
  150. /* ----------------------------------------------------*/
  151. /* Large Devices, Wide Screens */
  152. /* ----------------------------------------------------*/
  153. @media only screen and (min-width : 992px) and (max-width : 1200px) {
  154.  
  155. }
Advertisement
Add Comment
Please, Sign In to add comment