_custom.scss 12 KB

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