RyanEarnshaw

Untitled

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