Advertisement
Guest User

css

a guest
Oct 23rd, 2016
270
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.25 KB | None | 0 0
  1. .card img {
  2. width: 200px;
  3. height: 200px;
  4. border: 1px solid grey;
  5. box-shadow: 0px 0px 10px black;
  6. margin-top: 8px;
  7. }
  8.  
  9.  
  10.  
  11. #dropdown1 li a {
  12. color: #2196f3;
  13. }
  14.  
  15. #carte-presentation div {
  16. margin-bottom: 4px;
  17. margin-top: 4px;
  18. }
  19.  
  20. .button-collapse {
  21. color: #26a69a;
  22. }
  23.  
  24. .parallax-container {
  25. min-height: 380px;
  26. line-height: 0;
  27. height: auto;
  28. color: rgba(255, 255, 255, .9);
  29. }
  30.  
  31. .parallax-container .section {
  32. width: 100%;
  33. }
  34.  
  35. @media only screen and (max-width: 992px) {
  36. .parallax-container .section {
  37. position: absolute;
  38. top: 40%;
  39. }
  40. #index-banner .section {
  41. top: 10%;
  42. }
  43. }
  44.  
  45. @media only screen and (max-width: 600px) {
  46. #index-banner .section {
  47. top: 0;
  48. }
  49. }
  50.  
  51. .icon-block {
  52. padding: 0 15px;
  53. }
  54.  
  55. .icon-block .material-icons {
  56. font-size: inherit;
  57. }
  58.  
  59. #timeline1 {
  60. font: normal 16px/1.5 "Helvetica Neue", sans-serif;
  61. background: #456990;
  62. color: #fff;
  63. overflow-x: hidden;
  64. padding-bottom: 50px;
  65. }
  66.  
  67.  
  68. /* INTRO SECTION
  69. –––––––––––––––––––––––––––––––––––––––––––––––––– */
  70. /*
  71. *,
  72. *::before,
  73. *::after {
  74. margin: 0;
  75. padding: 0;
  76. box-sizing: border-box;
  77. }
  78.  
  79. */
  80. /* TIMELINE
  81. –––––––––––––––––––––––––––––––––––––––––––––––––– */
  82.  
  83. #cartes-divider {
  84. color: #fff;
  85. border: 1px solid white;
  86. }
  87.  
  88. .timeline ul li {
  89. list-style-type: none;
  90. position: relative;
  91. width: 6px;
  92. margin: 0 auto;
  93. padding-top: 50px;
  94. background: #FFF;
  95. }
  96.  
  97. .timeline ul li::after {
  98. content: '';
  99. position: absolute;
  100. left: 50%;
  101. bottom: 0;
  102. transform: translateX(-50%);
  103. width: 30px;
  104. height: 30px;
  105. border-radius: 50%;
  106. background: inherit;
  107. }
  108.  
  109. .timeline ul li div {
  110. position: relative;
  111. bottom: 0;
  112. width: 400px;
  113. padding: 15px;
  114. background: #2196f3;
  115. }
  116.  
  117. .timeline ul li div::before {
  118. content: '';
  119. position: absolute;
  120. bottom: 7px;
  121. width: 0;
  122. height: 0;
  123. border-style: solid;
  124. }
  125.  
  126. .timeline ul li:nth-child(odd) div {
  127. left: 45px;
  128. }
  129.  
  130. .timeline ul li:nth-child(odd) div::before {
  131. left: -15px;
  132. border-width: 8px 16px 8px 0;
  133. border-color: transparent #2196f3 transparent transparent;
  134. }
  135.  
  136. .timeline ul li:nth-child(even) div {
  137. left: -439px;
  138. }
  139.  
  140. .timeline ul li:nth-child(even) div::before {
  141. right: -15px;
  142. border-width: 8px 0 8px 16px;
  143. border-color: transparent transparent transparent #2196f3;
  144. }
  145.  
  146. .timeline ul li::after {
  147. background: red;
  148. transition: background .5s ease-in-out;
  149. }
  150.  
  151. .timeline ul li.in-view::after {
  152. background: #00e676;
  153. }
  154.  
  155. .timeline ul li div {
  156. visibility: hidden;
  157. opacity: 0;
  158. transition: all .5s ease-in-out;
  159. }
  160.  
  161. .timeline ul li:nth-child(odd) div {
  162. transform: translate3d(200px, 0, 0);
  163. }
  164.  
  165. .timeline ul li:nth-child(even) div {
  166. transform: translate3d(-200px, 0, 0);
  167. }
  168.  
  169. .timeline ul li.in-view div {
  170. transform: none;
  171. visibility: visible;
  172. opacity: 1;
  173. }
  174.  
  175.  
  176.  
  177. footer.page-footer {
  178. margin: 0;
  179. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement