RyanEarnshaw

Untitled

Apr 11th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.86 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: 0vh 5vw 5vh 5vw;
  16. box-sizing: border-box;
  17. background-color: #ffffff;
  18. }
  19.  
  20. .innercont .title {
  21. position: relative;
  22. display: inline-block;
  23. float: left;
  24. width: 100%;
  25. margin: 20px 0 40px;
  26. }
  27. .innercont .title h1 {
  28. font-size: 40px;
  29. font-family: 'Work Sans';
  30. font-weight: 100;
  31. color: #8ec640;
  32. }
  33. .innercont .title:after {
  34. content: '';
  35. position: absolute;
  36. bottom: -16px;
  37. width: 0px;
  38. height: 2px;
  39. background-color: #8ec640;
  40. animation: underline_animation 1s 0.5s 1 normal forwards;
  41. -o-animation: underline_animation 1s 0.5s 1 normal forwards;
  42. -moz-animation: underline_animation 1s 0.5s 1 normal forwards;
  43. -webkit-animation: underline_animation 1s 0.5s 1 normal forwards;
  44. }
  45. @keyframes underline_animation {
  46. 0% { width: 0px; }
  47. 100% { width: 100px; }
  48. }
  49. @-webkit-keyframes underline_animation {
  50. 0% { width: 0px; }
  51. 100% { width: 100px; }
  52. }
  53. @-moz-keyframes underline_animation {
  54. 0% { width: 0px; }
  55. 100% { width: 100px; }
  56. }
  57. @-o-keyframes underline_animation {
  58. 0% { width: 0px; }
  59. 100% { width: 100px; }
  60. }
  61. .innercont .body {
  62. position: relative;
  63. display: inline-block;
  64. float: left;
  65. width: 100%;
  66. }
  67. .innercont .body .column {
  68. position: relative;
  69. display: inline-block;
  70. height: 100%;
  71. float: left;
  72. }
  73. .innercont .body .column.c1 { width: 30%; margin-right: 5%; }
  74. .innercont .body .column.c2 { width: 65% }
  75. .innercont .body .column.c3 { width: 100% }
  76.  
  77. .innercont .body h2 {
  78. position: relative;
  79. font-size: 17px;
  80. font-family: 'Work Sans';
  81. font-weight: 100;
  82. color: #6b6b6b;
  83. margin: 7px 0;
  84. line-height: 25px;
  85. width: 100%;
  86. float: left;
  87. }
  88. .innercont .body .column.c1 h2 {
  89. font-size: 22px;
  90. }
  91. .innercont .body h2 span {
  92. font-size: 24px;
  93. font-family: 'Raleway';
  94. font-weight: 200;
  95. color: #83c640;
  96. }
  97.  
  98. .innercont .body .quote {
  99. position: relative;
  100. display: inline-block;
  101. padding: 10px 0px 10px 0px;
  102. width: 100%;
  103. }
  104. .innercont .body .quote h2 {
  105. position: relative;
  106. display: inline-block;
  107. width: 100%;
  108. line-height: 25px;
  109. font-family: 'Work Sans';
  110. font-size: 23px;
  111. font-weight: 300;
  112. margin-top: 10px;
  113. color: #000000;
  114. text-align: center;
  115. }
  116. .innercont .body .grey-container {
  117. position: relative;
  118. display: inline-block;
  119. width: 100%;
  120. padding: 30px 5vw;
  121. margin-left: -5vw;
  122. background-color: #e3e3e3;
  123. }
  124.  
  125.  
  126. .image-1 {
  127. position: relative;
  128. display: inline-block;
  129. width: 100%;
  130. }
  131. .image-2 {
  132. position: relative;
  133. display: inline-block;
  134. width: 100%;
  135. }
  136. .image-3 {
  137. position: relative;
  138. display: inline-block;
  139. width: 30%;
  140. }
  141. .container-2 {
  142. position: relative;
  143. display: inline-block;
  144. width: 100%;
  145. }
  146. .innercont .body .container-2 h2 {
  147. width: 70%;
  148. float: left;
  149. text-align: left;
  150. padding: 30px 30px 30px 0px;
  151. box-sizing: border-box;
  152. }
  153. /* MEDIA QUERIES */
  154.  
  155.  
  156.  
  157. /* ----------------------------------------------------*/
  158. /* Code That Doesnt Change Between Mobile Resolution */
  159. /* ----------------------------------------------------*/
  160. @media only screen and (min-width : 0px) and (max-width : 992px) {
  161. .innercont .body .column.c1 { width: 100%; margin-right: 0; }
  162. .innercont .body .column.c2 { width: 100% }
  163.  
  164. }
  165.  
  166.  
  167. /* ----------------------------------------------------*/
  168. /* Custom, iPhone Retina */
  169. /* ----------------------------------------------------*/
  170. @media only screen and (max-width : 320px) {
  171.  
  172. }
  173.  
  174.  
  175. /* ----------------------------------------------------*/
  176. /* Extra Small Devices, Phones */
  177. /* ----------------------------------------------------*/
  178. @media only screen and (min-width : 320px) and (max-width : 480px) {
  179.  
  180. }
  181.  
  182.  
  183. /* ----------------------------------------------------*/
  184. /* Small Devices, Tablets */
  185. /* ----------------------------------------------------*/
  186. @media only screen and (min-width : 480px) and (max-width : 768px) {
  187.  
  188. }
  189.  
  190.  
  191. /* ----------------------------------------------------*/
  192. /* Medium Devices, Desktops */
  193. /* ----------------------------------------------------*/
  194. @media only screen and (min-width : 768px) and (max-width : 992px) {
  195.  
  196. }
  197.  
  198.  
  199. /* ----------------------------------------------------*/
  200. /* Large Devices, Wide Screens */
  201. /* ----------------------------------------------------*/
  202. @media only screen and (min-width : 992px) and (max-width : 1200px) {
  203.  
  204. }
  205.  
  206.  
  207.  
  208. /* ----------------------------------------------------*/
  209. /* SPECIAL */
  210. /* ----------------------------------------------------*/
  211. @media only screen and (min-width : 1200px) and (max-width : 1550px) {
  212.  
  213. }
Advertisement
Add Comment
Please, Sign In to add comment