Advertisement
RyanEarnshaw

Untitled

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