_custom.scss 17 KB

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