_custom.scss 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541
  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. #header #navbar ul.navigation li a {
  15. font-family: "Sarabun", sans-serif;
  16. font-weight: 400;
  17. text-transform: uppercase;
  18. font-size: 1rem;
  19. display: inline-block;
  20. padding: 0.3rem 0.8rem;
  21. -webkit-backface-visibility: hidden;
  22. // float: left;
  23. }
  24. #header #navbar ul.navigation li:after {
  25. display: inline;
  26. content: "|";
  27. padding: 0 .1em;
  28. vertical-align: top;
  29. }
  30. #header #navbar ul.navigation li a:hover {
  31. font-weight: 900;
  32. }
  33. #header.scrolled #navbar ul.navigation li a {
  34. color: black !important;
  35. font-size: 0.95rem;
  36. transition:0.6s ease-in-out;
  37. }
  38. #logo {
  39. display: flex;
  40. flex-direction: row;
  41. img {
  42. padding: 0.5rem;
  43. max-height: 3rem;
  44. margin:auto;
  45. }
  46. }
  47. .callout {
  48. padding-top: 0.5rem;
  49. }
  50. .callout h1, h2, h3, p {
  51. text-align: left !important;
  52. }
  53. .callout {
  54. padding-right: 0rem !important;
  55. padding-left: 0rem !important;
  56. // h1 {
  57. // margin-bottom: 0rem !important;
  58. // }
  59. h2 {
  60. text-transform: capitalize;
  61. font-weight: 300;
  62. font-size: 1rem;
  63. }
  64. }
  65. .titre_nsb {
  66. display: block;
  67. margin-right: 52%;
  68. h1 {
  69. margin-bottom: 0rem !important;
  70. text-align: right;
  71. padding-right: 0rem !important;
  72. }
  73. }
  74. .titre_bsn {
  75. display: block;
  76. margin-left: 40%;
  77. // padding-right: 15%;
  78. h1 {
  79. text-align: left;
  80. margin-bottom: 0rem !important;
  81. // padding-bottom: 3rem;
  82. }
  83. p {
  84. padding-right: 15%;
  85. }
  86. }
  87. @keyframes anim {
  88. 0% {width: 0%;}
  89. 100% {width: 100%;}
  90. }
  91. .after-h1 {
  92. .test {
  93. // opacity: 0;
  94. // transition: opacity 1s ease-in-out;
  95. animation: anim 2.5s 1 normal ease-in-out forwards;
  96. }
  97. }
  98. // &:hover {
  99. // .test {
  100. // opacity: 1;
  101. // }
  102. // opacity: 1;
  103. // transition: width 5s ease-in-out;
  104. .programmes {
  105. display: flex;
  106. flex-wrap: wrap;
  107. // background-image:
  108. // url("/user/themes/epau-antimatter/images/14360_default_big.jpg") ,
  109. // url("/user/themes/epau-antimatter/images/10361_web_01.jpg") ,
  110. // url("/user/themes/epau-antimatter/images/hyperliens_marseille_.PNG") ,
  111. // url("/user/themes/epau-antimatter/images/jeux-olypiques-paris-2024-village-athle-lot-e2.jpg") ;
  112. //
  113. // background-attachment: fixed;
  114. //
  115. // background-position: 50% -50px;
  116. // position: sticky;
  117. // transform: translateY(-1);
  118. // min-height: 500px;
  119. background-color: #d5d2d1;
  120. z-index: -1;
  121. justify-content: center;
  122. padding-left: 15%;
  123. padding-right: 15%;
  124. padding-top: 8rem;
  125. padding-bottom: 8rem;
  126. }
  127. .paralax {
  128. position: absolute !important;
  129. width: 100%;
  130. display: flex;
  131. flex-direction: row;
  132. flex-wrap: wrap;
  133. justify-content: space-between;
  134. // transform: translate3d(0px, -128px, 0px);
  135. #photo1 {
  136. position: relative;
  137. top: -60px;
  138. }
  139. #photo2 {
  140. z-index: 0;
  141. width:700px !important;
  142. position: relative;
  143. top: 260px;
  144. }
  145. #photo3 {
  146. z-index: 0;
  147. width:700px !important;
  148. position: relative;
  149. top: 500px;
  150. }
  151. #photo4 {
  152. z-index: 0;
  153. width:700px !important;
  154. position: relative;
  155. top: 300px;
  156. }
  157. }
  158. .programme {
  159. z-index: 1;
  160. max-width: 35%;
  161. // min-width:
  162. padding: 1.5rem;
  163. background-color: white;
  164. margin: 0.4rem;
  165. h4 {
  166. text-transform: uppercase;
  167. line-height: 1.2;
  168. }
  169. img {
  170. max-height: 4rem;
  171. }
  172. p {
  173. font-family: $font-family-default;
  174. font-weight: 500;
  175. font-style: italic;
  176. }
  177. }
  178. .programme:hover {
  179. background-color: #000;
  180. transition:0.2s ease-in-out;
  181. p {
  182. color: #fff;
  183. }
  184. h4 {
  185. color: #fff;
  186. }
  187. }
  188. // .parallax {
  189. // display: block;
  190. // }
  191. //
  192. // /* .titre_nsb {
  193. // display: block;
  194. // position: absolute;
  195. // margin-right: 39%;
  196. // } */
  197. //
  198. //
  199. // /* .ressources {
  200. // display: flex;
  201. // flex-wrap: wrap;
  202. // justify-content: space-between;
  203. // background-color: #ffffff;
  204. // padding-top: 8rem;
  205. // padding-right: 5rem;
  206. // padding-left: 5rem;
  207. // } */
  208. //
  209. // /* .ressource {
  210. // max-width: 20%;
  211. // margin-block: 5rem;
  212. // flex-wrap: wrap;
  213. // flex: 0 1 15%;
  214. // } */
  215. //
  216. //
  217. // /*
  218. // .ressources h1 {
  219. // text-transform: uppercase;
  220. // background-color: #fff;
  221. // color: #000;
  222. // padding-top: 5rem;
  223. // padding-bottom: 6rem;
  224. // } */
  225. //
  226. // /* .ressources {
  227. // display: grid;
  228. // grid-template-columns: repeat(4, 1fr);
  229. // grid-gap: 3rem;
  230. // grid-auto-rows: auto;
  231. // background-color: #ffffff;
  232. // padding-top: 18rem;
  233. // justify-items: center;
  234. // position: relative;
  235. // margin-right: 10%;
  236. // margin-bottom: 6rem;
  237. // margin-left: 10%;
  238. // } */
  239. //
  240. // /* .ressources img {
  241. // max-width: 50%;
  242. // } */
  243. //
  244. // /* .ressource h1 h2 h3 h4 {
  245. // margin: 0.2rem;
  246. // } */
  247. .gouvernance {
  248. background-color: #000;
  249. color: #ffffff;
  250. text-transform: uppercase;
  251. padding-bottom: 6rem;
  252. padding-top: 2rem;
  253. }
  254. .mozaique_personnes {
  255. background-color: #d5d2d1;
  256. .equipe {
  257. display: flex !important;
  258. flex-direction: row;
  259. flex-wrap: wrap;
  260. // margin-left: 15%;
  261. // padding-right: 15%;
  262. width: 54%;
  263. margin: auto;
  264. // justify-items: center;
  265. h3 {
  266. // display: flex;
  267. // flex-grow: 1;
  268. padding-top: 3rem;
  269. // padding-left: 15%;
  270. min-width: 100%;
  271. font-family: "Sarabun";
  272. font-weight: 800;
  273. font-size: 1rem;
  274. line-height: 20px;
  275. text-align: left;
  276. }
  277. .personne {
  278. display: flex;
  279. flex-direction: row;
  280. flex-wrap: wrap;
  281. // width: 50%;
  282. padding-right: 0.5rem;
  283. padding-bottom: 0.5rem;
  284. .mozaique {
  285. display: flex;
  286. flex-direction: row;
  287. justify-content: flex-end;
  288. max-width: 30rem;
  289. min-width: 30rem;
  290. .photo {
  291. // min-width: 10rem;
  292. // min-height: 10rem;
  293. // max-width:50% !important;
  294. overflow: hidden;
  295. width: 15rem !important;
  296. height: 15rem !important;
  297. // object-fit: cover;
  298. // background-size: cover;
  299. img {
  300. // maxwidth: 15rem !important;
  301. // height: 15rem !important;
  302. object-fit: cover;
  303. width: 100%;
  304. height: 100%;
  305. }
  306. }
  307. .info {
  308. background-color: #fff;
  309. display:flex;
  310. flex-direction: column;
  311. font-family: $font-family-default;
  312. width: 50%;
  313. height: 30rem;
  314. min-width: 15rem;
  315. h5 {
  316. font-weight: 900;
  317. font-size: 1.3rem;
  318. margin: 0;
  319. padding-top: 1rem;
  320. padding-right: 1rem;
  321. padding-left: 1rem;
  322. }
  323. h6 {
  324. font-weight: 300;
  325. font-size: 1.1rem;
  326. font-style: italic;
  327. margin: 0;
  328. padding-right: 1rem;
  329. padding-bottom: 1rem;
  330. padding-left: 1rem;
  331. }
  332. &:hover {
  333. background-color: #000;
  334. color: #fff;
  335. transition:0.2s ease-in-out;
  336. }
  337. }
  338. }
  339. }
  340. }
  341. }
  342. // .mozaique :hover {
  343. // background-color: #000;
  344. // color: #fff;
  345. // }
  346. // comment faire pour donner une largueur à .info 2 fois plus grande que .portrait? les img de .portrait ne semblent pas vouloir bouger...
  347. .bouton {
  348. border: solid;
  349. background-color: transparent;
  350. text-transform: uppercase;
  351. align-self: flex-end;
  352. margin-right: 2rem;
  353. }
  354. //
  355. // .bouton :hover {
  356. // background-color: #000;
  357. // }
  358. // pop in biographie
  359. .modal {
  360. position: fixed;
  361. z-index: 1;
  362. top: 0;
  363. right: 0;
  364. bottom: 0;
  365. left: 0;
  366. display: none;
  367. }
  368. .modal.open{
  369. display: block;
  370. }
  371. // #modal .mask{
  372. // background: none !important;
  373. // opacity: 1;
  374. // position: absolute;
  375. // top: 0;
  376. // right: 0;
  377. // bottom: 0;
  378. // left: 0;
  379. //
  380. // }
  381. // #body .grey {
  382. // opacity: 0.5;
  383. // }
  384. .modal .container{
  385. position: absolute;
  386. background: white !important;
  387. top: 50%;
  388. left: 50%;
  389. transform: translateX(-50%) translateY(-50%);
  390. width: 50%;
  391. height: content;
  392. min-height: 50px;
  393. border: solid;
  394. color: black;
  395. .message{
  396. padding: 5% 10% 5% 5%;
  397. }
  398. a.close{
  399. position: absolute;
  400. right: 5%;
  401. top:5%;
  402. color: black;
  403. font-size: 30px;
  404. }
  405. a.close:hover{
  406. color: black;
  407. }
  408. }
  409. // .modal .container .message{
  410. // padding: 5% 10% 5% 5%;
  411. //
  412. // }
  413. // .modal .container a.close{
  414. // position: absolute;
  415. // right: 5%;
  416. // top:5%;
  417. // color: black;
  418. // font-size: 30px;
  419. // }
  420. // .modal .container a.close:hover{
  421. // color: black;
  422. // }