RyanEarnshaw

Untitled

Apr 11th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.40 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.  
  127. /* MEDIA QUERIES */
  128.  
  129.  
  130.  
  131. /* ----------------------------------------------------*/
  132. /* Code That Doesnt Change Between Mobile Resolution */
  133. /* ----------------------------------------------------*/
  134. @media only screen and (min-width : 0px) and (max-width : 992px) {
  135. .innercont .body .column.c1 { width: 100%; margin-right: 0; }
  136. .innercont .body .column.c2 { width: 100% }
  137.  
  138. }
  139.  
  140.  
  141. /* ----------------------------------------------------*/
  142. /* Custom, iPhone Retina */
  143. /* ----------------------------------------------------*/
  144. @media only screen and (max-width : 320px) {
  145.  
  146. }
  147.  
  148.  
  149. /* ----------------------------------------------------*/
  150. /* Extra Small Devices, Phones */
  151. /* ----------------------------------------------------*/
  152. @media only screen and (min-width : 320px) and (max-width : 480px) {
  153.  
  154. }
  155.  
  156.  
  157. /* ----------------------------------------------------*/
  158. /* Small Devices, Tablets */
  159. /* ----------------------------------------------------*/
  160. @media only screen and (min-width : 480px) and (max-width : 768px) {
  161.  
  162. }
  163.  
  164.  
  165. /* ----------------------------------------------------*/
  166. /* Medium Devices, Desktops */
  167. /* ----------------------------------------------------*/
  168. @media only screen and (min-width : 768px) and (max-width : 992px) {
  169.  
  170. }
  171.  
  172.  
  173. /* ----------------------------------------------------*/
  174. /* Large Devices, Wide Screens */
  175. /* ----------------------------------------------------*/
  176. @media only screen and (min-width : 992px) and (max-width : 1200px) {
  177.  
  178. }
  179.  
  180.  
  181.  
  182. /* ----------------------------------------------------*/
  183. /* SPECIAL */
  184. /* ----------------------------------------------------*/
  185. @media only screen and (min-width : 1200px) and (max-width : 1550px) {
  186.  
  187. }
Advertisement
Add Comment
Please, Sign In to add comment