_custom.scss 15 KB

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