RyanEarnshaw

Untitled

Mar 14th, 2017
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.54 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. .horizontal-text {
  133. position: relative;
  134. display: inline-block;
  135. width: 100%;
  136. float: left;
  137. }
  138. .innercont .body .horizontal-text h2 {
  139. position: relative;
  140. display: inline-block;
  141. font-family: sans-serif;
  142. font-weight: bold;
  143. font-size: 14px;
  144. color: #8ec640;
  145. width: 33%;
  146. float: left;
  147. padding: 10px;
  148. box-sizing: border-box;
  149. text-align: center;
  150. }
  151. .innercont .body .horizontal-text h2:nth-child(1),
  152. .innercont .body .horizontal-text h2:nth-child(2) { border-right: 1px solid #8ec640; }
  153.  
  154.  
  155.  
  156. .innercont .body .contact {
  157. position: relative;
  158. display: inline-block;
  159. float: left;
  160. width: 40%;
  161. min-width: 500px;
  162. margin-top: 40px;
  163. margin-right: 5%;
  164. }
  165. .innercont .body .contact .half {
  166. position: relative;
  167. display: inline-block;
  168. float: left;
  169. width: 50%;
  170. }
  171. .innercont .body .contact .person-image {
  172. position: relative;
  173. width: 80%;
  174. max-height: 250px;
  175. }
  176. .innercont .body .contact h1 {
  177. position: relative;
  178. display: inline-block;
  179. float: left;
  180. width: 100%;
  181. color: #8ec640;
  182. font-weight: bold;
  183. font-family: sans-serif;
  184. font-size: 16px;
  185. }
  186. .innercont .body .contact h2 {
  187. position: relative;
  188. display: inline-block;
  189. float: left;
  190. width: 100%;
  191. color: #8ec640;
  192. font-weight: 100;
  193. font-family: sans-serif;
  194. font-size: 16px;
  195. }
  196. .innercont .body .contact h3 {
  197. position: relative;
  198. display: inline-block;
  199. float: left;
  200. width: 100%;
  201. color: #BCBCBC;
  202. font-weight: 100;
  203. font-family: sans-serif;
  204. font-size: 16px;
  205. }
  206. /* MEDIA QUERIES */
  207.  
  208.  
  209.  
  210. /* ----------------------------------------------------*/
  211. /* Code That Doesnt Change Between Mobile Resolution */
  212. /* ----------------------------------------------------*/
  213. @media only screen and (min-width : 0px) and (max-width : 992px) {
  214. .innercont .body .column.c1 { width: 100%; margin-right: 0; }
  215. .innercont .body .column.c2 { width: 100% }
  216. }
  217.  
  218.  
  219. /* ----------------------------------------------------*/
  220. /* Custom, iPhone Retina */
  221. /* ----------------------------------------------------*/
  222. @media only screen and (max-width : 320px) {
  223.  
  224. }
  225.  
  226.  
  227. /* ----------------------------------------------------*/
  228. /* Extra Small Devices, Phones */
  229. /* ----------------------------------------------------*/
  230. @media only screen and (min-width : 320px) and (max-width : 480px) {
  231.  
  232. }
  233.  
  234.  
  235. /* ----------------------------------------------------*/
  236. /* Small Devices, Tablets */
  237. /* ----------------------------------------------------*/
  238. @media only screen and (min-width : 480px) and (max-width : 768px) {
  239.  
  240. }
  241.  
  242.  
  243. /* ----------------------------------------------------*/
  244. /* Medium Devices, Desktops */
  245. /* ----------------------------------------------------*/
  246. @media only screen and (min-width : 768px) and (max-width : 992px) {
  247.  
  248. }
  249.  
  250.  
  251. /* ----------------------------------------------------*/
  252. /* Large Devices, Wide Screens */
  253. /* ----------------------------------------------------*/
  254. @media only screen and (min-width : 992px) and (max-width : 1200px) {
  255. .innercont .body .buttoncontainer .ctabutton h1 { width: 70%; }
  256. .innercont .body .buttoncontainer .ctabutton.but3 { height: 70px; width: 100%; margin-right: 0; }
  257. }
Advertisement
Add Comment
Please, Sign In to add comment