Guest User

CSS

a guest
Apr 7th, 2016
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.91 KB | None | 0 0
  1. /* General */
  2.  
  3. .container {
  4. width: 70%;
  5. }
  6.  
  7.  
  8. /* Header */
  9.  
  10. .header {
  11. background-color: rgba(255, 255, 255, 0.95);
  12. border-bottom: 1px solid #ddd;
  13.  
  14. font-family: 'Oswald', sans-serif;
  15. font-weight: 300;
  16.  
  17. font-size: 17px;
  18. padding: 1% 2% 1% 1%;
  19. }
  20.  
  21.  
  22. /* Menu */
  23.  
  24. .header .menu {
  25. float: right;
  26. list-style: none;
  27. margin: 1% 0 1% 0;
  28. }
  29.  
  30. .menu > li {
  31. display: inline;
  32. padding: 0 3% 0 1.5%;
  33. }
  34.  
  35. .menu a {
  36. color: #898989;
  37. }
  38.  
  39. /* Dropdown */
  40.  
  41. .dropdown-menu {
  42. font-size: 16px;
  43. margin-top: 1%;
  44. min-width: 95px;
  45. }
  46.  
  47. .dropdown-menu li a {
  48. color: #898989;
  49. padding: 8%;
  50. font-weight: 300;
  51. }
  52.  
  53.  
  54. /* Carousel */
  55.  
  56. .slider {
  57. position: relative;
  58. width: 100%;
  59. height: 470px;
  60. border-bottom: 1px solid #ddd;
  61. }
  62.  
  63. .slide {
  64. background: transparent url('http://s3.amazonaws.com/codecademy-content/courses/ltp2/img/flipboard/feature-gradient-transparent.png') center center no-repeat;
  65. background-size: cover;
  66. display: none;
  67. position: absolute;
  68. top: 0;
  69. left: 0;
  70. width: 100%;
  71. height: 100%;
  72. }
  73.  
  74. .active-slide {
  75. display: block;
  76. }
  77.  
  78. .slide-copy h1 {
  79. color: #363636;
  80.  
  81. font-family: 'Oswald', sans-serif;
  82. font-weight: 400;
  83.  
  84. font-size: 40px;
  85. margin-top: 20%;
  86. margin-bottom: 0;
  87. }
  88.  
  89. .slide-copy h2 {
  90. color: #b7b7b7;
  91.  
  92. font-family: 'Oswald', sans-serif;
  93. font-weight: 400;
  94.  
  95. font-size: 40px;
  96. margin: 2%;
  97. }
  98.  
  99. .slide-copy p {
  100. color: #959595;
  101. font-family: Georgia, "Times New Roman", serif;
  102. font-size: 1.15em;
  103. line-height: 1.75em;
  104. margin-bottom: 5%;
  105. margin-top: 2%;
  106. }
  107.  
  108. .slide-img {
  109. text-align: right;
  110. width: 0.5%;
  111. height: auto;
  112. }
  113.  
  114. /* Slide feature */
  115.  
  116. .slide-feature {
  117. text-align: center;
  118. background-image: url('http://s3.amazonaws.com/codecademy-content/courses/ltp2/img/flipboard/ac.png');
  119. height: 470px;
  120. }
  121.  
  122. .slide-feature img {
  123. margin-top: 2%;
  124. margin-bottom: 5%;
  125. }
  126.  
  127. .slide-feature a {
  128. display: block;
  129. color: #6fc5e0;
  130.  
  131. font-family: "HelveticaNeueMdCn", Helvetica, sans-serif;
  132. font-family: 'Oswald', sans-serif;
  133. font-weight: 400;
  134.  
  135. font-size: 20px;
  136. }
  137.  
  138. .slider-nav {
  139. text-align: center;
  140. margin-top: 1.5%;
  141. }
  142.  
  143. .arrow-prev {
  144. margin-right: 2.8%;
  145. display: inline-block;
  146. vertical-align: top;
  147. margin-top: 0.7%;
  148. }
  149.  
  150. .arrow-next {
  151. margin-left: 2.5%;
  152. display: inline-block;
  153. vertical-align: top;
  154. margin-top: 0.7%;
  155. }
  156.  
  157. .slider-dots {
  158. list-style: none;
  159. display: inline-block;
  160. padding-left: 0;
  161. margin-bottom: 0;
  162. }
  163.  
  164. .slider-dots li {
  165. color: #bbbcbc;
  166. display: inline;
  167. font-size: 30px;
  168. margin-right: 1%;
  169. }
  170.  
  171. .slider-dots li.active-dot {
  172. color: #363636;
  173. }
  174.  
  175. /* App links */
  176.  
  177. .get-app {
  178. list-style: none;
  179. padding-bottom: 1%;
  180. padding-left: 1%;
  181. padding-top: 1%;
  182. }
  183.  
  184. .get-app li {
  185. float: left;
  186. margin-bottom: 1%;
  187. margin-right: 1%;
  188. margin-left: 1%;
  189. }
  190.  
  191. .get-app img {
  192. height: 40px;
  193. }
Add Comment
Please, Sign In to add comment