RyanEarnshaw

Untitled

Apr 6th, 2017
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.13 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. }
  19.  
  20.  
  21. .innercont .title {
  22. position: relative;
  23. display: inline-block;
  24. float: left;
  25. width: 100%;
  26. margin: 20px 0 20px;
  27. }
  28. .innercont .title h1 {
  29. font-size: 40px;
  30. font-family: 'Work Sans';
  31. font-weight: 100;
  32. color: #8ec640;
  33. }
  34. .innercont .title:after {
  35. content: '';
  36. position: absolute;
  37. bottom: -16px;
  38. width: 0px;
  39. height: 2px;
  40. background-color: #8ec640;
  41. animation: underline_animation 1s 0.5s 1 normal forwards;
  42. -o-animation: underline_animation 1s 0.5s 1 normal forwards;
  43. -moz-animation: underline_animation 1s 0.5s 1 normal forwards;
  44. -webkit-animation: underline_animation 1s 0.5s 1 normal forwards;
  45. }
  46. @keyframes underline_animation {
  47. 0% { width: 0px; }
  48. 100% { width: 100px; }
  49. }
  50. @-webkit-keyframes underline_animation {
  51. 0% { width: 0px; }
  52. 100% { width: 100px; }
  53. }
  54. @-moz-keyframes underline_animation {
  55. 0% { width: 0px; }
  56. 100% { width: 100px; }
  57. }
  58. @-o-keyframes underline_animation {
  59. 0% { width: 0px; }
  60. 100% { width: 100px; }
  61. }
  62. .innercont .body {
  63. position: relative;
  64. display: inline-block;
  65. float: left;
  66. width: 100%;
  67. text-align: center;
  68. }
  69. .innercont .body .mainimage {
  70. position: relative;
  71. display: inline-block;
  72. width: 100%;
  73. max-width: 770px;
  74. margin-top: 40px;
  75. }
  76. .innercont .body a {
  77. position: relative;
  78. display: inline-block;
  79. font-size: 15px;
  80. font-family: sans-serif;
  81. font-weight: bold;
  82. color: #ffffff;
  83. margin: 0;
  84. line-height: 25px;
  85. width: 100%;
  86. max-width: 768px;
  87. float: none;
  88. background-color: #8ec640;
  89. padding: 15px 0;
  90. text-decoration: none;
  91. border: 1px solid #73a331;
  92. transition: background-color 0.5s ease;
  93. }
  94. .innercont .body a:hover {
  95. background-color: #cde7aa;
  96. }
  97. .innercont .body h2 {
  98. position: relative;
  99. font-size: 15px;
  100. font-family: sans-serif;
  101. font-weight: 100;
  102. color: #6b6b6b;
  103. margin: 7px 0;
  104. line-height: 25px;
  105. width: 100%;
  106. float: left;
  107. }
  108. .innercont .body h2 a {
  109. font-weight: 600;
  110. color: #8ec640;
  111. text-decoration: none;
  112. }
  113. .innercont .body h2 span {
  114. font-weight: bold;
  115. color: #83c640;
  116. }
  117.  
  118. .email-modal {
  119. position: fixed;
  120. display: inline-block;
  121. top: -100px;
  122. left: 50%;
  123. transform: translateX(-50%);
  124. width: 100%;
  125. max-width: 600px;
  126. padding: 10px 0 12px;
  127. box-sizing: border-box;
  128. z-index: 100;
  129. border-radius: 5px;
  130. animation: email_animation 5s 0.5s 1 normal forwards;
  131. }
  132. @keyframes email_animation {
  133. 0% { top: -100px; }
  134. 20% { top: 30px; }
  135. 80% { top: 30px; }
  136. 100% { top: -100px; }
  137. }
  138. .email-modal.email-successful { background-color: #8ec640; }
  139. .email-modal.email-unsuccessful { background-color: #e04040; }
  140. .email-modal h1 {
  141. position: relative;
  142. display: inline-block;
  143. width: 100%;
  144. color: #000000;
  145. font-family: sans-serif;
  146. font-weight: bolf;
  147. font-size: 12px;
  148. text-align: center;
  149. }
  150.  
  151.  
  152. .innercont .body .form {
  153. position: relative;
  154. display: inline-block;
  155. width: 100%;
  156. float: left;
  157. margin-top: 40px;
  158. }
  159. .innercont .body .form h1 {
  160. font-size: 11px;
  161. font-family: sans-serif;
  162. font-weight: 100;
  163. color: #6b6b6b;
  164. margin-top: 20px;
  165. margin-bottom: 10px;
  166. line-height: 25px;
  167. }
  168. .innercont .body .form h1 span {
  169. color: #ff0000;
  170. }
  171.  
  172.  
  173.  
  174. .innercont .body .form form {
  175. position: relative;
  176. display: inline-block;
  177. float: left;
  178. width: 80%;
  179. }
  180. .innercont .body .form input,
  181. .innercont .body .form select {
  182. color: #8ec640;
  183. font-size: 13px;
  184. font-family: sans-serif;
  185. font-weight: 100;
  186. border: none;
  187. padding: 13px 5px;
  188. margin: 3px 0;
  189. background-color: #dfdfdf;
  190. border-radius: 2px;
  191. font-family: arial;
  192. box-sizing: border-box;
  193. }
  194. .innercont .body .form input:focus,
  195. .innercont .body .form input:valid,
  196. .innercont .body .form textarea:focus,
  197. .innercont .body .form textarea:valid {
  198. box-shadow: none;
  199. outline: none;
  200. background-position: 0 0;
  201. }
  202. .innercont .body .form .incomment {
  203. position: relative;
  204. display: inline-block;
  205. border: none;
  206. margin: 3px 0;
  207. background-color: #dfdfdf;
  208. border-radius: 2px;
  209. font-size: 13px;
  210. font-family: sans-serif;
  211. font-weight: 100;
  212. color: #8ec640;
  213. padding: 10px;
  214. resize: none;
  215. height: 40px;
  216. width: 100%;
  217. box-sizing: border-box;
  218. }
  219. .innercont .body .form .inname { width: 49%; float: left; }
  220. .innercont .body .form .incompany { width: 49%; float: right; }
  221. .innercont .body .form .inemail { width: 100%; float: left; }
  222.  
  223. .innercont .body .form .buttoncontainer {
  224. position: relative;
  225. display: inline-block;
  226. width: 100%;
  227. }
  228. .innercont .body .form .insubmit {
  229. font-size: 14px;
  230. float: left;
  231. padding: 15px 40px;
  232. font-family: 'Raleway';
  233. margin-top: 10px;
  234. border: 2px solid #8ec640;
  235. background-color: #8ec640;
  236. color: #ffffff;
  237. width: 100%;
  238. cursor: pointer;
  239. transition: all 0.2s ease;
  240. -webkit-appearance: none;
  241. }
  242. .innercont .body .form .insubmit:hover {
  243. background-color: #ffffff;
  244. color: #8ec640;
  245. }
  246.  
  247.  
  248.  
  249. /* ----------------------------------------------------*/
  250. /* Code That Doesnt Change Between Mobile Resolution */
  251. /* ----------------------------------------------------*/
  252. @media only screen and (min-width : 0px) and (max-width : 992px) {
  253. .innercont { margin: 0; width: 100%; }
  254. .innercont .title h2 { text-align: center; }
  255. .innercont .body .form h1 { text-align: center; }
  256. .innercont .body .form form { width: 100%; }
  257. }
  258.  
  259.  
  260. /* ----------------------------------------------------*/
  261. /* Custom, iPhone Retina */
  262. /* ----------------------------------------------------*/
  263. @media only screen and (max-width : 320px) {
  264. .innercont .body .form .inname { width: 100%; float: left; }
  265. .innercont .body .form .incompany { width: 100%; float: left; }
  266. }
  267.  
  268.  
  269. /* ----------------------------------------------------*/
  270. /* Extra Small Devices, Phones */
  271. /* ----------------------------------------------------*/
  272. @media only screen and (min-width : 320px) and (max-width : 480px) {
  273. .innercont .body .form .inname { width: 100%; float: left; }
  274. .innercont .body .form .incompany { width: 100%; float: left; }
  275. }
  276.  
  277.  
  278. /* ----------------------------------------------------*/
  279. /* Small Devices, Tablets */
  280. /* ----------------------------------------------------*/
  281. @media only screen and (min-width : 480px) and (max-width : 768px) {
  282.  
  283. }
  284.  
  285.  
  286. /* ----------------------------------------------------*/
  287. /* Medium Devices, Desktops */
  288. /* ----------------------------------------------------*/
  289. @media only screen and (min-width : 768px) and (max-width : 992px) {
  290.  
  291. }
  292.  
  293.  
  294. /* ----------------------------------------------------*/
  295. /* Large Devices, Wide Screens */
  296. /* ----------------------------------------------------*/
  297. @media only screen and (min-width : 992px) and (max-width : 1200px) {
  298.  
  299. }
Advertisement
Add Comment
Please, Sign In to add comment