_custom.scss 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535
  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. .after-h1 { // fonctionne mais manque "when in View"
  121. transition: width 5s ease-in-out;
  122. &:hover {
  123. width: 100%;
  124. // transition: width 5s ease-in-out;
  125. }
  126. }
  127. // fond images en grille pour parallax
  128. // #background {
  129. // background-color: #d5d2d1;
  130. // display: grid;
  131. // grid-template-columns: repeat(5, 1fr);
  132. // grid-template-rows: repeat(8, 5vw);
  133. // grid-gap: 15px;
  134. // }
  135. //
  136. // #background img {
  137. // max-width: 100% !important;
  138. // max-height: 100% !important;
  139. // // object-fit: cover;
  140. // }
  141. // .item-1 {
  142. // grid-column-start: 1;
  143. // grid-column-end: 3;
  144. // grid-row-start: 1;
  145. // grid-row-end: 5;
  146. // }
  147. //
  148. // .item-2 {
  149. // grid-column-start: 3;
  150. // grid-column-end: 5;
  151. // grid-row-start: 1;
  152. // grid-row-end: 5;
  153. // }
  154. //
  155. // .item-3 {
  156. // grid-column-start: 5 ;
  157. // grid-column-end: 1;
  158. // grid-row-start: 9;
  159. // grid-row-end: 6;
  160. // }
  161. //
  162. // .item-4 {
  163. // grid-column-start: 1;
  164. // grid-column-end: 3;
  165. // grid-row-start: 1;
  166. // grid-row-end: 3;
  167. // }
  168. .programmes {
  169. display: flex;
  170. flex-wrap: wrap;
  171. background:
  172. url("/user/themes/epau-antimatter/images/14360_default_big.jpg") 0px 0px no-repeat, /* On top, like z-index: 4; */
  173. url("/user/themes/epau-antimatter/images/10361_web_01.jpg") 1200px 300px no-repeat, /* like z-index: 3; */
  174. url("/user/themes/epau-antimatter/images/hyperliens_marseille_.PNG") 0px 700px no-repeat, /* like z-index: 2; */
  175. url("/user/themes/epau-antimatter/images/jeux-olypiques-paris-2024-village-athle-lot-e2.jpg") right no-repeat; /* On bottom, like z-index: 1; */
  176. background-color: #d5d2d1;
  177. justify-content: center;
  178. padding-left: 15%;
  179. padding-right: 15%;
  180. padding-top: 8rem;
  181. padding-bottom: 8rem;
  182. }
  183. .programme {
  184. max-width: 35%;
  185. // min-width:
  186. padding: 1.5rem;
  187. background-color: white;
  188. margin: 0.4rem;
  189. h4 {
  190. text-transform: uppercase;
  191. line-height: 1.2;
  192. }
  193. img {
  194. max-height: 15%;
  195. }
  196. p {
  197. font-family: $font-family-default;
  198. font-weight: 500;
  199. font-style: italic;
  200. }
  201. }
  202. .programme:hover {
  203. background-color: #000;
  204. transition:0.2s ease-in-out;
  205. p {
  206. color: #fff;
  207. }
  208. h4 {
  209. color: #fff;
  210. }
  211. }
  212. // .parallax {
  213. // display: block;
  214. // }
  215. //
  216. // /* .titre_nsb {
  217. // display: block;
  218. // position: absolute;
  219. // margin-right: 39%;
  220. // } */
  221. //
  222. //
  223. // /* .ressources {
  224. // display: flex;
  225. // flex-wrap: wrap;
  226. // justify-content: space-between;
  227. // background-color: #ffffff;
  228. // padding-top: 8rem;
  229. // padding-right: 5rem;
  230. // padding-left: 5rem;
  231. // } */
  232. //
  233. // /* .ressource {
  234. // max-width: 20%;
  235. // margin-block: 5rem;
  236. // flex-wrap: wrap;
  237. // flex: 0 1 15%;
  238. // } */
  239. //
  240. //
  241. // /*
  242. // .ressources h1 {
  243. // text-transform: uppercase;
  244. // background-color: #fff;
  245. // color: #000;
  246. // padding-top: 5rem;
  247. // padding-bottom: 6rem;
  248. // } */
  249. //
  250. // /* .ressources {
  251. // display: grid;
  252. // grid-template-columns: repeat(4, 1fr);
  253. // grid-gap: 3rem;
  254. // grid-auto-rows: auto;
  255. // background-color: #ffffff;
  256. // padding-top: 18rem;
  257. // justify-items: center;
  258. // position: relative;
  259. // margin-right: 10%;
  260. // margin-bottom: 6rem;
  261. // margin-left: 10%;
  262. // } */
  263. //
  264. // /* .ressources img {
  265. // max-width: 50%;
  266. // } */
  267. //
  268. // /* .ressource h1 h2 h3 h4 {
  269. // margin: 0.2rem;
  270. // } */
  271. .gouvernance {
  272. background-color: #000;
  273. color: #ffffff;
  274. text-transform: uppercase;
  275. padding-bottom: 6rem;
  276. padding-top: 2rem;
  277. }
  278. #mozaique_personnes {
  279. display: flex !important;
  280. flex-direction: row;
  281. flex-wrap: wrap;
  282. // margin-left: 15%;
  283. // padding-right: 15%;
  284. width: 70%;
  285. margin: auto;
  286. }
  287. .mozaique_personnes {
  288. background-color: #d5d2d1;
  289. h3 {
  290. padding-top: 3rem;
  291. padding-left: 15%;
  292. padding-right: 15%;
  293. font-family: "Sarabun";
  294. font-weight: 800;
  295. font-size: 1rem;
  296. line-height: 20px;
  297. text-align: left;
  298. }
  299. }
  300. // .personne {
  301. // // display: flex;
  302. // // flex-direction: row;
  303. // width: 50%;
  304. //
  305. // }
  306. .mozaique {
  307. // background-color: #fff;
  308. display: flex;
  309. flex-direction: row;
  310. width: 50%;
  311. // max-width: 35%;
  312. padding: 0.5rem;
  313. // align-items: stretch;
  314. // position: relative;
  315. // margin-right: 34%;
  316. // margin-bottom: 6rem;
  317. // margin-left: 15%;
  318. // height: auto;
  319. }
  320. // .personne {
  321. // width: 45%;
  322. // display: flex;
  323. // flex-direction: row;
  324. // }
  325. // .mozaique :hover {
  326. // background-color: #000;
  327. // color: #fff;
  328. // }
  329. .info {
  330. background-color: #fff;
  331. display:flex;
  332. flex-direction: column;
  333. font-family: $font-family-default;
  334. width: 30rem;
  335. height: 30rem;
  336. h5 {
  337. font-weight: 900;
  338. font-size: 1.3rem;
  339. margin: 0;
  340. padding-top: 1rem;
  341. padding-left: 1rem;
  342. }
  343. h6 {
  344. font-weight: 300;
  345. font-size: 1.1rem;
  346. font-style: italic;
  347. margin: 0;
  348. padding-left: 1rem;
  349. padding-bottom: 1rem;
  350. }
  351. }
  352. // comment faire pour donner une largueur à .info 2 fois plus grande que .portrait? les img de .portrait ne semblent pas vouloir bouger...
  353. .info:hover {
  354. background-color: #000;
  355. color: #fff;
  356. transition:0.2s ease-in-out;
  357. }
  358. .portrait {
  359. // max-width:50% !important;
  360. background: transparent !important;
  361. img {
  362. width: 5rem !important;
  363. }
  364. }
  365. .bouton {
  366. border: solid;
  367. background-color: transparent;
  368. text-transform: uppercase;
  369. align-self: flex-end;
  370. margin-right: 2rem;
  371. }
  372. //
  373. // .bouton :hover {
  374. // background-color: #000;
  375. // }
  376. // pop in biographie
  377. .modal {
  378. position: fixed;
  379. z-index: 1;
  380. top: 0;
  381. right: 0;
  382. bottom: 0;
  383. left: 0;
  384. display: none;
  385. }
  386. .modal.open{
  387. display: block;
  388. }
  389. // #modal .mask{
  390. // background: none !important;
  391. // opacity: 1;
  392. // position: absolute;
  393. // top: 0;
  394. // right: 0;
  395. // bottom: 0;
  396. // left: 0;
  397. //
  398. // }
  399. // #body .grey {
  400. // opacity: 0.5;
  401. // }
  402. .modal .container{
  403. position: absolute;
  404. background: white !important;
  405. top: 50%;
  406. left: 50%;
  407. transform: translateX(-50%) translateY(-50%);
  408. width: 50%;
  409. height: content;
  410. min-height: 50px;
  411. border: solid;
  412. color: black;
  413. .message{
  414. padding: 5% 10% 5% 5%;
  415. }
  416. a.close{
  417. position: absolute;
  418. right: 5%;
  419. top:5%;
  420. color: black;
  421. font-size: 30px;
  422. }
  423. a.close:hover{
  424. color: black;
  425. }
  426. }
  427. // .modal .container .message{
  428. // padding: 5% 10% 5% 5%;
  429. //
  430. // }
  431. // .modal .container a.close{
  432. // position: absolute;
  433. // right: 5%;
  434. // top:5%;
  435. // color: black;
  436. // font-size: 30px;
  437. // }
  438. // .modal .container a.close:hover{
  439. // color: black;
  440. // }