_custom.scss 16 KB

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