RyanEarnshaw

Untitled

Apr 5th, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.70 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.  
  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. .innercont .body .list {
  147. position: relative;
  148. display: inline-block;
  149. width: 100%;
  150. margin-bottom: 20px;
  151. float: left;
  152. }
  153. .innercont .body .list h2:nth-child(1) {
  154. border-top: 2px solid #8ec640;
  155. }
  156. .innercont .body .list h2:nth-last-child(1) {
  157. border-bottom: 2px solid #8ec640;
  158. }
  159. .innercont .body .list h2 {
  160. /*border-top: 1px solid #8ec640;
  161. border-bottom: 1px solid #8ec640;*/
  162. color: #8ec640;
  163. margin: 0;
  164. padding: 7px 0;
  165. }
  166.  
  167.  
  168. .body .imagetable {
  169. position: relative;
  170. float: left;
  171. width: 100%;
  172. border-collapse: collapse;
  173. }
  174. .body .imagetable img {
  175. position: relative;
  176. left: 50%;
  177. transform: translateX(-50%);
  178. max-width: 90%;
  179. max-height: 90%;
  180. }
  181. .body .imagetable .width50 { width: 50%; }
  182.  
  183.  
  184. .body .case_study_title {
  185. position: relative;
  186. display: inline-block;
  187. width: 100%;
  188. border-bottom: 1px solid #8ec640;
  189. background-color: transparent;
  190. float: left;
  191. margin: 10px 0;
  192. cursor: pointer;
  193. }
  194. .body .case_study_title h2 {
  195. position: relative;
  196. display: inline-block;
  197. margin: 0;
  198. width: 100%;
  199. float: left;
  200. color: #8ec640;
  201. background-color: transparent;
  202. font-size: 14px;
  203. font-family: sans-serif;
  204. font-weight: 100;
  205. padding: 0;
  206. padding-bottom: 10px;
  207. }
  208. .body .case_study_title h3 {
  209. position: absolute;
  210. display: inline-block;
  211. right: 30px;
  212. bottom: 10px;
  213. color: #8ec640;
  214. background-color: transparent;
  215. font-size: 14px;
  216. font-family: sans-serif;
  217. font-weight: 100;
  218. }
  219. .body .case_study_title .plus {
  220. position: absolute;
  221. display: inline-block;
  222. right: 0;
  223. top: 0;
  224. color: #8ec640;
  225. background-color: transparent;
  226. font-size: 30px;
  227. font-family: sans-serif;
  228. font-weight: bold;
  229. padding-bottom: 10px;
  230. opacity: 0;
  231. transition: opacity 0.5s ease;
  232. }
  233. .body .case_study_title .minus {
  234. position: absolute;
  235. display: inline-block;
  236. right: 3px;
  237. bottom: 17px;
  238. height: 4px;
  239. width: 13px;
  240. background-color: #8ec640;
  241. opacity: 0;
  242. transition: opacity 0.5s ease;
  243. }
  244. .body .case_study_title .plus.active,
  245. .body .case_study_title .minus.active {
  246. opacity: 1;
  247. }
  248. .body .case_study_container {
  249. position: relative;
  250. display: inline-block;
  251. max-height: 0;
  252. overflow: hidden;
  253. transition: max-height 1s cubic-bezier(0,1,0,1);
  254. text-align: center;
  255. }
  256. .body .case_study_container.open {
  257. max-height: 1000px;
  258. transition: max-height 1s ease-in-out;
  259. }
  260. .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. text-align: left;
  273. }
  274. .body .case_study_container h2 {
  275. position: relative;
  276. display: inline-block;
  277. margin: 0;
  278. width: 100%;
  279. float: left;
  280. color: #a7a7a7;
  281. background-color: transparent;
  282. font-size: 14px;
  283. font-family: sans-serif;
  284. font-weight: 100;
  285. padding-top: 10px;
  286. text-align: left;
  287. }
  288. .body .case_study_container img {
  289. position: relative;
  290. display: inline-block;
  291. width: 400px;
  292. }
  293.  
  294.  
  295. /* MEDIA QUERIES */
  296.  
  297.  
  298.  
  299. /* ----------------------------------------------------*/
  300. /* Code That Doesnt Change Between Mobile Resolution */
  301. /* ----------------------------------------------------*/
  302. @media only screen and (min-width : 0px) and (max-width : 992px) {
  303. .innercont .body .column.c1 { width: 100%; margin-right: 0; }
  304. .innercont .body .column.c2 { width: 100% }
  305. }
  306.  
  307.  
  308. /* ----------------------------------------------------*/
  309. /* Custom, iPhone Retina */
  310. /* ----------------------------------------------------*/
  311. @media only screen and (max-width : 320px) {
  312.  
  313. }
  314.  
  315.  
  316. /* ----------------------------------------------------*/
  317. /* Extra Small Devices, Phones */
  318. /* ----------------------------------------------------*/
  319. @media only screen and (min-width : 320px) and (max-width : 480px) {
  320.  
  321. }
  322.  
  323.  
  324. /* ----------------------------------------------------*/
  325. /* Small Devices, Tablets */
  326. /* ----------------------------------------------------*/
  327. @media only screen and (min-width : 480px) and (max-width : 768px) {
  328.  
  329. }
  330.  
  331.  
  332. /* ----------------------------------------------------*/
  333. /* Medium Devices, Desktops */
  334. /* ----------------------------------------------------*/
  335. @media only screen and (min-width : 768px) and (max-width : 992px) {
  336.  
  337. }
  338.  
  339.  
  340. /* ----------------------------------------------------*/
  341. /* Large Devices, Wide Screens */
  342. /* ----------------------------------------------------*/
  343. @media only screen and (min-width : 992px) and (max-width : 1200px) {
  344. .innercont .body .buttoncontainer .ctabutton h1 { width: 70%; }
  345. .innercont .body .buttoncontainer .ctabutton.but3 { height: 70px; width: 100%; margin-right: 0; }
  346. }
Advertisement
Add Comment
Please, Sign In to add comment