RyanEarnshaw

Untitled

Feb 24th, 2017
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.96 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: 17px;
  75. font-family: sans-serif;
  76. font-weight: 100;
  77. color: #6b6b6b;
  78. margin: 17px 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.  
  111. .innercont .body h2 span {
  112. font-weight: bold;
  113. color: #83c640;
  114. }
  115. .innercont .body .imagetable {
  116. position: relative;
  117. float: left;
  118. max-width: 100%;
  119. max-height: 30px;
  120. border-collapse: collapse;
  121. }
  122. .innercont .body .imagetable img {
  123. position: relative;
  124. top: 0;
  125. max-width: 95%;
  126. max-height: 90%;
  127. }
  128. .innercont .body .imagetable .left { width: 50%; }
  129. .innercont .body .imagetable .left img { left: 0; }
  130. .innercont .body .imagetable .right { width: 50%; }
  131. .innercont .body .imagetable .right img { right: 0; }
  132.  
  133.  
  134.  
  135. .innercont .body .buttoncontainer {
  136. position: relative;
  137. display: inline-block;
  138. float: left;
  139. width: 100%;
  140. padding-top: 50px;
  141. text-align: center;
  142. }
  143. .innercont .body .buttoncontainer .ctabutton {
  144. position: relative;
  145. display: inline-block;
  146. height: 48px;
  147. background-color: #8ec640;
  148. transition: transform 0.5s ease;
  149. }
  150. .innercont .body .buttoncontainer .ctabutton:hover {
  151. transform: translateY(-10px);
  152. }
  153. .ctabutton.but1 { width: 290px; margin-right: 15px; }
  154. .ctabutton.but2 { width: 200px; margin-right: 15px; }
  155. .ctabutton.but3 { width: 270px; margin-right: 15px; }
  156.  
  157. .innercont .body .buttoncontainer .ctabutton h1 {
  158. position: relative;
  159. font-size: 18px;
  160. font-family: sans-serif;
  161. font-weight: 100;
  162. color: #ffffff;
  163. padding: 10px 0px 0px 10px;
  164. line-height: 25px;
  165. width: 100%;
  166. float: left;
  167. text-align: left;
  168. }
  169. .innercont .body .buttoncontainer .ctabutton .icon {
  170. position: absolute;
  171. width: 50px;
  172. height: 100%;
  173. top: 0px;
  174. right: 0px;
  175. background-color: #7aac34;
  176. overflow: hidden;
  177. }
  178. .innercont .body .buttoncontainer .ctabutton:hover .baseicon {
  179. right: 60px;
  180. transition: right 0.1s;
  181. }
  182. .innercont .body .buttoncontainer .ctabutton:hover .arrow {
  183. right: 10px;
  184. transition: right 0.3s;
  185. }
  186. .innercont .body .buttoncontainer .ctabutton .baseicon {
  187. position: absolute;
  188. width: 29px;
  189. height: 29px;
  190. top: 7px;
  191. right: 10px;
  192. transition: right 0.3s;
  193. }
  194. .innercont .body .buttoncontainer .ctabutton .arrow {
  195. position: absolute;
  196. width: 29px;
  197. height: 29px;
  198. top: 7px;
  199. right: -50px;
  200. transition: right 0.1s;
  201. }
  202.  
  203.  
  204.  
  205. .innercont .body .case_study_title {
  206. position: relative;
  207. display: inline-block;
  208. width: 100%;
  209. border-bottom: 1px solid #8ec640;
  210. background-color: transparent;
  211. float: left;
  212. margin: 10px 0;
  213. }
  214. .innercont .body .case_study_title h2 {
  215. position: relative;
  216. display: inline-block;
  217. margin: 0;
  218. width: 100%;
  219. float: left;
  220. color: #8ec640;
  221. background-color: transparent;
  222. font-size: 14px;
  223. font-family: sans-serif;
  224. font-weight: 100;
  225. padding-bottom: 10px;
  226. }
  227. .innercont .body .case_study_title h3 {
  228. position: absolute;
  229. display: inline-block;
  230. right: 30px;
  231. bottom: 10px;
  232. color: #8ec640;
  233. background-color: transparent;
  234. font-size: 14px;
  235. font-family: sans-serif;
  236. font-weight: 100;
  237. }
  238. .innercont .body .case_study_title h4 {
  239. position: absolute;
  240. display: inline-block;
  241. right: 0;
  242. top: 0;
  243. color: #8ec640;
  244. background-color: transparent;
  245. font-size: 30px;
  246. font-family: sans-serif;
  247. font-weight: bold;
  248. padding-bottom: 10px;
  249. }
  250. .innercont .body .case_study_container {
  251. position: relative;
  252. display: inline-block;
  253. max-height: auto;
  254. overflow: hidden;
  255. transition: max-height 1s ease;
  256. }
  257. .innercont .body .case_study_container.open {
  258. max-height: auto;
  259. }
  260. .innercont .body .case_study_container h1 {
  261. position: relative;
  262. display: inline-block;
  263. margin: 0;
  264. width: 100%;
  265. float: left;
  266. color: #8ec640;
  267. background-color: transparent;
  268. font-size: 14px;
  269. font-family: sans-serif;
  270. font-weight: 100;
  271. padding-top: 10px;
  272. }
  273. .innercont .body .case_study_container h2 {
  274. position: relative;
  275. display: inline-block;
  276. margin: 0;
  277. width: 100%;
  278. float: left;
  279. color: #a7a7a7;
  280. background-color: transparent;
  281. font-size: 14px;
  282. font-family: sans-serif;
  283. font-weight: 100;
  284. padding-top: 10px;
  285. }
  286. /* MEDIA QUERIES */
  287.  
  288.  
  289.  
  290. /* ----------------------------------------------------*/
  291. /* Code That Doesnt Change Between Mobile Resolution */
  292. /* ----------------------------------------------------*/
  293. @media only screen and (min-width : 0px) and (max-width : 992px) {
  294. .innercont .body .buttoncontainer .ctabutton.but1 { width: 100%; margin-right: 0; }
  295. .innercont .body .buttoncontainer .ctabutton.but2 { width: 100%; margin-right: 0; }
  296. .innercont .body .buttoncontainer .ctabutton.but3 { width: 100%; margin-right: 0; }
  297.  
  298. .innercont .body .column.c1 { width: 100%; margin-right: 0; }
  299. .innercont .body .column.c2 { width: 100% }
  300. }
  301.  
  302.  
  303. /* ----------------------------------------------------*/
  304. /* Custom, iPhone Retina */
  305. /* ----------------------------------------------------*/
  306. @media only screen and (max-width : 320px) {
  307.  
  308. }
  309.  
  310.  
  311. /* ----------------------------------------------------*/
  312. /* Extra Small Devices, Phones */
  313. /* ----------------------------------------------------*/
  314. @media only screen and (min-width : 320px) and (max-width : 480px) {
  315.  
  316. }
  317.  
  318.  
  319. /* ----------------------------------------------------*/
  320. /* Small Devices, Tablets */
  321. /* ----------------------------------------------------*/
  322. @media only screen and (min-width : 480px) and (max-width : 768px) {
  323.  
  324. }
  325.  
  326.  
  327. /* ----------------------------------------------------*/
  328. /* Medium Devices, Desktops */
  329. /* ----------------------------------------------------*/
  330. @media only screen and (min-width : 768px) and (max-width : 992px) {
  331.  
  332. }
  333.  
  334.  
  335. /* ----------------------------------------------------*/
  336. /* Large Devices, Wide Screens */
  337. /* ----------------------------------------------------*/
  338. @media only screen and (min-width : 992px) and (max-width : 1200px) {
  339. .innercont .body .buttoncontainer .ctabutton.but1 { width: 100%; margin-right: 0; }
  340. .innercont .body .buttoncontainer .ctabutton.but2 { width: 100%; margin-right: 0; }
  341. .innercont .body .buttoncontainer .ctabutton.but3 { width: 100%; margin-right: 0; }
  342. }
Advertisement
Add Comment
Please, Sign In to add comment