_mobile.scss 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684
  1. @media screen and (max-width: 1450px) {
  2. html{
  3. font-size: 13px;
  4. .navbar{
  5. nav{
  6. li:nth-last-child(1){
  7. width: 20px;
  8. }
  9. }
  10. }
  11. }
  12. }
  13. @media screen and (max-width: 1000px) {
  14. .blog, .home{
  15. #item{
  16. .card:nth-child(5n+1){
  17. width: 100%!important;
  18. }
  19. }
  20. }
  21. .slider{
  22. width: 100%!important;
  23. }
  24. .item{
  25. width: 100%!important;
  26. .item_content{
  27. width: 100%!important;
  28. flex-direction: column;
  29. .side{
  30. padding-left: 0!important;
  31. }
  32. }
  33. }
  34. .default, .event{
  35. #body-wrapper{
  36. .item {
  37. .item_content{
  38. width: 100%!important;
  39. }
  40. }
  41. }
  42. }
  43. .archives, .news{
  44. #body-wrapper{
  45. width: 100%!important;
  46. .card{
  47. width: calc(50% - 1.4rem)!important;
  48. margin: 0!important;
  49. &:nth-child(even){
  50. margin: 0 1.4rem!important;
  51. }
  52. }
  53. }
  54. }
  55. #top{
  56. &.modular{
  57. .visit-us{
  58. #body-wrapper{
  59. width: 100%!important;
  60. }
  61. }
  62. }
  63. }
  64. .form{
  65. section{
  66. &#body-wrapper{
  67. #custom-form{
  68. width: 100%!important;
  69. .form-field{
  70. &:nth-child(1){
  71. grid-column: 1 / 4;
  72. grid-row: 1;
  73. }
  74. &:nth-child(2){
  75. grid-column: 4 / 7;
  76. grid-row: 1;
  77. }
  78. &:nth-child(3){
  79. grid-column: 1 / 4;
  80. grid-row: 2;
  81. }
  82. &:nth-child(4){
  83. grid-column: 4 / 7;
  84. grid-row: 2;
  85. }
  86. &:nth-child(5){
  87. grid-column: 1 / 4;
  88. grid-row: 3;
  89. }
  90. &:nth-child(6){
  91. grid-column: 4 / 7;
  92. grid-row: 3;
  93. }
  94. &:nth-child(7){
  95. grid-column: 1 / 4;
  96. grid-row: 4;
  97. }
  98. &:nth-child(8){
  99. grid-column: 4 / 7;
  100. grid-row: 4;
  101. }
  102. &:nth-child(9){
  103. grid-column: 1 / 7;
  104. grid-row: 5;
  105. }
  106. &:nth-child(10){
  107. grid-column: 1/ 7;
  108. grid-row: 6/8;
  109. }
  110. }
  111. .buttons{
  112. grid-column: 1/ 1;
  113. grid-row: 8;
  114. }
  115. }
  116. }
  117. }
  118. }
  119. }
  120. @media screen and (max-width: 768px) {
  121. h2{
  122. font-size: 3.5rem;
  123. line-height: 3.5rem;
  124. }
  125. .item{
  126. .item_title{
  127. margin-bottom: 2rem!important;
  128. }
  129. }
  130. .blog, .home{
  131. #item{
  132. .card{
  133. width: 100%!important;
  134. &:nth-child(5n+1){
  135. .card-header{
  136. margin-bottom: 2rem;
  137. }
  138. h5{
  139. font-size: 3.5rem;
  140. line-height: 3.7rem;
  141. }
  142. time{
  143. font-size: 3.5rem;
  144. line-height: 3.7rem;
  145. }
  146. }
  147. }
  148. }
  149. }
  150. #top{
  151. &.modular{
  152. .visit-us{
  153. #body-wrapper{
  154. width: 100%!important;
  155. .map_container{
  156. width: 100%!important;
  157. .map_content{
  158. width: 100%!important;
  159. }
  160. }
  161. }
  162. }
  163. .press{
  164. #body-wrapper{
  165. width: 100%!important;
  166. }
  167. }
  168. }
  169. }
  170. .newsletter .mc-field-group input{
  171. min-width: 340px!important;
  172. text-overflow: ellipsis!important;
  173. }
  174. footer{
  175. &>div{
  176. width: 100%!important;
  177. margin-bottom: 20px!important;
  178. }
  179. }
  180. .simplesearch_results{
  181. .section{
  182. .simplesearch{
  183. .search-wrapper{
  184. form{
  185. display: block!important;
  186. .search-input, button{
  187. font-size: 2rem!important;
  188. height: 50px!important;
  189. text-align: left!important;
  190. }
  191. }
  192. }
  193. }
  194. }
  195. }
  196. .search-results{
  197. .section{
  198. .simplesearch{
  199. .center{
  200. width: 100%!important;
  201. margin-top: 8rem!important;
  202. }
  203. }
  204. }
  205. .results{
  206. display: block!important;
  207. .search-row{
  208. width: 100%!important;
  209. padding: 0!important;
  210. }
  211. }
  212. }
  213. }
  214. @media screen and (max-width: 440px) {
  215. .navbar{
  216. nav{
  217. li:nth-last-child(1){
  218. position: absolute!important;
  219. bottom: 20px!important;
  220. width: 30px!important;
  221. }
  222. }
  223. }
  224. header{
  225. .desktop-menu{
  226. ul{
  227. li{
  228. ul{
  229. li{
  230. a{
  231. line-height: 2rem!important;
  232. }
  233. }
  234. }
  235. }
  236. }
  237. }
  238. }
  239. .home, .blog{
  240. #item{
  241. .card{
  242. margin-bottom: 3rem!important;
  243. .card-header{
  244. margin-bottom: 1rem!important;
  245. .card-cat{
  246. margin-bottom: 0rem;
  247. font-size: 1rem!important;
  248. line-height: 1rem!important;
  249. span{
  250. font-size: 1rem!important;
  251. line-height: 1rem!important;
  252. }
  253. }
  254. .card-title{
  255. h5{
  256. font-size: 2rem!important;
  257. line-height: 2rem!important;
  258. }
  259. span{
  260. font-size: 2rem!important;
  261. line-height: 2rem!important;
  262. }
  263. }
  264. }
  265. .card-date{
  266. font-size: 2rem!important;
  267. line-height: 2rem!important;
  268. time{
  269. font-size: 2rem!important;
  270. line-height: 2rem!important;
  271. }
  272. }
  273. }
  274. }
  275. }
  276. p{
  277. font-size: 1rem;
  278. line-height: 1.3rem;
  279. }
  280. h3{
  281. font-size: 1.6rem;
  282. }
  283. .blog{
  284. .current-upcoming, .upcoming{
  285. .card-image{
  286. width: calc(100% + 1.4rem)!important;
  287. margin-left: - 0.7rem!important;
  288. }
  289. }
  290. }
  291. #top{
  292. &.archives, .news{
  293. #body-wrapper {
  294. #item{
  295. .card{
  296. margin: 0 0 3rem 0!important;
  297. .card-cat{
  298. span{
  299. font-size: 1rem;
  300. }
  301. }
  302. }
  303. .card-image{
  304. width: calc(100% + 1.4rem)!important;
  305. margin-left: -0.7rem!important;
  306. }
  307. .card:nth-child(3n+2){
  308. margin: 0 0 3rem 0rem!important;
  309. .card-image{
  310. width: calc(100% + 1.4rem)!important;
  311. }
  312. }
  313. }
  314. }
  315. }
  316. }
  317. .item{
  318. margin-bottom: 3rem!important;
  319. width: 100%!important;
  320. .item_title{
  321. margin-bottom: 1rem!important;
  322. }
  323. .item_img{
  324. margin-bottom: 1rem!important;
  325. }
  326. .item_content{
  327. width: 100%!important;
  328. }
  329. .item_date{
  330. font-size: 1.5rem!important;
  331. }
  332. }
  333. .card-lieux{
  334. font-size: 1rem;
  335. }
  336. .slider{
  337. width: calc(100% + 1.4rem)!important;
  338. margin: 0 0 0 -0.7rem!important;
  339. .slick-list .slick-track .slick-slide div img{
  340. padding-bottom: 3rem!important;
  341. }
  342. }
  343. .caption{
  344. font-size: 1rem!important;
  345. margin-top: -3rem!important;
  346. }
  347. .events{
  348. h2{
  349. font-size: 2rem;
  350. line-height: 2rem;
  351. span{
  352. font-size: 2rem;
  353. line-height: 2rem;
  354. }
  355. }
  356. }
  357. .form section#body-wrapper{
  358. form{
  359. width: 100%!important;
  360. }
  361. width: 100%!important;
  362. #custom-form{
  363. display: block;
  364. .form-field{
  365. margin-bottom: 2rem;
  366. &:nth-child(9){
  367. display: block;
  368. .form-data{
  369. flex-direction: column;
  370. .radio{
  371. margin-top: 10px;
  372. }
  373. }
  374. }
  375. }
  376. .form-field:nth-child(10) textarea{
  377. min-height: 200px;
  378. }
  379. }
  380. }
  381. #top{
  382. &.modular{
  383. .press{
  384. #body-wrapper{
  385. width: 100%!important;
  386. .card{
  387. flex-direction: column;
  388. }
  389. }
  390. }
  391. .visit-us{
  392. section:not(:nth-last-child(1)){
  393. margin-bottom: 3rem;
  394. }
  395. #body-wrapper{
  396. width: 100%!important;
  397. .list_card{
  398. .map_content{
  399. flex-direction: column;
  400. &> div{
  401. width: 100%!important;
  402. .img{
  403. width: 100%!important;
  404. height: auto!important;
  405. img{
  406. width: 100%!important;
  407. height: auto!important;
  408. }
  409. }
  410. }
  411. }
  412. .map_header{
  413. margin-bottom: 1rem!important;
  414. }
  415. }
  416. }
  417. .adress{
  418. span{
  419. font-size: 1rem!important;
  420. }
  421. }
  422. .open{
  423. time{
  424. display: block;
  425. font-size: 1rem!important;
  426. }
  427. }
  428. }
  429. }
  430. }
  431. footer{
  432. font-size: 1.2rem;
  433. line-height: 1.3rem;
  434. margin-top: 3rem!important;
  435. p{
  436. font-size: 1.2rem;
  437. line-height: 1.3rem;
  438. margin: 0;
  439. }
  440. & > div{
  441. width: 100%!important;
  442. min-width: auto!important;
  443. margin: 10px 0;
  444. &.partenair{
  445. .logo{
  446. height: 20px!important;
  447. }
  448. }
  449. }
  450. }
  451. body{
  452. margin: 0 0.7rem!important;
  453. header#header{
  454. position: fixed!important;
  455. z-index: 999;
  456. .logo{
  457. left: 0.7rem!important;
  458. top: 1rem!important;
  459. width: 100%;
  460. transform: translate(0) rotate(0deg)!important;
  461. a{
  462. width: 80%;
  463. display: block;
  464. img{
  465. width: 15rem;
  466. }
  467. }
  468. }
  469. .desktop-menu{
  470. display:none;
  471. .dropmenu{
  472. & > ul {
  473. & > li {
  474. &:hover{
  475. & > ul{
  476. position: relative!important;
  477. }
  478. }
  479. }
  480. }
  481. }
  482. }
  483. }
  484. .mobile-menu{
  485. display: block!important;
  486. z-index: 999;
  487. position: fixed;
  488. right: 0.7rem;
  489. top: 1rem;
  490. .close{
  491. display:none;
  492. }
  493. .open{
  494. display: block;
  495. }
  496. }
  497. &.mobile-nav-open{
  498. header{
  499. .desktop-menu{
  500. display: block!important;
  501. position: fixed;
  502. top: 0;
  503. left: 0;
  504. width: 100%;
  505. height: 100%;
  506. background: white;
  507. .dropmenu{
  508. margin: 6rem auto 0 0.7rem;
  509. }
  510. ul{
  511. display: block!important;
  512. li{
  513. a{
  514. font-size: 2rem;
  515. line-height: 4rem;
  516. }
  517. }
  518. }
  519. }
  520. }
  521. .mobile-menu{
  522. .open{
  523. display:none;
  524. }
  525. .close{
  526. display:block;
  527. }
  528. }
  529. }
  530. }
  531. #start{
  532. #body-wrapper{
  533. margin-top: 2rem;
  534. padding-top: 0rem!important;
  535. #item{
  536. .card{
  537. width: 100%!important;
  538. padding-right: 0!important;
  539. padding-left: 0!important;
  540. .card-header{
  541. .card-title{
  542. h5{
  543. a{
  544. font-size: 2.3rem!important;
  545. line-height: 2.5rem!important;
  546. }
  547. }
  548. }
  549. .card-date{
  550. // font-size: 2.4rem!important;
  551. // line-height: 2.5rem!important;
  552. }
  553. }
  554. }
  555. }
  556. }
  557. }
  558. .events{
  559. #start{
  560. margin-top: 8rem;
  561. }
  562. }
  563. .content-item{
  564. width: 100%!important;
  565. h2{
  566. font-size: 2.3rem;
  567. line-height: 2.5rem;
  568. }
  569. .slider{
  570. margin-left: -0.7rem;
  571. width: 100vw;
  572. .caption{
  573. margin-left: 0.7rem;
  574. }
  575. }
  576. .e-content{
  577. width: 100%!important;
  578. }
  579. }
  580. #start{
  581. &.home{
  582. margin-top: 8rem;
  583. }
  584. margin-top: 4rem;
  585. #body-wrapper{
  586. }
  587. }
  588. .default{
  589. #start{
  590. section{
  591. &#body-wrapper{
  592. margin-top: 6rem;
  593. h2{
  594. font-size: 2.3rem;
  595. line-height: 2.5rem;
  596. }
  597. width: 100%!important;
  598. p{
  599. width: 100%;
  600. }
  601. }
  602. }
  603. }
  604. }
  605. .archives section#body-wrapper, .news section#body-wrapper{
  606. width: 100%!important;
  607. #item{
  608. margin-left: 0!important;
  609. }
  610. }
  611. .modular{
  612. #body-wrapper.blog-listing{
  613. margin-top: 8rem!important;
  614. #item{
  615. flex-direction: column;
  616. .content-warp{
  617. flex-direction: column;
  618. & > div{
  619. width: 100%!important;
  620. padding: 0!important;
  621. margin-bottom: 2rem;
  622. }
  623. }
  624. }
  625. }
  626. h2{
  627. font-size: 2.3rem;
  628. }
  629. #start #body-wrapper .list_press{
  630. width: 100%!important;
  631. flex-direction: column;
  632. .date{
  633. margin-bottom: 0.5rem;
  634. }
  635. }
  636. }
  637. footer{
  638. flex-direction: column;
  639. & > div{
  640. margin-bottom: 1rem;
  641. }
  642. }
  643. }