_custom.scss 11 KB

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