Advertisement
Guest User

main

a guest
Aug 18th, 2015
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.06 KB | None | 0 0
  1. /**********************************
  2. GENERAL
  3. ***********************************/
  4.  
  5. body {
  6. font-family: 'Open Sans', sans-serif;
  7. }
  8.  
  9. #wrapper {
  10. max-width: 940px;
  11. margin: 0 auto;
  12. padding: 0 5%;
  13. }
  14.  
  15. a {
  16. text-decoration: none;
  17. }
  18.  
  19. img {
  20. max-width: 100%;
  21. }
  22.  
  23. h3 {
  24. margin: 0 0 1em 0;
  25. }
  26.  
  27.  
  28.  
  29. /**********************************
  30. HEADING
  31. ***********************************/
  32.  
  33. header {
  34. float: left;
  35. margin: 0 0 30px 0;
  36. padding: 5px 0 0 0;
  37. width: 100%;
  38. }
  39.  
  40. #logo {
  41. text-align: center;
  42. margin: 0;
  43. }
  44.  
  45. h1 {
  46. font-family: 'Changa One', sans-serif;
  47. margin: 15px 0;
  48. font-size: 1.75em;
  49. font-weight: normal;
  50. line-height: 0.8em;
  51. }
  52.  
  53. h2 {
  54. font-size: 0.75em;
  55. margin: -5px 0 0;
  56. font-weight: normal;
  57. }
  58.  
  59.  
  60.  
  61. /**********************************
  62. NAVIGATION
  63. ***********************************/
  64.  
  65. nav {
  66. text-align: center;
  67. padding: 10px 0;
  68. margin: 20px 0 0;
  69. }
  70.  
  71. nav ul {
  72. list-style: none;
  73. margin: 0 10px;
  74. padding: 0;
  75. }
  76.  
  77. nav li {
  78. display: inline-block;
  79. }
  80.  
  81. nav a {
  82. font-weight: 800;
  83. padding: 15px 10px;
  84. }
  85.  
  86.  
  87.  
  88. /**********************************
  89. FOOTER
  90. ***********************************/
  91.  
  92. footer {
  93. font-size: 0.75em;
  94. text-align: center;
  95. clear: both;
  96. padding-top: 50px;
  97. color: #ccc;
  98. }
  99.  
  100. .social-icon {
  101. width: 20px;
  102. height: 20px;
  103. margin: 0 5px;
  104. }
  105.  
  106.  
  107.  
  108. /**********************************
  109. PAGE: PORTFOLIO
  110. ***********************************/
  111.  
  112. #gallery {
  113. margin: 0;
  114. padding: 0;
  115. list-style: none;
  116. }
  117.  
  118. #gallery li {
  119. float: left;
  120. width: 45%;
  121. margin: 2.5%;
  122. background-color: #f5f5f5;
  123. color: #bdc3c7;
  124. }
  125.  
  126. #gallery li a p {
  127. margin: 0;
  128. padding: 5%;
  129. font-size: 0.75em;
  130. color: #bdc3c7
  131. }
  132.  
  133.  
  134.  
  135. /**********************************
  136. PAGE: ABOUT
  137. ***********************************/
  138.  
  139. .profile-photo {
  140. display: block;
  141. max-width: 150px;
  142. margin: 0 auto 30px;
  143. border-radius: 100%;
  144. }
  145.  
  146.  
  147.  
  148. /**********************************
  149. PAGE: CONTACT
  150. ***********************************/
  151.  
  152. .contact-info {
  153. list-style: none;
  154. padding: 0;
  155. margin: 0;
  156. font-size: 0.9em;
  157. }
  158.  
  159. .contact-info a {
  160. display: block;
  161. min-height: 20px;
  162. background-repeat: no-repeat;
  163. background-size: 20px 20px;
  164. padding: 0 0 0 30px;
  165. margin: 0 0 10px;
  166. }
  167.  
  168. .contact-info li.phone a {
  169. background-image: url('../img/phone.png');
  170. }
  171.  
  172. .contact-info li.mail a {
  173. background-image: url('../img/mail.png');
  174. }
  175.  
  176. .contact-info li.twitter a {
  177. background-image: url('../img/twitter.png');
  178. }
  179.  
  180.  
  181.  
  182. /**********************************
  183. COLORS
  184. ***********************************/
  185.  
  186. /* site body */
  187. body {
  188. background-color: #fff;
  189. color: #999;
  190. }
  191.  
  192. /* green header */
  193. header {
  194. background: #6ab47b;
  195. border-color: #599a68;
  196. }
  197.  
  198. /* nav background on mobile */
  199. nav {
  200. background: #599a68;
  201. }
  202.  
  203. /* logo text */
  204. h1, h2 {
  205. color: #fff;
  206. }
  207.  
  208. /* links */
  209. a {
  210. color: #6ab47b;
  211. }
  212.  
  213. /* nav link */
  214. nav a, nav a:visited {
  215. color: #fff;
  216. }
  217.  
  218. /* selected nav link */
  219. nav a.selected, nav a:hover {
  220. color: #32673f;
  221. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement