_media-quieries.scss 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  1. @media screen and (max-width: 980px) {
  2. #start{
  3. .section{
  4. &:not(:nth-last-child(1)){
  5. margin-bottom: 100px;
  6. }
  7. &:not(#home){
  8. .section-content{
  9. h3, p{
  10. margin: 100px auto 30px auto;
  11. }
  12. }
  13. & > .sous-section{
  14. &>section{
  15. margin: 30px 0;
  16. &:nth-last-child(1){
  17. margin-bottom: 60px;
  18. }
  19. }
  20. .no-gal{
  21. &:not(#clients){
  22. min-width: 70%;
  23. }
  24. }
  25. }
  26. }
  27. }
  28. }
  29. }
  30. @media screen and (max-width: 900px) {
  31. Header{
  32. .title{
  33. height: 110px;
  34. padding-top: 0;
  35. }
  36. .navbar{
  37. top: 60px;
  38. left: 50px;
  39. right: 50px;
  40. ul{
  41. text-align: center;
  42. }
  43. }
  44. .logo{
  45. flex-direction: column-reverse;
  46. .why_lsdo {
  47. display: none;
  48. }
  49. #user{
  50. margin-top: 50px;
  51. margin-left: 0;
  52. &>div{
  53. text-align: center;
  54. }
  55. }
  56. }
  57. }
  58. #home{
  59. min-width: 100%!important;
  60. }
  61. #start{
  62. .section{
  63. &:not(#home){
  64. & > .sous-section{
  65. .no-gal{
  66. &:not(#clients){
  67. min-width: 90%;
  68. }
  69. }
  70. }
  71. .section-content{
  72. p{
  73. min-width: 90%;
  74. }
  75. }
  76. }
  77. }
  78. }
  79. footer{
  80. section{
  81. width: 90%
  82. }
  83. }
  84. }
  85. @media screen and (max-width: 600px) {
  86. body{
  87. padding: 0 10px;
  88. }
  89. header{
  90. .title{
  91. padding: 0 0 0 0;
  92. h1{
  93. a{
  94. font-size: $font40;
  95. }
  96. }
  97. }
  98. }
  99. #start{
  100. .section:not(#home) {
  101. & > .sous-section{
  102. .no-gal:not(#clients):nth-of-type(n+3) {
  103. .title{
  104. top: -50px;
  105. left: -50px;
  106. border: 50px solid #0f265c;
  107. border-top-color: transparent;
  108. border-right-color: transparent;
  109. border-bottom-color: transparent;
  110. h3{
  111. top:-40px!important;
  112. left:-40px!important;
  113. }
  114. }
  115. .content{
  116. p,ul{
  117. width: 65%;
  118. }
  119. }
  120. }
  121. }
  122. }
  123. section{
  124. .section-content{
  125. &> p{
  126. min-width: 100%;
  127. margin-bottom: 50px;
  128. }
  129. }
  130. }
  131. .section{
  132. margin-bottom: 20px;
  133. .sous-section{
  134. &> section{
  135. margin-bottom: 20px;
  136. }
  137. }
  138. }
  139. h2{
  140. font-size: $font32;
  141. }
  142. h3{
  143. font-size: $h3;
  144. white-space: normal!important;
  145. }
  146. #m-tier{
  147. section{
  148. &:nth-of-type(n+3){
  149. h3{
  150. font-size: 1rem;
  151. white-space: nowrap!important;
  152. top: -50px!important;
  153. }
  154. }
  155. }
  156. }
  157. #r-f-rences{
  158. h3{
  159. margin-bottom: 60px;
  160. }
  161. #clients{
  162. .images{
  163. img{
  164. margin:10px 10px;
  165. min-width: 70%;
  166. }
  167. }
  168. }
  169. }
  170. #recommandations{
  171. .owl-carousel{
  172. .owl-stage-outer{
  173. height: 350px!important;
  174. }
  175. .content{
  176. width: 250px!important;
  177. img{
  178. bottom: 20px!important;
  179. top: auto!important;
  180. }
  181. }
  182. }
  183. }
  184. #contact{
  185. & > div{
  186. p{
  187. min-width: 90%!important;
  188. text-align: center!important;
  189. &:not(:nth-of-type(1)){
  190. margin-top: 20px!important;
  191. }
  192. }
  193. }
  194. }
  195. }
  196. footer{
  197. & > section{
  198. &:last-child{
  199. p:last-child {
  200. margin-bottom: 0;
  201. }
  202. }
  203. }
  204. h3{
  205. font-size: 1.5rem;
  206. white-space: normal;
  207. }
  208. ul{
  209. justify-content: space-evenly;
  210. li{
  211. margin-left: 0;
  212. a{
  213. font-size: 1rem;
  214. }
  215. }
  216. }
  217. }
  218. }