_custom.scss 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563
  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. }
  42. #logo img {
  43. padding: 0.5rem;
  44. }
  45. //tentative animation when in View
  46. // @media () {
  47. //
  48. // @viewport {
  49. //
  50. // }
  51. // rect.after-h1 {
  52. // animation-duration: 4s;
  53. // animation-timing-function: linear;
  54. // animation-timeline: grow-timeline;
  55. // }
  56. //
  57. // @scroll-timeline grow-timeline {
  58. // source: selector(.test);
  59. // orientation: block;
  60. // scroll-offsets: 250px, 300px;
  61. // }
  62. //
  63. // @keyframes grow {
  64. // to { transform: translate(300px) }
  65. // }
  66. // @k
  67. // @keyframes souligne {
  68. // 0% { width: 0.5%;
  69. // }
  70. // 100%{
  71. // width: 50%;
  72. // }
  73. // }
  74. //
  75. // // selecteur:hover,
  76. // // selecteur:focus,
  77. // selecteur:hover{
  78. // animation: souligne 2s ease-in-out;
  79. // }
  80. .callout {
  81. padding-top: 0.5rem;
  82. }
  83. .callout h1, h2, h3, p {
  84. text-align: left !important;
  85. }
  86. .callout {
  87. padding-right: 0rem !important;
  88. padding-left: 0rem !important;
  89. // h1 {
  90. // margin-bottom: 0rem !important;
  91. // }
  92. h2 {
  93. text-transform: capitalize;
  94. font-weight: 300;
  95. font-size: 1rem;
  96. }
  97. }
  98. .titre_nsb {
  99. display: block;
  100. margin-right: 52%;
  101. h1 {
  102. margin-bottom: 0rem !important;
  103. text-align: right;
  104. padding-right: 0rem !important;
  105. }
  106. }
  107. .titre_bsn {
  108. display: block;
  109. margin-left: 40%;
  110. // padding-right: 15%;
  111. h1 {
  112. text-align: left;
  113. margin-bottom: 0rem !important;
  114. // padding-bottom: 3rem;
  115. }
  116. p {
  117. padding-right: 15%;
  118. }
  119. }
  120. @keyframes anim {
  121. 0% {width: 0%;}
  122. 100% {width: 100%}
  123. }
  124. .after-h1 { // fonctionne mais manque "when in View"
  125. .test {
  126. opacity: 0;
  127. transition: opacity 1s ease-in-out;
  128. animation: anim 5s 500ms 1 normal ease-in-out forwards;
  129. }
  130. &:hover {
  131. .test {
  132. opacity: 1;
  133. }
  134. // opacity: 1;
  135. // transition: width 5s ease-in-out;
  136. }
  137. }
  138. // fond images en grille pour parallax
  139. // #background {
  140. // background-color: #d5d2d1;
  141. // display: grid;
  142. // grid-template-columns: repeat(5, 1fr);
  143. // grid-template-rows: repeat(8, 5vw);
  144. // grid-gap: 15px;
  145. // }
  146. //
  147. // #background img {
  148. // max-width: 100% !important;
  149. // max-height: 100% !important;
  150. // // object-fit: cover;
  151. // }
  152. // .item-1 {
  153. // grid-column-start: 1;
  154. // grid-column-end: 3;
  155. // grid-row-start: 1;
  156. // grid-row-end: 5;
  157. // }
  158. //
  159. // .item-2 {
  160. // grid-column-start: 3;
  161. // grid-column-end: 5;
  162. // grid-row-start: 1;
  163. // grid-row-end: 5;
  164. // }
  165. //
  166. // .item-3 {
  167. // grid-column-start: 5 ;
  168. // grid-column-end: 1;
  169. // grid-row-start: 9;
  170. // grid-row-end: 6;
  171. // }
  172. //
  173. // .item-4 {
  174. // grid-column-start: 1;
  175. // grid-column-end: 3;
  176. // grid-row-start: 1;
  177. // grid-row-end: 3;
  178. // }
  179. .programmes {
  180. display: flex;
  181. flex-wrap: wrap;
  182. background:
  183. url("/user/themes/epau-antimatter/images/14360_default_big.jpg") 0px 0px no-repeat, /* On top, like z-index: 4; */
  184. url("/user/themes/epau-antimatter/images/10361_web_01.jpg") 1200px 300px no-repeat, /* like z-index: 3; */
  185. url("/user/themes/epau-antimatter/images/hyperliens_marseille_.PNG") 0px 700px no-repeat, /* like z-index: 2; */
  186. url("/user/themes/epau-antimatter/images/jeux-olypiques-paris-2024-village-athle-lot-e2.jpg") right no-repeat; /* On bottom, like z-index: 1; */
  187. background-color: #d5d2d1;
  188. justify-content: center;
  189. padding-left: 15%;
  190. padding-right: 15%;
  191. padding-top: 8rem;
  192. padding-bottom: 8rem;
  193. }
  194. .programme {
  195. max-width: 35%;
  196. // min-width:
  197. padding: 1.5rem;
  198. background-color: white;
  199. margin: 0.4rem;
  200. h4 {
  201. text-transform: uppercase;
  202. line-height: 1.2;
  203. }
  204. img {
  205. max-height: 15%;
  206. }
  207. p {
  208. font-family: $font-family-default;
  209. font-weight: 500;
  210. font-style: italic;
  211. }
  212. }
  213. .programme:hover {
  214. background-color: #000;
  215. transition:0.2s ease-in-out;
  216. p {
  217. color: #fff;
  218. }
  219. h4 {
  220. color: #fff;
  221. }
  222. }
  223. // .parallax {
  224. // display: block;
  225. // }
  226. //
  227. // /* .titre_nsb {
  228. // display: block;
  229. // position: absolute;
  230. // margin-right: 39%;
  231. // } */
  232. //
  233. //
  234. // /* .ressources {
  235. // display: flex;
  236. // flex-wrap: wrap;
  237. // justify-content: space-between;
  238. // background-color: #ffffff;
  239. // padding-top: 8rem;
  240. // padding-right: 5rem;
  241. // padding-left: 5rem;
  242. // } */
  243. //
  244. // /* .ressource {
  245. // max-width: 20%;
  246. // margin-block: 5rem;
  247. // flex-wrap: wrap;
  248. // flex: 0 1 15%;
  249. // } */
  250. //
  251. //
  252. // /*
  253. // .ressources h1 {
  254. // text-transform: uppercase;
  255. // background-color: #fff;
  256. // color: #000;
  257. // padding-top: 5rem;
  258. // padding-bottom: 6rem;
  259. // } */
  260. //
  261. // /* .ressources {
  262. // display: grid;
  263. // grid-template-columns: repeat(4, 1fr);
  264. // grid-gap: 3rem;
  265. // grid-auto-rows: auto;
  266. // background-color: #ffffff;
  267. // padding-top: 18rem;
  268. // justify-items: center;
  269. // position: relative;
  270. // margin-right: 10%;
  271. // margin-bottom: 6rem;
  272. // margin-left: 10%;
  273. // } */
  274. //
  275. // /* .ressources img {
  276. // max-width: 50%;
  277. // } */
  278. //
  279. // /* .ressource h1 h2 h3 h4 {
  280. // margin: 0.2rem;
  281. // } */
  282. .gouvernance {
  283. background-color: #000;
  284. color: #ffffff;
  285. text-transform: uppercase;
  286. padding-bottom: 6rem;
  287. padding-top: 2rem;
  288. }
  289. .mozaique_personnes {
  290. background-color: #d5d2d1;
  291. .equipe {
  292. display: flex !important;
  293. flex-direction: row;
  294. flex-wrap: wrap;
  295. // margin-left: 15%;
  296. // padding-right: 15%;
  297. width: 54%;
  298. margin: auto;
  299. // justify-items: center;
  300. h3 {
  301. // display: flex;
  302. // flex-grow: 1;
  303. padding-top: 3rem;
  304. // padding-left: 15%;
  305. min-width: 100%;
  306. font-family: "Sarabun";
  307. font-weight: 800;
  308. font-size: 1rem;
  309. line-height: 20px;
  310. text-align: left;
  311. }
  312. .personne {
  313. display: flex;
  314. flex-direction: row;
  315. flex-wrap: wrap;
  316. // width: 50%;
  317. padding-right: 0.5rem;
  318. padding-bottom: 0.5rem;
  319. .mozaique {
  320. display: flex;
  321. flex-direction: row;
  322. justify-content: flex-end;
  323. max-width: 30rem;
  324. min-width: 30rem;
  325. .photo {
  326. // min-width: 10rem;
  327. // min-height: 10rem;
  328. // max-width:50% !important;
  329. overflow: hidden;
  330. width: 15rem !important;
  331. height: 15rem !important;
  332. // object-fit: cover;
  333. img {
  334. // maxwidth: 15rem !important;
  335. // height: 15rem !important;
  336. // background-size: cover;
  337. width: 100%;
  338. }
  339. }
  340. .info {
  341. background-color: #fff;
  342. display:flex;
  343. flex-direction: column;
  344. font-family: $font-family-default;
  345. width: 50%;
  346. height: 30rem;
  347. min-width: 15rem;
  348. h5 {
  349. font-weight: 900;
  350. font-size: 1.3rem;
  351. margin: 0;
  352. padding-top: 1rem;
  353. padding-right: 1rem;
  354. padding-left: 1rem;
  355. }
  356. h6 {
  357. font-weight: 300;
  358. font-size: 1.1rem;
  359. font-style: italic;
  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. // comment faire pour donner une largueur à .info 2 fois plus grande que .portrait? les img de .portrait ne semblent pas vouloir bouger...
  380. .bouton {
  381. border: solid;
  382. background-color: transparent;
  383. text-transform: uppercase;
  384. align-self: flex-end;
  385. margin-right: 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. // }