RyanEarnshaw

Untitled

Apr 7th, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.14 KB | None | 0 0
  1. .bodycontainer {
  2. position: relative;
  3. display: inline-block;
  4. margin-top: 80px; /* size of header */
  5. margin-left: 20%; /* size of side-nav */
  6. padding-bottom: 100px;
  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.  
  37. .innercont .title {
  38. position: relative;
  39. display: inline-block;
  40. float: left;
  41. width: 100%;
  42. margin: 20px 0 40px;
  43. }
  44. .innercont .title:nth-child(3) {
  45. margin: 90px 0 0px;
  46. }
  47. .innercont .title h1 {
  48. font-size: 40px;
  49. font-family: 'Work Sans';
  50. font-weight: 100;
  51. color: #8ec640;
  52. }
  53. .innercont .title:after {
  54. content: '';
  55. position: absolute;
  56. bottom: -16px;
  57. width: 0px;
  58. height: 2px;
  59. background-color: #8ec640;
  60. animation: underline_animation 1s 0.5s 1 normal forwards;
  61. -o-animation: underline_animation 1s 0.5s 1 normal forwards;
  62. -moz-animation: underline_animation 1s 0.5s 1 normal forwards;
  63. -webkit-animation: underline_animation 1s 0.5s 1 normal forwards;
  64. }
  65. @keyframes underline_animation {
  66. 0% { width: 0px; }
  67. 100% { width: 100px; }
  68. }
  69. @-webkit-keyframes underline_animation {
  70. 0% { width: 0px; }
  71. 100% { width: 100px; }
  72. }
  73. @-moz-keyframes underline_animation {
  74. 0% { width: 0px; }
  75. 100% { width: 100px; }
  76. }
  77. @-o-keyframes underline_animation {
  78. 0% { width: 0px; }
  79. 100% { width: 100px; }
  80. }
  81. .innercont .body {
  82. position: relative;
  83. display: inline-block;
  84. float: left;
  85. width: 100%;
  86. }
  87. .innercont .body .column {
  88. position: relative;
  89. display: inline-block;
  90. height: 100%;
  91. float: left;
  92. }
  93. .innercont .body .column.c1 { width: 30%; margin-right: 5%; }
  94. .innercont .body .column.c2 { width: 65% }
  95.  
  96. .innercont .body h2 {
  97. position: relative;
  98. font-size: 15px;
  99. font-family: 'Work Sans';
  100. font-weight: 100;
  101. color: #6b6b6b;
  102. margin: 7px 0;
  103. line-height: 25px;
  104. width: 100%;
  105. float: left;
  106. }
  107. .innercont .body .column.c1 h2 {
  108. font-weight: bold;
  109. }
  110. .innercont .body h2 a {
  111. font-weight: 600;
  112. color: #8ec640;
  113. text-decoration: none;
  114. }
  115. .innercont .body h2 span {
  116. font-size: 24px;
  117. font-family: 'Raleway';
  118. font-weight: 200;
  119. color: #83c640;
  120. }
  121. .innercont .body .column.c1 .quote {
  122. position: relative;
  123. display: inline-block;
  124. margin-top: 20px;
  125. padding: 5px 0px 10px 0px;
  126. border-top: 2px solid #8ec640;
  127. border-bottom: 2px solid #8ec640;
  128. }
  129. .innercont .body .column.c1 .quote h2 {
  130. width: 100%;
  131. line-height: 25px;
  132. font-size: 13px;
  133. font-weight: 100;
  134. font-family: 'Raleway';
  135. margin-top: 10px;
  136. color: #8ec640;
  137. }
  138. .innercont .body .column.c1 .quote h3 {
  139. font-size: 17px;
  140. font-family: 'Work Sans';
  141. color: #8ec640;
  142. font-weight: 400;
  143. width: 100%;
  144. margin-top: 10px;
  145. }
  146.  
  147.  
  148. .innercont .body .imagetable {
  149. position: relative;
  150. float: left;
  151. max-width: 100%;
  152. max-height: 30px;
  153. border-collapse: collapse;
  154. margin-top: 15px;
  155. margin-bottom: 40px;
  156. }
  157. .innercont .body .imagetable img {
  158. position: relative;
  159. top: 0;
  160. max-width: 95%;
  161. max-height: 90%;
  162. }
  163. .innercont .body .imagetable .left { width: 50%; }
  164. .innercont .body .imagetable .left img { left: 0; }
  165. .innercont .body .imagetable .right { width: 50%; }
  166. .innercont .body .imagetable .right img { right: 0; }
  167.  
  168.  
  169.  
  170. .innercont .body .buttoncontainer {
  171. position: relative;
  172. display: inline-block;
  173. float: left;
  174. width: 100%;
  175. padding-top: 50px;
  176. text-align: center;
  177. }
  178. .innercont .body .buttoncontainer .ctabutton {
  179. position: relative;
  180. display: inline-block;
  181. height: 48px;
  182. background-color: #f47d31;
  183. width: 270px;
  184. border-radius: 5px;
  185. box-shadow: 0 0 20px 0 rgba(0,0,0,.3);
  186. }
  187.  
  188. .innercont .body .buttoncontainer .ctabutton h1 {
  189. position: relative;
  190. font-size: 16px;
  191. font-family: 'Work Sans';
  192. font-weight: 100;
  193. color: #ffffff;
  194. padding: 10px 0px 0px 10px;
  195. line-height: 25px;
  196. float: left;
  197. text-align: left;
  198. transition: all 0.5s ease;
  199. }
  200. .innercont .body .buttoncontainer .ctabutton .icon {
  201. position: absolute;
  202. width: 50px;
  203. height: 100%;
  204. top: 0px;
  205. right: 0px;
  206. background-color: #c36427;
  207. overflow: hidden;
  208. border-radius: 5px;
  209. transition: width 0.5s ease, background-color 0.5s ease;
  210. }
  211. .innercont .body .buttoncontainer .ctabutton .baseicon {
  212. position: absolute;
  213. width: 25px;
  214. height: 25px;
  215. top: 50%;
  216. right: 50%;
  217. transform: translate(50%,-50%);
  218. transition: right 0.3s ease, all 0.5s ease;
  219. }
  220. .innercont .body .buttoncontainer .ctabutton:hover .icon {
  221. width: 100%;
  222. background-color: #88bc40;
  223. }
  224. .innercont .body .buttoncontainer .ctabutton:hover h1 {
  225. transform: translateX(-100%);
  226. }
  227. .innercont .body .buttoncontainer .ctabutton:hover .baseicon {
  228. right: 50%;
  229. transform: translate(50%,-50%) scale(1.4);
  230. transition: right 0.1s ease, all 0.5s ease;
  231. }
  232.  
  233.  
  234. .pagelinks-container {
  235. position: relative;
  236. display: inline-block;
  237. width: 100%;
  238. float: left;
  239. text-align: center;
  240. margin-top: 20px;
  241. }
  242. .pagelinks-container .pagelink {
  243. position: relative;
  244. display: inline-block;
  245. text-align: center;
  246. width: 32%;
  247. }
  248. .pagelinks-container .pagelink img {
  249. position: relative;
  250. display: inline-block;
  251. width: 100%;
  252. float: left;
  253. padding: 0 30%;
  254. box-sizing: border-box;
  255. }
  256. .pagelinks-container .pagelink h1 {
  257. position: relative;
  258. display: inline-block;
  259. font-family: sans-serif;
  260. font-size: 14px;
  261. font-weight: bold;
  262. width: 100%;
  263. color: #8ec640;
  264. margin: 10px 0;
  265. padding: 0 20%;
  266. box-sizing: border-box;
  267. }
  268. .pagelinks-container .pagelink h2 {
  269. position: relative;
  270. display: inline-block;
  271. font-family: sans-serif;
  272. font-size: 14px;
  273. font-weight: 100;
  274. width: 100%;
  275. color: #646464;
  276. padding: 0 20%;
  277. box-sizing: border-box;
  278. }
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  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 .column.c1 { width: 100%; margin-right: 0; }
  295. .innercont .body .column.c2 { width: 100% }
  296. .innercont .body .buttoncontainer { padding: 25px 0; }
  297. .innercont .body .buttoncontainer .ctabutton.but1 { width: 100%; }
  298. .innercont .body .buttoncontainer .ctabutton.but2 { width: 100%; }
  299. }
  300.  
  301.  
  302. /* ----------------------------------------------------*/
  303. /* Custom, iPhone Retina */
  304. /* ----------------------------------------------------*/
  305. @media only screen and (max-width : 320px) {
  306. .pagelinks-container .pagelink { width: 50%; }
  307. }
  308.  
  309.  
  310. /* ----------------------------------------------------*/
  311. /* Extra Small Devices, Phones */
  312. /* ----------------------------------------------------*/
  313. @media only screen and (min-width : 320px) and (max-width : 480px) {
  314. .pagelinks-container .pagelink { width: 100%; margin-top: 20px;}
  315. }
  316.  
  317.  
  318. /* ----------------------------------------------------*/
  319. /* Small Devices, Tablets */
  320. /* ----------------------------------------------------*/
  321. @media only screen and (min-width : 480px) and (max-width : 768px) {
  322. .pagelinks-container .pagelink { width: 50%; margin-top: 20px; }
  323. }
  324.  
  325.  
  326. /* ----------------------------------------------------*/
  327. /* Medium Devices, Desktops */
  328. /* ----------------------------------------------------*/
  329. @media only screen and (min-width : 768px) and (max-width : 992px) {
  330.  
  331. }
  332.  
  333.  
  334. /* ----------------------------------------------------*/
  335. /* Large Devices, Wide Screens */
  336. /* ----------------------------------------------------*/
  337. @media only screen and (min-width : 992px) and (max-width : 1200px) {
  338. .innercont .body .buttoncontainer .ctabutton.but1 { width: 100%; height: 70px; }
  339. .innercont .body .buttoncontainer .ctabutton.but2 { width: 100%; height: 70px; }
  340. .innercont .body .buttoncontainer .ctabutton.but1 h1 { width: 70%; }
  341. .innercont .body .buttoncontainer .ctabutton.but2 h1 { width: 70%; }
  342. }
Add Comment
Please, Sign In to add comment