_custom.scss 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807
  1. // Your custom SCSS should be written here...
  2. .grav-lightslider {
  3. .lSSlideOuter {
  4. .lSPager.lSpg {
  5. > li a {
  6. z-index: 1;
  7. }
  8. }
  9. }
  10. }
  11. .padding-horiz, .fullwidth #header, .fullwidth #breadcrumbs, .fullwidth .blog-header, .fullwidth .blog-content-item, .fullwidth .content-wrapper, .fullwidth ul.pagination, .fullwidth #body > .modular-row, #body, #header, #footer {
  12. padding-left: 3rem;
  13. padding-right: 3rem;
  14. }
  15. #body > script:first-child + .grav-lightslider {
  16. margin-top: -3rem;
  17. }
  18. #sb-site{
  19. background: none !important;
  20. #body{
  21. background: none !important;
  22. padding-bottom: 2rem !important;
  23. font-family: "Sarabun", sans-serif !important;
  24. p:empty { display:none; }
  25. @media (max-width: 442px) {
  26. padding-top: 2rem;
  27. }
  28. }
  29. }
  30. body#top.modular.fullwidth.title-center.title-h1h2 {
  31. overflow-y:hidden;
  32. }
  33. #header.scrolled {
  34. padding-left: 2rem;
  35. padding-right: 2rem;
  36. img {
  37. @include transform(scale(0.75));
  38. @extend .default-animation;
  39. padding-bottom: 1rem;
  40. }
  41. }
  42. #header #navbar ul.navigation li a {
  43. font-family: "Sarabun", sans-serif;
  44. font-weight: 400;
  45. text-transform: uppercase;
  46. font-size: 1rem;
  47. display: inline-block;
  48. padding: 0.3rem 0.8rem;
  49. -webkit-backface-visibility: hidden;
  50. // float: left;
  51. }
  52. #header #navbar ul.navigation li:after {
  53. display: inline;
  54. content: "|";
  55. padding: 0 .1em;
  56. vertical-align: top;
  57. }
  58. #header #navbar ul.navigation li:last-child:after {
  59. content: "" !important;
  60. }
  61. #header #navbar ul.navigation li a:hover {
  62. font-weight: 900;
  63. }
  64. #header #navbar ul.navigation {
  65. }
  66. #logo {
  67. position: relative;
  68. display: flex;
  69. flex-direction: row;
  70. img {
  71. padding: 0.75rem;
  72. height: 4rem;
  73. margin:auto;
  74. @media (max-width: 442px) {
  75. height: 3rem;
  76. }
  77. @media (max-width: 1024px) {
  78. height: 3.5rem;
  79. }
  80. #gouv {
  81. padding-left: 1rem;
  82. padding-right: 2rem;
  83. padding: 0.5rem;
  84. min-height: 4rem;
  85. // margin:auto;
  86. }
  87. }
  88. }
  89. @media (max-width: 442px) {
  90. #header #navbar {
  91. position: absolute;
  92. right: 1rem;
  93. }
  94. .padding-horiz, .fullwidth #header, .fullwidth #breadcrumbs, .fullwidth .blog-header, .fullwidth .blog-content-item, .fullwidth .content-wrapper, .fullwidth ul.pagination, .fullwidth #body > .modular-row, #body, #header, #footer, .fullwidth #header, .fullwidth #breadcrumbs, .fullwidth .blog-header, .fullwidth .blog-content-item, .fullwidth .content-wrapper, .fullwidth ul.pagination, .fullwidth #body > .modular-row, #body, #header, #footer {
  95. padding-left: 0!important;
  96. padding-right: 0rem !important;
  97. }
  98. #header #logo {
  99. position: absolute;
  100. left: -2rem;
  101. }
  102. #logo img {
  103. height: 3rem;
  104. margin-left: 1rem;
  105. }
  106. }
  107. @media (max-width: 1024px) {
  108. .padding-horiz, .fullwidth #header, .fullwidth #breadcrumbs, .fullwidth .blog-header, .fullwidth .blog-content-item, .fullwidth .content-wrapper, .fullwidth ul.pagination, .fullwidth #body > .modular-row, #body, #header, #footer, .fullwidth #header, .fullwidth #breadcrumbs, .fullwidth .blog-header, .fullwidth .blog-content-item, .fullwidth .content-wrapper, .fullwidth ul.pagination, .fullwidth #body > .modular-row, #body, #header, #footer {
  109. padding-left: 0!important;
  110. padding-right: 0rem !important;
  111. }
  112. #header #navbar {
  113. padding-right: 2rem;
  114. }
  115. }
  116. .callout {
  117. padding-top: 0.5rem;
  118. }
  119. .callout h1, h2, h3, p {
  120. text-align: left !important;
  121. }
  122. .callout {
  123. padding-right: 0rem !important;
  124. padding-left: 0rem !important;
  125. // h1 {
  126. // margin-bottom: 0rem !important;
  127. // }
  128. h2 {
  129. text-transform: capitalize;
  130. font-weight: 300;
  131. font-size: 1rem;
  132. }
  133. }
  134. .titre_nsb {
  135. display: block;
  136. margin-right: 52%;
  137. h1 {
  138. margin-bottom: 0rem !important;
  139. text-align: right;
  140. padding-right: 0rem !important;
  141. padding-left: 2rem;
  142. }
  143. @media (max-width: 442px) {
  144. margin-right: 42%;
  145. h1 {
  146. font-size: 1.6rem;
  147. }
  148. }
  149. }
  150. .titre_bsn {
  151. display: block;
  152. margin-left: 40%;
  153. // padding-right: 15%;
  154. h1 {
  155. text-align: left;
  156. margin-bottom: 0rem !important;
  157. // padding-bottom: 3rem;
  158. }
  159. p {
  160. padding-right: 15%;
  161. }
  162. @media (max-width: 442px) {
  163. h1 {
  164. font-size: 1.6rem;
  165. }
  166. }
  167. }
  168. @keyframes animate {
  169. 0% {width: 0%;}
  170. 100% {width: 100%;}
  171. }
  172. @keyframes glissement {
  173. from {
  174. margin-left: 100%;
  175. width: 300%;
  176. }
  177. to {
  178. margin-left: 0%;
  179. width: 100%;
  180. }
  181. }
  182. .after-h1 {
  183. .in-view-right {
  184. // opacity: 0;
  185. // transition: opacity 1s ease-in-out;
  186. animation: animate 1.2s 1 normal ease-in-out forwards;
  187. }
  188. .in-view {
  189. animation: glissement 1.2s 1 normal ease-in-out forwards;
  190. }
  191. }
  192. .programmes {
  193. display: flex;
  194. flex-wrap: wrap;
  195. background-color: #d5d2d1;
  196. z-index: -1;
  197. justify-content: center;
  198. padding-left: 15%;
  199. padding-right: 15%;
  200. padding-top: 8rem;
  201. padding-bottom: 8rem;
  202. }
  203. .parallax-window {
  204. background: transparent;
  205. }
  206. .parallax-mirror {
  207. top: -80px;
  208. }
  209. .programme {
  210. z-index: 1;
  211. max-width: 35%;
  212. min-width: 26rem;
  213. padding: 1.5rem;
  214. background-color: white;
  215. margin: 0.4rem;
  216. h4 {
  217. text-transform: uppercase;
  218. line-height: 1.2;
  219. }
  220. img {
  221. max-height: 4rem;
  222. }
  223. p {
  224. font-family: $font-family-default;
  225. font-weight: 500;
  226. font-style: italic;
  227. padding-bottom: 1.5rem;
  228. }
  229. @media (max-width: 442px) {
  230. min-width: 20rem;
  231. }
  232. }
  233. .programme:hover {
  234. background-color: #000;
  235. transition:0.2s ease-in-out;
  236. p {
  237. color: #fff;
  238. }
  239. h4 {
  240. color: #fff;
  241. }
  242. }
  243. /*CSS pour afficher/masquer un texte via un bouton*/
  244. /*Style du module TEXTE*/
  245. .texte-cache {
  246. position: relative;
  247. max-height: 400px; /*Hauteur du texte visible avant le clic*/
  248. overflow: hidden; /*On cache tout ce qui dépasse des 400px*/
  249. transition: max-height 1s ease; /* Transition CSS entre l'ouverture et la fermeture*/
  250. @media (max-width: 1024px) {
  251. max-height: 445px;
  252. }
  253. @media (max-width:442px) {
  254. max-height: 400px;
  255. }
  256. }
  257. /*Style du module TEXTE lorsqu'il est ouvert*/
  258. .texte-cache.ouvert {
  259. max-height: 300vh; /* On lui définit une hauteur max de tout l'écran si nécessaire pour qu'il affiche tout son contenu*/
  260. }
  261. /*On stylise l'effet de flou lorsque le module TEXTE est fermé, donc il n'a pas la classe "ouvert"*/
  262. .texte-cache:not(.ouvert)::after {
  263. content: '';
  264. position: absolute;
  265. top: 400px;
  266. bottom: 0;
  267. left: 0;
  268. right: 0;
  269. // background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 1)); /*Couleur de notre effet*/
  270. }
  271. .modular .features {
  272. @media (max-width: 1024px) {
  273. width: 80% !important;
  274. margin: auto !important;
  275. }
  276. }
  277. .modular .features .feature {
  278. // margin-bottom: 10rem;
  279. @media (max-width: 442px) {width: 80% ;}
  280. @media (max-width: 1024px) {width: 24% ;}
  281. }
  282. .bouton-ouverture {
  283. position: relative;
  284. justify-content: center;
  285. cursor: pointer;
  286. border: solid;
  287. border-radius: 0px !important;
  288. background-color: transparent;
  289. text-transform: uppercase;
  290. left: 45%;
  291. // margin-top: 3rem;
  292. margin-bottom: 2rem !important;
  293. }
  294. .gouvernance {
  295. background-color: #000;
  296. color: #ffffff;
  297. text-transform: uppercase;
  298. padding-bottom: 6rem;
  299. padding-top: 2rem;
  300. }
  301. .mozaique_personnes {
  302. background-color: #d5d2d1;
  303. padding-bottom: 10rem;
  304. .equipe {
  305. display: flex !important;
  306. flex-direction: row;
  307. flex-wrap: wrap;
  308. // margin-left: 15%;
  309. // padding-right: 15%;
  310. width: 100%;
  311. padding-left: 22%;
  312. padding-right: 15%;
  313. margin: auto;
  314. justify-items: center;
  315. @media (max-width: 442px) {
  316. width: 100%;
  317. padding-left: 3%;
  318. padding-right: 2%;
  319. }
  320. h3 {
  321. // display: flex;
  322. // flex-grow: 1;
  323. padding-top: 3rem;
  324. // padding-left: 15%;
  325. min-width: 100%;
  326. font-family: "Sarabun", sans-serif;
  327. font-weight: 800;
  328. font-size: 1rem;
  329. line-height: 20px;
  330. text-align: left;
  331. @media (max-width: 442px) {
  332. font-size: 0.9rem;
  333. padding-right: 0.5rem;
  334. }
  335. }
  336. .personne {
  337. display: flex;
  338. flex-direction: row;
  339. flex-wrap: wrap;
  340. // width: 50%;
  341. padding-right: 0.5rem;
  342. padding-bottom: 0.5rem;
  343. .mozaique {
  344. display: flex;
  345. flex-direction: row;
  346. justify-content: flex-end;
  347. max-width: 30rem;
  348. min-width: 30rem;
  349. @media (max-width: 442px) {
  350. max-width: 21rem;
  351. min-width: 21rem;
  352. }
  353. .photo {
  354. // min-width: 10rem;
  355. // min-height: 10rem;
  356. // max-width:50% !important;
  357. overflow: hidden;
  358. width: 15rem !important;
  359. height: 15rem !important;
  360. // object-fit: cover;
  361. // background-size: cover;
  362. img {
  363. // maxwidth: 15rem !important;
  364. // height: 15rem !important;
  365. object-fit: cover;
  366. width: 100%;
  367. height: 100%;
  368. }
  369. }
  370. .info {
  371. background-color: #fff;
  372. display:flex;
  373. flex-direction: column;
  374. font-family: $font-family-default;
  375. width: 50%;
  376. height: 15rem;
  377. min-width: 15rem;
  378. @media (max-width: 442px) {
  379. max-width: 11rem;
  380. min-width: 11rem;
  381. }
  382. h5 {
  383. font-weight: 900;
  384. font-size: 1.1rem;
  385. margin: 0;
  386. padding-top: 0.8rem;
  387. padding-right: 1rem;
  388. padding-left: 1.3rem;
  389. @media (max-width: 442px) {
  390. font-size: 0.9rem;
  391. padding-left: 0.8rem;
  392. padding-right: 0.6rem;
  393. }
  394. }
  395. h6 {
  396. font-weight: 300;
  397. font-size: 0.9rem;
  398. font-style: italic;
  399. line-height: 1.3;
  400. margin: 0;
  401. padding-right: 1.2rem;
  402. // padding-bottom: 1rem;
  403. padding-left: 1.3rem;
  404. @media (max-width: 442px) {
  405. padding-left: 0.8rem;
  406. font-size: 0.75rem;
  407. padding-right: 0.6rem;
  408. }
  409. }
  410. &:hover {
  411. background-color: #000;
  412. color: #fff;
  413. transition:0.2s ease-in-out;
  414. }
  415. }
  416. }
  417. }
  418. }
  419. }
  420. // .mozaique :hover {
  421. // background-color: #000;
  422. // color: #fff;
  423. // }
  424. .bouton {
  425. border: solid !important;
  426. background-color: transparent;
  427. border-radius: 0px !important;
  428. text-transform: uppercase;
  429. align-self: flex-end;
  430. margin:auto;
  431. margin-bottom: 0.8rem !important;
  432. font-size: 0.7rem;
  433. }
  434. //
  435. // .bouton :hover {
  436. // background-color: #000;
  437. // }
  438. // pop in biographie
  439. .modal {
  440. position: fixed;
  441. z-index: 1;
  442. top: 0;
  443. right: 0;
  444. bottom: 0;
  445. left: 0;
  446. display: none;
  447. }
  448. .modal.open{
  449. display: block;
  450. // .bouton {
  451. // border: solid !important;
  452. // background-color: transparent;
  453. // text-transform: uppercase;
  454. // align-self: flex-end;
  455. // margin:auto;
  456. // margin-bottom: 2rem;
  457. // }
  458. }
  459. // #modal .mask{
  460. // background: none !important;
  461. // opacity: 1;
  462. // position: absolute;
  463. // top: 0;
  464. // right: 0;
  465. // bottom: 0;
  466. // left: 0;
  467. //
  468. // }
  469. // #body .grey {
  470. // opacity: 0.5;
  471. // }
  472. .modal .container{
  473. position: absolute;
  474. background: white !important;
  475. top: 50%;
  476. left: 50%;
  477. transform: translateX(-50%) translateY(-50%);
  478. width: 50%;
  479. height: content;
  480. min-height: 50px;
  481. border: solid;
  482. color: black;
  483. .message{
  484. padding: 5% 10% 5% 5%;
  485. }
  486. a.close{
  487. position: absolute;
  488. right: 5%;
  489. top:5%;
  490. color: black;
  491. font-size: 30px;
  492. }
  493. a.close:hover{
  494. color: black;
  495. }
  496. @media (max-width: 442px) {
  497. transform: translateX(-50%) translateY(-50%);
  498. width: 85%;
  499. height: 80%;
  500. overflow-y: scroll;
  501. a.close {
  502. font-size: 0.8rem;
  503. position: absolute;
  504. right: 2%;
  505. top:0.8%;
  506. }
  507. p {
  508. font-size: 0.8rem;
  509. margin-top: 0;
  510. }
  511. .message{
  512. padding: 5% 5% 5% 5%;
  513. }
  514. }
  515. @media (max-width: 1024px) {
  516. transform: translateX(-50%) translateY(-50%);
  517. width: 75%;
  518. height: 65%;
  519. overflow-y: scroll;
  520. a.close {
  521. font-size: 0.8rem;
  522. position: absolute;
  523. right: 2%;
  524. top:0.8%;
  525. }
  526. p {
  527. font-size: 0.8rem;
  528. margin-top: 0;
  529. }
  530. .message{
  531. padding: 5% 5% 5% 5%;
  532. }
  533. }
  534. }
  535. #new-footer {
  536. // position:absolute;
  537. display: flex;
  538. flex-direction: column;
  539. .tothetop {
  540. position: relative;
  541. // align-self: center;
  542. height: 1rem;
  543. bottom: 3rem;
  544. text-align: center;
  545. left: 0;
  546. right: 0;
  547. span {
  548. font-size: 1.7rem;
  549. line-height: 2,5rem;
  550. background: #fff;
  551. width: 4rem;
  552. height: 5rem;
  553. border-radius: $border-radius;
  554. display: inline-block;
  555. text-align: top;
  556. }
  557. }
  558. .footer {
  559. display: flex;
  560. flex-direction: row;
  561. flex-wrap: nowrap;
  562. .footer-logos {
  563. display: flex;
  564. flex-direction: row;
  565. // flex-wrap: nowrap;
  566. width: 65%;
  567. align-items: center;
  568. margin-left: 3rem;
  569. p {
  570. display: inline-flex;
  571. }
  572. img {
  573. // min-height: 4rem;
  574. max-height: 4rem;
  575. padding-right: 3rem;
  576. // &:last-of-type {
  577. // // height: 3.25rem;
  578. // padding-top: 0.30rem;
  579. // padding-bottom: 0.30rem;
  580. // }
  581. }
  582. }
  583. #new-footer .footer .footer-logos img:last-of-type {
  584. height: 0.5rem !important;
  585. }
  586. .contact {
  587. display: flex;
  588. flex-direction: column;
  589. width: 35%;
  590. padding-left: 1.5rem;
  591. margin-right: 2rem;
  592. margin-top: 1.5rem;
  593. align-items: flex-start;
  594. img {
  595. margin-bottom: 1rem;
  596. max-height: 2rem;
  597. }
  598. svg {
  599. margin-bottom: 1rem;
  600. }
  601. h6 {
  602. margin: 0 !important;
  603. font-weight: 600;
  604. }
  605. p {
  606. margin: 0;
  607. }
  608. }
  609. }
  610. @media (max-width: 442px) {
  611. .footer {
  612. width: 100%;
  613. flex-direction: column-reverse;
  614. align-items: center;
  615. margin:auto;
  616. .contact {
  617. padding-top: 1rem;
  618. width: 80%;
  619. }
  620. .footer-logos {
  621. width: 90%;
  622. margin-top: 1.5rem;
  623. margin-left: 0.5rem;
  624. flex-direction: column;
  625. justify-content: space-between;
  626. img {
  627. padding:0.5rem;
  628. &:last-of-type {
  629. padding: 0.8rem;
  630. }
  631. }
  632. }
  633. }
  634. // .tothetop {
  635. // bottom: $footer-height + 28rem;
  636. // }
  637. }
  638. @media (max-width: 768px) {
  639. // .tothetop {
  640. // bottom: $footer-height + 10rem;
  641. // }
  642. }
  643. @media (max-width: 1024px) {
  644. .footer {
  645. .contact {
  646. img {max-height: 1.5rem;}
  647. h6 {font-size:0.8rem;}
  648. p {font-size: 0.8rem;}
  649. svg {margin-bottom: 0.6rem;}
  650. }
  651. .footer-logos {
  652. img {
  653. padding: 0.5rem;
  654. &:last-of-type {
  655. padding: 0.8rem;
  656. }
  657. }
  658. }
  659. }
  660. // .tothetop {
  661. // bottom: $footer-height + 11rem;
  662. // }
  663. }
  664. }
  665. button:focus {
  666. border: solid !important;
  667. background-color: transparent;
  668. border-radius: 0px !important;
  669. text-transform: uppercase;
  670. align-self: flex-end;
  671. margin:auto;
  672. // margin-bottom: 2rem;
  673. outline: -webkit-focus-ring-color auto 0px;
  674. outline-color: -webkit-focus-ring-color;
  675. outline-style: auto;
  676. outline-width: 0px;
  677. }