RyanEarnshaw

Untitled

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