_custom.scss 11 KB

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