_custom.scss 15 KB

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