style (copie 1).css 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. /* --------------------------------
  2. Vertical Timeline - by CodyHouse.co
  3. -------------------------------- */
  4. .navbar, footer {
  5. background-color: #334d63;
  6. color:#938A86;
  7. }
  8. .nav li a {
  9. text-transform: uppercase;
  10. text-decoration: none;
  11. font-weight: 400;
  12. letter-spacing: 1px;
  13. color: #0FA0CE;
  14. }
  15. .nav li a:hover {
  16. color: #fff;
  17. }
  18. .nav > li > a {
  19. padding-top: 19.5px;
  20. padding-bottom: 19.5px;
  21. }
  22. .nav > li {
  23. position: relative;
  24. display: block;
  25. padding: 10px 15px;
  26. }
  27. .nav > li {
  28. float: left;
  29. margin : 0;
  30. }
  31. a, a:hover, a:focus, a:active, a.active {
  32. outline: 0;
  33. }
  34. a {
  35. color: #334d63;
  36. /*text-decoration: none;*/
  37. }
  38. a:hover {
  39. color: #1EAEDB; }
  40. .nav {
  41. list-style: none;
  42. float: right !important;
  43. margin: auto;
  44. }
  45. /*.fa {
  46. display: inline-block;
  47. font: normal normal normal 14px/1 ForkAwesome;
  48. font-size: 14px;
  49. font-size: inherit;
  50. text-rendering: auto;
  51. }*/
  52. .social-buttons {
  53. margin-bottom: 0;
  54. text-align: right;
  55. }
  56. .copyright {
  57. margin-bottom: 0;
  58. text-align: center;
  59. }
  60. ul.social-buttons li a {
  61. font-size: 30px;
  62. line-height: 40px;
  63. color: #1EAEDB;
  64. display: block;
  65. /*width: 40px;
  66. height: 40px;*/
  67. /*border-radius: 100%;*/
  68. outline: 0;
  69. /*color: #fff;*/
  70. /*background-color: #222;*/
  71. }
  72. ul.quicklinks{
  73. margin-bottom: 0;
  74. text-align: left;
  75. }
  76. ul.quicklinks li {
  77. margin-bottom: 0;
  78. }
  79. ul.quicklinks li a {
  80. margin-bottom: 0;
  81. }
  82. footer a {
  83. color: #1EAEDB;
  84. }
  85. footer {
  86. line-height: 40px;
  87. }
  88. .list-inline > li {
  89. display: inline-block;
  90. padding-left: 5px;
  91. padding-right: 5px;
  92. }
  93. /*::before, ::after {
  94. -webkit-box-sizing: border-box;
  95. -moz-box-sizing: border-box;
  96. box-sizing: border-box;
  97. }
  98. .fa-twitter::before {
  99. content: "\f099";
  100. }
  101. .fa-mastodon::before {
  102. content: "\f2e1";
  103. }*/
  104. /* Bigger than 500 */
  105. @media (max-width: 500px) {
  106. .nav > li {
  107. float: none;
  108. }
  109. .nav {
  110. float: none;
  111. text-align: center;
  112. }
  113. }
  114. .timeline {
  115. overflow: hidden;
  116. margin: 2em auto;
  117. /*background-color: #a3d4ff;*/
  118. }
  119. .lesEtapes {
  120. position: relative;
  121. width: 90%;
  122. max-width: 1170px;
  123. margin: 0 auto;
  124. padding: 2em 0;
  125. }
  126. .lesEtapes::before {
  127. /* this is the vertical line */
  128. content: '';
  129. position: absolute;
  130. top: 0;
  131. left: 18px;
  132. height: 100%;
  133. width: 4px;
  134. /*background: #d7e4ed;*/
  135. background-color: #334d63;
  136. }
  137. .uneEtape {
  138. text-align: left;
  139. position: relative;
  140. margin: 2em 0;
  141. }
  142. .uneEtape:after {
  143. /* clearfix */
  144. content: "";
  145. display: table;
  146. clear: both;
  147. }
  148. .uneEtape:first-child {
  149. margin-top: 0;
  150. }
  151. .uneEtape:last-child {
  152. margin-bottom: 0;
  153. }
  154. .uneEtapeImage {
  155. position: absolute;
  156. top: 0;
  157. left: 0;
  158. width: 50px;
  159. height: 50px;
  160. border-radius: 50%;
  161. background:#334d63;
  162. }
  163. .uneEtapeImage img {
  164. display: block;
  165. width: 24px;
  166. height: 24px;
  167. position: relative;
  168. left: 50%;
  169. top: 50%;
  170. margin-left: -12px;
  171. margin-top: -12px;
  172. }
  173. .uneEtapeTxt {
  174. position: relative;
  175. margin-left: 60px;
  176. background: #a3d4ff;
  177. border-radius: 0.25em;
  178. padding: 1em;
  179. -webkit-box-shadow: 0 3px 0 #d7e4ed;
  180. box-shadow: 0 3px 0 #d7e4ed;
  181. background: #a3d4ff;
  182. /*border-style: solid;
  183. border-width: 5px;
  184. border-color: #a8151500;*/
  185. }
  186. .uneEtapeTxt:after {
  187. /* clearfix */
  188. content: "";
  189. display: table;
  190. clear: both;
  191. }
  192. .uneEtapeTxt::before {
  193. /* triangle next to content block */
  194. content: '';
  195. position: absolute;
  196. top: 16px;
  197. right: 100%;
  198. height: 0;
  199. width: 0;
  200. border: 7px solid transparent;
  201. border-right: 7px solid #a3d4ff;
  202. }
  203. /* Bigger than 500 */
  204. @media (max-width: 500px) {
  205. .uneEtapeTxt {
  206. margin-left: 0px;
  207. }
  208. .uneEtapeImage {
  209. visibility: hidden;
  210. }
  211. .uneEtapeTxt::before {
  212. visibility: hidden;
  213. }
  214. }