RyanEarnshaw

Untitled

Mar 21st, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.66 KB | None | 0 0
  1. .bodycontainer {
  2. position: relative;
  3. display: inline-block;
  4. margin-top: 140px; /* 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. .headerimage {
  12. position: absolute;
  13. display: inline-block;
  14. width: 100%;
  15. height: 220px;
  16. top: 0;
  17. left: 0;
  18. }
  19. .headerimage img {
  20. width: 100%;
  21. height: 100%;
  22. }
  23. .innercont {
  24. position: relative;
  25. display: inline-block;
  26. float: left;
  27. padding: 5vh 5vw;
  28. box-sizing: border-box;
  29. background-color: #ffffff;
  30. }
  31.  
  32.  
  33.  
  34.  
  35.  
  36. .innercont .title {
  37. position: relative;
  38. display: inline-block;
  39. float: left;
  40. width: 100%;
  41. margin: 20px 0 20px;
  42. }
  43. .innercont .title h1 {
  44. font-size: 24px;
  45. font-family: sans-serif;
  46. font-weight: 600;
  47. color: #8ec640;
  48. }
  49. .innercont .title:after {
  50. content: '';
  51. position: absolute;
  52. bottom: -10px;
  53. width: 100px;
  54. height: 2px;
  55. background-color: #8ec640;
  56. }
  57. .innercont .body {
  58. position: relative;
  59. display: inline-block;
  60. float: left;
  61. width: 100%;
  62. }
  63. .innercont .body .column {
  64. position: relative;
  65. display: inline-block;
  66. height: 100%;
  67. float: left;
  68. }
  69. .innercont .body .column.c1 { width: 30%; margin-right: 5%; }
  70. .innercont .body .column.c2 { width: 65% }
  71.  
  72. .innercont .body h2 {
  73. position: relative;
  74. font-size: 15px;
  75. font-family: sans-serif;
  76. font-weight: 100;
  77. color: #6b6b6b;
  78. margin: 7px 0;
  79. line-height: 25px;
  80. width: 100%;
  81. float: left;
  82. }
  83. .innercont .body h2 a {
  84. font-weight: 600;
  85. color: #8ec640;
  86. text-decoration: none;
  87. }
  88. .innercont .body .quote {
  89. display: inline-block;
  90. padding: 10px 0px 10px 0px;
  91. border-top: 2px solid #8ec640;
  92. border-bottom: 2px solid #8ec640;
  93. }
  94. .innercont .body .quote h2 {
  95. width: 100%;
  96. line-height: 25px;
  97. font-size: 13px;
  98. font-weight: 100;
  99. margin-top: 10px;
  100. color: #8ec640;
  101. }
  102. .innercont .body .quote h3 {
  103. font-size: 17px;
  104. font-family: sans-serif;
  105. color: #8ec640;
  106. font-weight: 100;
  107. width: 100%;
  108. margin-top: 10px;
  109. }
  110. .innercont .body h2 span {
  111. font-weight: bold;
  112. color: #83c640;
  113. }
  114.  
  115.  
  116. .body .imagetable {
  117. position: relative;
  118. float: left;
  119. width: 100%;
  120. border-collapse: collapse;
  121. }
  122. .body .imagetable img {
  123. position: relative;
  124. left: 50%;
  125. transform: translateX(-50%);
  126. max-width: 90%;
  127. max-height: 90%;
  128. }
  129. .body .imagetable .width50 { width: 50%; }
  130.  
  131.  
  132. .icons {
  133. position: relative;
  134. display: inline-block;
  135. float: left;
  136. width: 100%;
  137. margin: 20px 0;
  138. }
  139. .icons .iconimage {
  140. position: relative;
  141. display: inline-block;
  142. width: 20%;
  143. }
  144. .icons .iconimage img {
  145. position: relative;
  146. display: inline-block;
  147. max-width: 100%;
  148. max-height: 100%;
  149. }
  150. .icons .icontext {
  151. position: relative;
  152. display: inline-block;
  153. width: 30%;
  154. }
  155. .icons .icontext h1 {
  156. position: relative;
  157. display: inline-block;
  158. width: 100%;
  159. font-family: sans-serif;
  160. font-weight: bold;
  161. font-size: 14px;
  162. text-align: center;
  163. color: #F47D31;
  164. vertical-align: middle;
  165. }
  166.  
  167. /* MEDIA QUERIES */
  168.  
  169.  
  170.  
  171. /* ----------------------------------------------------*/
  172. /* Code That Doesnt Change Between Mobile Resolution */
  173. /* ----------------------------------------------------*/
  174. @media only screen and (min-width : 0px) and (max-width : 992px) {
  175. .innercont .body .column.c1 { width: 100%; margin-right: 0; }
  176. .innercont .body .column.c2 { width: 100% }
  177. }
  178.  
  179.  
  180. /* ----------------------------------------------------*/
  181. /* Custom, iPhone Retina */
  182. /* ----------------------------------------------------*/
  183. @media only screen and (max-width : 320px) {
  184.  
  185. }
  186.  
  187.  
  188. /* ----------------------------------------------------*/
  189. /* Extra Small Devices, Phones */
  190. /* ----------------------------------------------------*/
  191. @media only screen and (min-width : 320px) and (max-width : 480px) {
  192.  
  193. }
  194.  
  195.  
  196. /* ----------------------------------------------------*/
  197. /* Small Devices, Tablets */
  198. /* ----------------------------------------------------*/
  199. @media only screen and (min-width : 480px) and (max-width : 768px) {
  200.  
  201. }
  202.  
  203.  
  204. /* ----------------------------------------------------*/
  205. /* Medium Devices, Desktops */
  206. /* ----------------------------------------------------*/
  207. @media only screen and (min-width : 768px) and (max-width : 992px) {
  208.  
  209. }
  210.  
  211.  
  212. /* ----------------------------------------------------*/
  213. /* Large Devices, Wide Screens */
  214. /* ----------------------------------------------------*/
  215. @media only screen and (min-width : 992px) and (max-width : 1200px) {
  216. .innercont .body .buttoncontainer .ctabutton h1 { width: 70%; }
  217. .innercont .body .buttoncontainer .ctabutton.but3 { height: 70px; width: 100%; margin-right: 0; }
  218. }
Advertisement
Add Comment
Please, Sign In to add comment