_start.scss 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
  1. body {
  2. position: relative;
  3. }
  4. #home {
  5. width: 40%;
  6. min-width: 700px;
  7. margin-left: auto;
  8. margin-right: auto;
  9. }
  10. .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
  11. background-color: #964587!important;
  12. }
  13. .mCSB_scrollTools .mCSB_draggerRail {
  14. background-color: $bkg-d!important;
  15. }
  16. .section-content {
  17. p{
  18. text-align: center;
  19. }
  20. .block{
  21. width: 100%;
  22. }
  23. .content {
  24. width: 50%;
  25. margin: 70px auto;
  26. }
  27. }
  28. .sous-section {
  29. width: 100%;
  30. display: -webkit-inline-box;
  31. display: -ms-inline-flexbox;
  32. display: inline-flex;
  33. -ms-flex-wrap: wrap;
  34. flex-wrap: wrap;
  35. -webkit-box-pack: space-evenly;
  36. -ms-flex-pack: space-evenly;
  37. justify-content: space-evenly;
  38. h3 {
  39. @include filet;
  40. }
  41. & > section{
  42. .title{
  43. margin-bottom: 70px;
  44. }
  45. }
  46. .item{
  47. p{
  48. text-align: justify;
  49. }
  50. }
  51. }
  52. .blocks {
  53. width: 35%;
  54. margin-bottom: 50px;
  55. .title{
  56. margin-bottom: 10px;
  57. }
  58. }
  59. .item-etapes {
  60. position: relative;
  61. .title {
  62. @include triangle;
  63. pointer-events: none;
  64. }
  65. h4 {
  66. @include rotateH;
  67. }
  68. .content {
  69. overflow: hidden;
  70. position: relative;
  71. .txt {
  72. display: -webkit-inline-box;
  73. display: -ms-inline-flexbox;
  74. display: inline-flex;
  75. -webkit-box-pack: center;
  76. -ms-flex-pack: center;
  77. justify-content: center;
  78. -webkit-box-align: center;
  79. -ms-flex-align: center;
  80. align-items: center;
  81. -webkit-box-orient: vertical;
  82. -webkit-box-direction: normal;
  83. -ms-flex-direction: column;
  84. flex-direction: column;
  85. position: absolute;
  86. width: 100%;
  87. height: 100%;
  88. top: 0%;
  89. left: 0;
  90. background: transparent;
  91. -webkit-transform: scale(0.95);
  92. transform: scale(0.95);
  93. -webkit-transition: background 0.5s ease, -webkit-transform 0.5s ease;
  94. transition: background 0.5s ease, -webkit-transform 0.5s ease;
  95. transition: transform 0.5s ease, background 0.5s ease;
  96. transition: transform 0.5s ease, background 0.5s ease, -webkit-transform 0.5s ease;
  97. .content{
  98. padding: 20px;
  99. }
  100. p, ul, li, a{
  101. color: transparent;
  102. }
  103. ul{
  104. margin-left: 20px;
  105. margin-bottom: 20px;
  106. }
  107. li{
  108. list-style: initial!important;
  109. }
  110. }
  111. }
  112. &:hover {
  113. .txt {
  114. -webkit-transition: background 0.5s ease, -webkit-transform 0.5s ease;
  115. transition: background 0.5s ease, -webkit-transform 0.5s ease;
  116. transition: transform 0.5s ease, background 0.5s ease;
  117. transition: transform 0.5s ease, background 0.5s ease, -webkit-transform 0.5s ease;
  118. -webkit-transform: scale(1);
  119. transform: scale(1);
  120. background: $blue;
  121. p, ul, li, a{
  122. color: white;
  123. }
  124. .content{
  125. overflow: auto;
  126. }
  127. }
  128. }
  129. }
  130. .arrow {
  131. @include arrow;
  132. }
  133. .no-gal {
  134. .section_n2 {
  135. display: -webkit-inline-box;
  136. display: -ms-inline-flexbox;
  137. display: inline-flex;
  138. -ms-flex-wrap: wrap;
  139. flex-wrap: wrap;
  140. -webkit-box-pack: space-evenly;
  141. -ms-flex-pack: space-evenly;
  142. justify-content: space-evenly;
  143. }
  144. }
  145. .galerie{
  146. h5{
  147. margin-bottom: 0;
  148. }
  149. }
  150. #start {
  151. margin: 0 50px;
  152. & > section{
  153. position: relative;
  154. margin-bottom: 150px;
  155. &:not(:first-child){
  156. margin-bottom: 150px;
  157. }
  158. &:last-child{
  159. margin-bottom: 0px!important;
  160. }
  161. h2 {
  162. @include filet-b;
  163. }
  164. .sous-section{
  165. & > section{
  166. padding: 0 50px;
  167. }
  168. }
  169. #clients{
  170. .images {
  171. display: -webkit-inline-box;
  172. display: -ms-inline-flexbox;
  173. display: inline-flex;
  174. -ms-flex-wrap: wrap;
  175. flex-wrap: wrap;
  176. -webkit-box-align: center;
  177. -ms-flex-align: center;
  178. align-items: center;
  179. -webkit-box-pack: space-evenly;
  180. -ms-flex-pack: space-evenly;
  181. justify-content: space-evenly;
  182. img {
  183. width: 15%;
  184. min-width: 150px;
  185. height: 100%;
  186. margin-bottom: 10px;
  187. }
  188. }
  189. }
  190. }
  191. .section:not(#home) {
  192. background: $section;
  193. & > .sous-section {
  194. section {
  195. width: 100%;
  196. }
  197. }
  198. }
  199. #contact {
  200. .sous-section{
  201. // flex-direction: row-reverse!important;
  202. }
  203. background: transparent!important;
  204. .blocks{
  205. display: -webkit-inline-box;
  206. display: -ms-inline-flexbox;
  207. display: inline-flex;
  208. -webkit-box-orient: vertical;
  209. -webkit-box-direction: reverse;
  210. -ms-flex-direction: column-reverse;
  211. flex-direction: column-reverse;
  212. -webkit-box-pack: center;
  213. -ms-flex-pack: center;
  214. justify-content: center;
  215. &:nth-of-type(1){
  216. -webkit-box-align: end;
  217. -ms-flex-align: end;
  218. align-items: flex-end;
  219. p{
  220. text-align: right!important;
  221. }
  222. }
  223. &:nth-of-type(2){
  224. -webkit-box-align: start;
  225. -ms-flex-align: start;
  226. align-items: flex-start;
  227. }
  228. .title{
  229. display: none;
  230. }
  231. .content{
  232. margin-top: 20px;
  233. p{
  234. margin-top: 5px;
  235. }
  236. }
  237. .images {
  238. width: 10%;
  239. min-width: 180px;
  240. height: auto;
  241. img{
  242. border-radius: 150px;
  243. }
  244. }
  245. }
  246. h2 {
  247. background: transparent!important;
  248. }
  249. }
  250. }