RyanEarnshaw

Untitled

Apr 5th, 2017
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.62 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: 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 40px;
  42. }
  43. .innercont .title:nth-child(3) {
  44. margin: 90px 0 0px;
  45. }
  46. .innercont .title h1 {
  47. font-size: 40px;
  48. font-family: 'Work Sans';
  49. font-weight: 100;
  50. color: #8ec640;
  51. }
  52. .innercont .title:after {
  53. content: '';
  54. position: absolute;
  55. bottom: -16px;
  56. width: 0px;
  57. height: 2px;
  58. background-color: #8ec640;
  59. animation: underline_animation 1s 0.5s 1 normal forwards;
  60. -o-animation: underline_animation 1s 0.5s 1 normal forwards;
  61. -moz-animation: underline_animation 1s 0.5s 1 normal forwards;
  62. -webkit-animation: underline_animation 1s 0.5s 1 normal forwards;
  63. }
  64. @keyframes underline_animation {
  65. 0% { width: 0px; }
  66. 100% { width: 100px; }
  67. }
  68. @-webkit-keyframes underline_animation {
  69. 0% { width: 0px; }
  70. 100% { width: 100px; }
  71. }
  72. @-moz-keyframes underline_animation {
  73. 0% { width: 0px; }
  74. 100% { width: 100px; }
  75. }
  76. @-o-keyframes underline_animation {
  77. 0% { width: 0px; }
  78. 100% { width: 100px; }
  79. }
  80. .innercont .body {
  81. position: relative;
  82. display: inline-block;
  83. float: left;
  84. width: 100%;
  85. }
  86. .innercont .body .column {
  87. position: relative;
  88. display: inline-block;
  89. height: 100%;
  90. float: left;
  91. }
  92. .innercont .body .column.c1 { width: 30%; margin-right: 5%; }
  93. .innercont .body .column.c2 { width: 65% }
  94. .innercont .body .column.c3 { width: 100% }
  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. .innercont .body .bullet{
  147. margin: 0;
  148. }
  149.  
  150.  
  151. .innercont .body .quote {
  152. display: inline-block;
  153. padding: 10px 0px 10px 0px;
  154. border-top: 2px solid #8ec640;
  155. border-bottom: 2px solid #8ec640;
  156. }
  157. .innercont .body .quote h2 {
  158. width: 100%;
  159. line-height: 25px;
  160. font-size: 13px;
  161. font-weight: 100;
  162. margin-top: 10px;
  163. color: #8ec640;
  164. }
  165. .innercont .body .quote h3 {
  166. font-size: 17px;
  167. font-family: sans-serif;
  168. color: #8ec640;
  169. font-weight: 100;
  170. width: 100%;
  171. margin-top: 10px;
  172. }
  173. .innercont .body h2 span {
  174. font-weight: bold;
  175. color: #83c640;
  176. }
  177.  
  178.  
  179. .body .icons {
  180. position: relative;
  181. display: inline-block;
  182. width: 100%;
  183. float: left;
  184. margin-bottom: 30px;
  185. }
  186. .body .icons .icon {
  187. position: relative;
  188. display: inline-block;
  189. width: 33%;
  190. padding: 0 2%;
  191. box-sizing: border-box;
  192. float: left;
  193. }
  194. .body .icons .icon img {
  195. position: relative;
  196. display: inline-block;
  197. width: 50%;
  198. padding: 0;
  199. float: left;
  200. }
  201. .body .icons .icon h1 {
  202. position: absolute;
  203. display: inline-block;
  204. width: 50%;
  205. font-size: 29px;
  206. font-family: sans-serif;
  207. font-weight: 100;
  208. line-height: 29px;
  209. top: 50%;
  210. right: 0;
  211. padding-right: 5%;
  212. transform: translateY(-50%);
  213. color: #3f3f3f;
  214. text-align: left;
  215. }
  216. .body .icons .icon h2 {
  217. position: relative;
  218. display: inline-block;
  219. width: 100%;
  220. font-size: 14px;
  221. font-family: sans-serif;
  222. font-weight: 100;
  223. line-height: 20px;
  224. color: #7c7c7c;
  225. text-align: left;
  226. float: left;
  227. }
  228.  
  229. .body .imagetable {
  230. position: relative;
  231. float: left;
  232. width: 100%;
  233. border-collapse: collapse;
  234. }
  235. .body .imagetable img {
  236. position: relative;
  237. left: 50%;
  238. transform: translateX(-50%);
  239. max-width: 90%;
  240. max-height: 90%;
  241. }
  242. .body .imagetable .width50 { width: 50%; }
  243.  
  244.  
  245. .body .case_study_title {
  246. position: relative;
  247. display: inline-block;
  248. width: 100%;
  249. border-bottom: 1px solid #8ec640;
  250. background-color: transparent;
  251. float: left;
  252. margin: 10px 0;
  253. cursor: pointer;
  254. }
  255. .body .case_study_title h2 {
  256. position: relative;
  257. display: inline-block;
  258. margin: 0;
  259. width: 100%;
  260. float: left;
  261. color: #8ec640;
  262. background-color: transparent;
  263. font-size: 14px;
  264. font-family: sans-serif;
  265. font-weight: 100;
  266. padding-bottom: 10px;
  267. }
  268. .body .case_study_title h3 {
  269. position: absolute;
  270. display: inline-block;
  271. right: 30px;
  272. bottom: 10px;
  273. color: #8ec640;
  274. background-color: transparent;
  275. font-size: 14px;
  276. font-family: sans-serif;
  277. font-weight: 100;
  278. }
  279. .body .case_study_title .plus {
  280. position: absolute;
  281. display: inline-block;
  282. right: 0;
  283. top: 0;
  284. color: #8ec640;
  285. background-color: transparent;
  286. font-size: 30px;
  287. font-family: sans-serif;
  288. font-weight: bold;
  289. padding-bottom: 10px;
  290. opacity: 0;
  291. transition: opacity 0.5s ease;
  292. }
  293. .body .case_study_title .minus {
  294. position: absolute;
  295. display: inline-block;
  296. right: 3px;
  297. bottom: 17px;
  298. height: 4px;
  299. width: 13px;
  300. background-color: #8ec640;
  301. opacity: 0;
  302. transition: opacity 0.5s ease;
  303. }
  304. .body .case_study_title .plus.active,
  305. .body .case_study_title .minus.active {
  306. opacity: 1;
  307. }
  308. .body .case_study_container {
  309. position: relative;
  310. display: inline-block;
  311. max-height: 0;
  312. overflow: hidden;
  313. transition: max-height 1s cubic-bezier(0,1,0,1);
  314. }
  315. .body .case_study_container.open {
  316. max-height: 300px;
  317. transition: max-height 1s ease-in-out;
  318. }
  319. .body .case_study_container h1 {
  320. position: relative;
  321. display: inline-block;
  322. margin: 0;
  323. width: 100%;
  324. float: left;
  325. color: #8ec640;
  326. background-color: transparent;
  327. font-size: 14px;
  328. font-family: sans-serif;
  329. font-weight: 100;
  330. padding-top: 10px;
  331. }
  332. .body .case_study_container h2 {
  333. position: relative;
  334. display: inline-block;
  335. margin: 0;
  336. width: 100%;
  337. float: left;
  338. color: #a7a7a7;
  339. background-color: transparent;
  340. font-size: 14px;
  341. font-family: sans-serif;
  342. font-weight: 100;
  343. padding-top: 10px;
  344. }
  345.  
  346.  
  347.  
  348. /* MEDIA QUERIES */
  349.  
  350.  
  351.  
  352. /* ----------------------------------------------------*/
  353. /* Code That Doesnt Change Between Mobile Resolution */
  354. /* ----------------------------------------------------*/
  355. @media only screen and (min-width : 0px) and (max-width : 992px) {
  356. .innercont .body .column.c1 { width: 100%; margin-right: 0; }
  357. .innercont .body .column.c2 { width: 100% }
  358. }
  359.  
  360.  
  361. /* ----------------------------------------------------*/
  362. /* Custom, iPhone Retina */
  363. /* ----------------------------------------------------*/
  364. @media only screen and (max-width : 320px) {
  365.  
  366. }
  367.  
  368.  
  369. /* ----------------------------------------------------*/
  370. /* Extra Small Devices, Phones */
  371. /* ----------------------------------------------------*/
  372. @media only screen and (min-width : 320px) and (max-width : 480px) {
  373.  
  374. }
  375.  
  376.  
  377. /* ----------------------------------------------------*/
  378. /* Small Devices, Tablets */
  379. /* ----------------------------------------------------*/
  380. @media only screen and (min-width : 480px) and (max-width : 768px) {
  381.  
  382. }
  383.  
  384.  
  385. /* ----------------------------------------------------*/
  386. /* Medium Devices, Desktops */
  387. /* ----------------------------------------------------*/
  388. @media only screen and (min-width : 768px) and (max-width : 992px) {
  389.  
  390. }
  391.  
  392.  
  393. /* ----------------------------------------------------*/
  394. /* Large Devices, Wide Screens */
  395. /* ----------------------------------------------------*/
  396. @media only screen and (min-width : 992px) and (max-width : 1200px) {
  397. .innercont .body .buttoncontainer .ctabutton h1 { width: 70%; }
  398. .innercont .body .buttoncontainer .ctabutton.but3 { height: 70px; width: 100%; margin-right: 0; }
  399. }
Advertisement
Add Comment
Please, Sign In to add comment