_custom.scss 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760
  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. }
  33. #header #navbar ul.navigation li a {
  34. font-family: "Sarabun", sans-serif;
  35. font-weight: 400;
  36. text-transform: uppercase;
  37. font-size: 1rem;
  38. display: inline-block;
  39. padding: 0.3rem 0.8rem;
  40. -webkit-backface-visibility: hidden;
  41. // float: left;
  42. }
  43. #header #navbar ul.navigation li:after {
  44. display: inline;
  45. content: "|";
  46. padding: 0 .1em;
  47. vertical-align: top;
  48. }
  49. #header #navbar ul.navigation li:last-child:after {
  50. content: "" !important;
  51. }
  52. #header #navbar ul.navigation li a:hover {
  53. font-weight: 900;
  54. }
  55. #logo {
  56. position: relative;
  57. display: flex;
  58. flex-direction: row;
  59. @include transform(scale(0.75));
  60. // &.active {
  61. // a:after {
  62. // top: 0;
  63. // visibility: visible;
  64. // @include transform(scale(0.75));
  65. // @extend .default-animation;
  66. // }
  67. img {
  68. padding: 0.5rem;
  69. height: 3rem;
  70. margin:auto;
  71. #gouv {
  72. padding-right: 2rem;
  73. padding: 0.5rem;
  74. min-height: 4rem !important;
  75. margin:auto;
  76. }
  77. #epau {
  78. }
  79. }
  80. }
  81. @media (max-width: 442px) {
  82. #header #navbar {
  83. position: absolute;
  84. right: 1rem;
  85. }
  86. .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 {
  87. padding-left: 0!important;
  88. padding-right: 0rem !important;
  89. }
  90. #header #logo {
  91. position: absolute;
  92. left: -1rem;
  93. }
  94. }
  95. .callout {
  96. padding-top: 0.5rem;
  97. }
  98. .callout h1, h2, h3, p {
  99. text-align: left !important;
  100. }
  101. .callout {
  102. padding-right: 0rem !important;
  103. padding-left: 0rem !important;
  104. // h1 {
  105. // margin-bottom: 0rem !important;
  106. // }
  107. h2 {
  108. text-transform: capitalize;
  109. font-weight: 300;
  110. font-size: 1rem;
  111. }
  112. }
  113. .titre_nsb {
  114. display: block;
  115. margin-right: 52%;
  116. h1 {
  117. margin-bottom: 0rem !important;
  118. text-align: right;
  119. padding-right: 0rem !important;
  120. padding-left: 2rem;
  121. }
  122. @media (max-width: 442px) {
  123. margin-right: 42%;
  124. h1 {
  125. font-size: 1.6rem;
  126. }
  127. }
  128. }
  129. .titre_bsn {
  130. display: block;
  131. margin-left: 40%;
  132. // padding-right: 15%;
  133. h1 {
  134. text-align: left;
  135. margin-bottom: 0rem !important;
  136. // padding-bottom: 3rem;
  137. }
  138. p {
  139. padding-right: 15%;
  140. }
  141. @media (max-width: 442px) {
  142. h1 {
  143. font-size: 1.6rem;
  144. }
  145. }
  146. }
  147. @keyframes animate {
  148. 0% {width: 0%;}
  149. 100% {width: 100%;}
  150. }
  151. @keyframes glissement {
  152. from {
  153. margin-left: 100%;
  154. width: 300%;
  155. }
  156. to {
  157. margin-left: 0%;
  158. width: 100%;
  159. }
  160. }
  161. .after-h1 {
  162. .in-view-right {
  163. // opacity: 0;
  164. // transition: opacity 1s ease-in-out;
  165. animation: animate 1.2s 1 normal ease-in-out forwards;
  166. }
  167. .in-view {
  168. animation: glissement 1.2s 1 normal ease-in-out forwards;
  169. }
  170. }
  171. //
  172. // .after-h1 {
  173. // .test {
  174. // // opacity: 0;
  175. // // transition: opacity 1s ease-in-out;
  176. // animation: anim 2.5s 1 normal ease-in-out forwards;
  177. // }
  178. // .animateMe {
  179. // animation: glissement 2.5s 1 normal ease-in-out forwards;
  180. // }
  181. // }
  182. .programmes {
  183. display: flex;
  184. flex-wrap: wrap;
  185. //
  186. // background-image:
  187. // url("/user/themes/epau-antimatter/images/14360_default_big.jpg") ,
  188. // url("/user/themes/epau-antimatter/images/10361_web_01.jpg") ,
  189. // url("/user/themes/epau-antimatter/images/hyperliens_marseille_.PNG") ,
  190. // url("/user/themes/epau-antimatter/images/jeux-olypiques-paris-2024-village-athle-lot-e2.jpg") ;
  191. //
  192. // background-attachment: fixed;
  193. //
  194. // background-position: 50% -50px;
  195. // position: sticky;
  196. // transform: translateY(-1);
  197. // min-height: 500px;
  198. background-color: #d5d2d1;
  199. z-index: -1;
  200. justify-content: center;
  201. padding-left: 15%;
  202. padding-right: 15%;
  203. padding-top: 8rem;
  204. padding-bottom: 8rem;
  205. }
  206. .parallax-window {
  207. // min-height: 400px;
  208. background: transparent;
  209. // height: 1534px;
  210. // overflow: hidden;
  211. }
  212. // .images-background {
  213. // position: absolute !important;
  214. // width: 100%;
  215. // display: flex;
  216. // flex-direction: row;
  217. // flex-wrap: wrap;
  218. // justify-content: space-between;
  219. //
  220. // #photo1 {
  221. // position: relative;
  222. // top: -60px;
  223. //
  224. // }
  225. //
  226. // #photo2 {
  227. // z-index: 0;
  228. // width:700px !important;
  229. // position: relative;
  230. // top: 260px;
  231. // }
  232. //
  233. // #photo3 {
  234. // z-index: 0;
  235. // width:700px !important;
  236. // position: relative;
  237. // top: 300px;
  238. // }
  239. //
  240. // #photo4 {
  241. // z-index: 0;
  242. // width:700px !important;
  243. // position: relative;
  244. // top: 300px;
  245. // }
  246. // }
  247. .programme {
  248. z-index: 1;
  249. max-width: 35%;
  250. min-width: 26rem;
  251. padding: 1.5rem;
  252. background-color: white;
  253. margin: 0.4rem;
  254. h4 {
  255. text-transform: uppercase;
  256. line-height: 1.2;
  257. }
  258. img {
  259. max-height: 4rem;
  260. }
  261. p {
  262. font-family: $font-family-default;
  263. font-weight: 500;
  264. font-style: italic;
  265. padding-bottom: 1.5rem;
  266. }
  267. @media (max-width: 442px) {
  268. min-width: 20rem;
  269. }
  270. }
  271. .programme:hover {
  272. background-color: #000;
  273. transition:0.2s ease-in-out;
  274. p {
  275. color: #fff;
  276. }
  277. h4 {
  278. color: #fff;
  279. }
  280. }
  281. /*CSS pour afficher/masquer un texte via un bouton*/
  282. /*Style du module TEXTE*/
  283. .texte-cache {
  284. position: relative;
  285. max-height: 400px; /*Hauteur du texte visible avant le clic*/
  286. overflow: hidden; /*On cache tout ce qui dépasse des 400px*/
  287. transition: max-height 1s ease; /* Transition CSS entre l'ouverture et la fermeture*/
  288. }
  289. /*Style du module TEXTE lorsqu'il est ouvert*/
  290. .texte-cache.ouvert {
  291. max-height: 300vh; /* On lui définit une hauteur max de tout l'écran si nécessaire pour qu'il affiche tout son contenu*/
  292. }
  293. /*On stylise l'effet de flou lorsque le module TEXTE est fermé, donc il n'a pas la classe "ouvert"*/
  294. .texte-cache:not(.ouvert)::after {
  295. content: '';
  296. position: absolute;
  297. top: 400px;
  298. bottom: 0;
  299. left: 0;
  300. right: 0;
  301. // background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 1)); /*Couleur de notre effet*/
  302. }
  303. .bouton-ouverture {
  304. position: relative;
  305. justify-content: center;
  306. cursor: pointer;
  307. border: solid;
  308. border-radius: 0px !important;
  309. background-color: transparent;
  310. text-transform: uppercase;
  311. left: 45%;
  312. // margin-top: 3rem;
  313. margin-bottom: 2rem !important;
  314. }
  315. .gouvernance {
  316. background-color: #000;
  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. }
  432. &:hover {
  433. background-color: #000;
  434. color: #fff;
  435. transition:0.2s ease-in-out;
  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. }
  537. #new-footer {
  538. // position:absolute;
  539. display: flex;
  540. flex-direction: column;
  541. .tothetop {
  542. position: absolute;
  543. // align-self: center;
  544. height: 1rem;
  545. bottom: $footer-height + 10rem;
  546. text-align: center;
  547. left: 0;
  548. right: 0;
  549. span {
  550. font-size: 1.7rem;
  551. line-height: 2,5rem;
  552. background: #fff;
  553. width: 4rem;
  554. height: 5rem;
  555. border-radius: $border-radius;
  556. display: inline-block;
  557. text-align: top;
  558. }
  559. }
  560. .footer {
  561. display: flex;
  562. flex-direction: row;
  563. flex-wrap: nowrap;
  564. .footer-logos {
  565. display: flex;
  566. flex-direction: row;
  567. flex-wrap: nowrap;
  568. width: 70%;
  569. align-items: center;
  570. margin-left: 3rem;
  571. img {
  572. // min-height: 4rem;
  573. max-height: 4rem;
  574. padding-right: 1rem;
  575. &:last-of-type {
  576. // height: 3.25rem;
  577. padding-top: 0.30rem;
  578. padding-bottom: 0.30rem;
  579. }
  580. }
  581. }
  582. #new-footer .footer .footer-logos img:last-of-type {
  583. height: 0.5rem !important;
  584. }
  585. .contact {
  586. display: flex;
  587. flex-direction: column;
  588. width: 30%;
  589. margin-top: 1.5rem;
  590. align-items: flex-start;
  591. img {
  592. margin-bottom: 1rem;
  593. max-height: 2rem;
  594. }
  595. svg {
  596. margin-bottom: 1rem;
  597. }
  598. h6 {
  599. margin: 0 !important;
  600. font-weight: 600;
  601. }
  602. p {
  603. margin: 0;
  604. }
  605. }
  606. }
  607. @media (max-width: 442px) {
  608. .footer {
  609. width: 100%;
  610. flex-direction: column-reverse;
  611. align-items: center;
  612. margin:auto;
  613. .contact {
  614. padding-top: 1rem;
  615. width: 80%;
  616. }
  617. .footer-logos {
  618. width: 90%;
  619. margin-top: 1.5rem;
  620. margin-left: 0.5rem;
  621. flex-direction: column;
  622. justify-content: space-between;
  623. img {
  624. padding:0.5rem;
  625. &:last-of-type {
  626. padding: 0.8rem;
  627. }
  628. }
  629. }
  630. }
  631. .tothetop {
  632. bottom: $footer-height + 31rem;
  633. }
  634. }
  635. }
  636. button:focus {
  637. border: solid !important;
  638. background-color: transparent;
  639. border-radius: 0px !important;
  640. text-transform: uppercase;
  641. align-self: flex-end;
  642. margin:auto;
  643. // margin-bottom: 2rem;
  644. outline: -webkit-focus-ring-color auto 0px;
  645. outline-color: -webkit-focus-ring-color;
  646. outline-style: auto;
  647. outline-width: 0px;
  648. }