RyanEarnshaw

Untitled

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