_custom.scss 16 KB

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