theme.css 32 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312
  1. html, body, div, span, applet, object, iframe,
  2. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  3. a, abbr, acronym, address, big, cite, code,
  4. del, dfn, em, img, ins, kbd, q, s, samp,
  5. small, strike, strong, sub, sup, tt, var,
  6. b, u, i, center,
  7. dl, dt, dd, ol, ul, li,
  8. fieldset, form, label, legend,
  9. table, caption, tbody, tfoot, thead, tr, th, td,
  10. article, aside, canvas, details, embed,
  11. figure, figcaption, footer, header, hgroup,
  12. menu, nav, output, ruby, section, summary,
  13. time, mark, audio, video {
  14. margin: 0;
  15. padding: 0;
  16. border: 0;
  17. font-size: 100%;
  18. font: inherit;
  19. vertical-align: baseline;
  20. }
  21. /* HTML5 display-role reset for older browsers */
  22. article, aside, details, figcaption, figure,
  23. footer, header, hgroup, menu, nav, section {
  24. display: block;
  25. }
  26. body {
  27. line-height: 1;
  28. }
  29. ol, ul {
  30. list-style: none;
  31. }
  32. blockquote, q {
  33. quotes: none;
  34. }
  35. blockquote:before, blockquote:after,
  36. q:before, q:after {
  37. content: "";
  38. content: none;
  39. }
  40. table {
  41. border-collapse: collapse;
  42. border-spacing: 0;
  43. }
  44. a, a:active, a:focus, a:visited {
  45. text-decoration: none;
  46. color: inherit;
  47. }
  48. @font-face {
  49. font-family: "Lato";
  50. font-weight: bold;
  51. font-style: normal;
  52. src: url("../fonts/Lato/Lato-bold/Lato-bold.ttf") format("truetype"), url("../fonts/Lato/Lato-bold/Lato-bold.woff") format("woff"), url("../fonts/Lato/Lato-bold/Lato-bold.woff2") format("woff2");
  53. }
  54. @font-face {
  55. font-family: "Lato";
  56. font-weight: normal;
  57. font-style: italic;
  58. src: url("../fonts/Lato/Lato-italic/Lato-italic.ttf") format("truetype"), url("../fonts/Lato/Lato-italic/Lato-italic.woff") format("woff"), url("../fonts/Lato/Lato-italic/Lato-italic.woff2") format("woff2");
  59. }
  60. @font-face {
  61. font-family: "Lato";
  62. font-weight: bold;
  63. font-style: italic;
  64. src: url("../fonts/Lato/Lato-bold-italic/Lato-bold-italic.ttf") format("truetype"), url("../fonts/Lato/Lato-bold-italic/Lato-bold-italic.woff") format("woff"), url("../fonts/Lato/Lato-bold-italic/Lato-bold-italic.woff2") format("woff2");
  65. }
  66. @font-face {
  67. font-family: "Lato";
  68. font-weight: normal;
  69. font-style: normal;
  70. src: url("../fonts/Lato/Lato-regular/Lato-regular.ttf") format("truetype"), url("../fonts/Lato/Lato-regular/Lato-regular.woff") format("woff"), url("../fonts/Lato/Lato-regular/Lato-regular.woff2") format("woff2");
  71. }
  72. @font-face {
  73. font-family: "Syne";
  74. font-weight: bold;
  75. font-style: normal;
  76. src: url("../fonts/Syne/Syne-bold/Syne-bold.ttf") format("truetype"), url("../fonts/Syne/Syne-bold/Syne-bold.woff") format("woff"), url("../fonts/Syne/Syne-bold/Syne-bold.woff2") format("woff2");
  77. }
  78. @font-face {
  79. font-family: "Syne";
  80. font-weight: normal;
  81. font-style: normal;
  82. src: url("../fonts/Syne/Syne-regular/Syne-regular.ttf") format("truetype"), url("../fonts/Syne/Syne-regular/Syne-regular.woff") format("woff"), url("../fonts/Syne/Syne-regular/Syne-regular.woff2") format("woff2");
  83. }
  84. @font-face {
  85. font-family: "Avara";
  86. font-weight: bold;
  87. font-style: italic;
  88. src: url("../fonts/Avara/Avara-bold-italic/Avara-bold-italic.ttf") format("truetype"), url("../fonts/Avara/Avara-bold-italic/Avara-bold-italic.woff") format("woff"), url("../fonts/Avara/Avara-bold-italic/Avara-bold-italic.woff2") format("woff2");
  89. }
  90. @font-face {
  91. font-family: "ManifontGrotesk";
  92. font-weight: bold;
  93. font-style: italic;
  94. src: url("../fonts/ManifontGrotesk/ManifontGrotesk-bold-italic/ManifontGrotesk-bold-italic.ttf") format("truetype"), url("../fonts/ManifontGrotesk/ManifontGrotesk-bold-italic/ManifontGrotesk-bold-italic.woff") format("woff"), url("../fonts/ManifontGrotesk/ManifontGrotesk-bold-italic/ManifontGrotesk-bold-italic.woff2") format("woff2");
  95. }
  96. @font-face {
  97. font-family: "ManifontGrotesk";
  98. font-weight: normal;
  99. font-style: italic;
  100. src: url("../fonts/ManifontGrotesk/ManifontGrotesk-italic/ManifontGrotesk-italic.ttf") format("truetype"), url("../fonts/ManifontGrotesk/ManifontGrotesk-italic/ManifontGrotesk-italic.woff") format("woff"), url("../fonts/ManifontGrotesk/ManifontGrotesk-italic/ManifontGrotesk-italic.woff2") format("woff2");
  101. }
  102. @font-face {
  103. font-family: "PlayfairDisplay";
  104. font-weight: normal;
  105. font-style: italic;
  106. src: url("../fonts/PlayfairDisplay/PlayfairDisplay-italic/PlayfairDisplay-italic.ttf") format("truetype"), url("../fonts/PlayfairDisplay/PlayfairDisplay-italic/PlayfairDisplay-italic.woff") format("woff"), url("../fonts/PlayfairDisplay/PlayfairDisplay-italic/PlayfairDisplay-italic.woff2") format("woff2");
  107. }
  108. @font-face {
  109. font-family: "Rumeur";
  110. font-weight: bold;
  111. font-style: normal;
  112. src: url("../fonts/Rumeur/Rumeur-bold/Rumeur-bold.ttf") format("truetype"), url("../fonts/Rumeur/Rumeur-bold/Rumeur-bold.woff") format("woff"), url("../fonts/Rumeur/Rumeur-bold/Rumeur-bold.woff2") format("woff2");
  113. }
  114. @font-face {
  115. font-family: "Moche";
  116. font-weight: bold;
  117. font-style: normal;
  118. src: url("../fonts/Moche/Moche-bold/Moche-bold.ttf") format("truetype"), url("../fonts/Moche/Moche-bold/Moche-bold.woff") format("woff"), url("../fonts/Moche/Moche-bold/Moche-bold.woff2") format("woff2");
  119. }
  120. @font-face {
  121. font-family: "Redaction50";
  122. font-weight: bold;
  123. font-style: normal;
  124. src: url("../fonts/Redaction50/Redaction50-bold/Redaction50-bold.ttf") format("truetype"), url("../fonts/Redaction50/Redaction50-bold/Redaction50-bold.woff") format("woff"), url("../fonts/Redaction50/Redaction50-bold/Redaction50-bold.woff2") format("woff2");
  125. }
  126. @keyframes arrowIndex {
  127. 30% {
  128. transform: translateY(0px);
  129. }
  130. 50% {
  131. transform: translateY(20px);
  132. }
  133. 70% {
  134. transform: translateY(0px);
  135. }
  136. }
  137. .picto {
  138. display: block;
  139. cursor: pointer;
  140. background-color: #0e1229;
  141. }
  142. .picto-url {
  143. display: inline-block;
  144. width: 12px;
  145. height: 10px;
  146. }
  147. h1, h2 {
  148. font-family: Syne, Sans-serif;
  149. font-size: 1.8em;
  150. line-height: 1.1em;
  151. }
  152. h4 {
  153. display: block;
  154. padding-top: 0.8rem;
  155. width: 100%;
  156. font-family: Syne, Sans-serif;
  157. font-size: 1.25em;
  158. cursor: pointer;
  159. }
  160. h4 a {
  161. text-decoration: underline;
  162. text-decoration-thickness: 1px;
  163. }
  164. h4:first-of-type {
  165. padding-top: 0;
  166. }
  167. h4 + p {
  168. margin-bottom: 0.5rem !important;
  169. }
  170. h4 + p em {
  171. display: block;
  172. font-size: 0.75em;
  173. cursor: pointer;
  174. }
  175. h4 + p em > img {
  176. display: inline-block;
  177. height: 0.75em;
  178. width: 0.75em !important;
  179. margin-bottom: unset !important;
  180. margin-left: 0.3rem;
  181. transform: rotate(0deg);
  182. transition: transform 0.4s ease-out;
  183. }
  184. h4 + p em > img.open {
  185. transform: rotate(180deg);
  186. }
  187. h4 + p + p {
  188. margin-bottom: 0 !important;
  189. line-height: 1.45em;
  190. padding-bottom: 0rem;
  191. font-size: 0.75em;
  192. max-height: 0px;
  193. height: auto;
  194. overflow: hidden;
  195. transition: max-height 0.4s ease-out, padding-bottom 0.4s ease-out;
  196. }
  197. h4 + p + p.open {
  198. max-height: 50vh;
  199. padding-bottom: 1rem;
  200. }
  201. h4 + p + p + h2 {
  202. margin-top: 1.5rem;
  203. }
  204. p, ul, figcaption {
  205. font-family: Lato, Sans-serif;
  206. font-size: 1.2em;
  207. line-height: 1.25em;
  208. }
  209. strong {
  210. font-weight: bold;
  211. font-family: Syne, Sans-serif;
  212. }
  213. em {
  214. font-style: italic;
  215. }
  216. body {
  217. overflow-x: hidden;
  218. color: #0e1229;
  219. background-color: #f5f5f5;
  220. transition: background-color 0.4s ease-out;
  221. }
  222. body header {
  223. position: fixed;
  224. top: 0;
  225. z-index: 1;
  226. width: 100%;
  227. box-sizing: border-box;
  228. }
  229. body header #nav-container {
  230. height: 7vh;
  231. padding: 0 3vw;
  232. display: flex;
  233. justify-content: space-between;
  234. align-items: center;
  235. background-color: #f5f5f5;
  236. transition: background-color 0.4s ease-out;
  237. }
  238. body header #nav-container h1 {
  239. cursor: pointer;
  240. }
  241. body header #nav-container #burger {
  242. width: 25px;
  243. height: 23px;
  244. }
  245. body header nav {
  246. position: absolute;
  247. background-color: #0e1229;
  248. top: -100vh;
  249. width: 100%;
  250. height: calc(100vh - 7vh);
  251. display: flex;
  252. align-items: center;
  253. opacity: 0;
  254. transition: opacity 0.4s ease-out, top 0.7s ease-out, background-color 0.4s ease-out;
  255. }
  256. body header nav #crossMenu {
  257. position: absolute;
  258. top: 2vh;
  259. right: 3vw;
  260. background-color: #f5f5f5;
  261. width: 25px;
  262. height: 23px;
  263. }
  264. body header nav ul {
  265. display: flex;
  266. flex-direction: column;
  267. justify-content: space-between;
  268. width: 100%;
  269. }
  270. body header nav ul li {
  271. text-align: center;
  272. color: #f5f5f5;
  273. }
  274. body header nav ul li a {
  275. display: block;
  276. margin: 4vh 0;
  277. padding: 2.5vh 0;
  278. width: 100%;
  279. font-family: Syne, Sans-serif;
  280. font-size: 2.2em;
  281. }
  282. body header nav ul li.selected a {
  283. color: #0e1229;
  284. background-color: #f5f5f5;
  285. }
  286. body header nav.mobile-nav-open {
  287. top: 0;
  288. opacity: 1;
  289. }
  290. body header:after {
  291. content: "";
  292. display: block;
  293. width: 100%;
  294. height: 4vh;
  295. background: linear-gradient(to bottom, #f5f5f5, #f5f5f500);
  296. opacity: 1;
  297. transition: opacity 0.4s ease-out;
  298. }
  299. body header.plain_bg:after {
  300. opacity: 0;
  301. }
  302. body main {
  303. position: relative;
  304. width: 100%;
  305. box-sizing: border-box;
  306. margin-top: calc(7vh + 4vh);
  307. z-index: 0;
  308. }
  309. body main .content {
  310. position: absolute;
  311. padding: 0 3vw;
  312. }
  313. body main .content h2, body main .content p, body main .content ul {
  314. margin-bottom: 30px;
  315. }
  316. body main .content h2 a, body main .content p a, body main .content ul a {
  317. text-decoration: underline;
  318. text-underline-offset: 0.1em;
  319. transition: text-underline-offset 0.4s ease-out;
  320. }
  321. body main .content h2 a:hover, body main .content p a:hover, body main .content ul a:hover {
  322. text-underline-offset: 0.15em !important;
  323. }
  324. body main .content .projet-card {
  325. cursor: pointer;
  326. position: relative;
  327. display: flex;
  328. flex-direction: column;
  329. align-items: center;
  330. justify-content: center;
  331. margin-bottom: 30px;
  332. }
  333. body main .content .projet-card img, body main .content .projet-card video {
  334. border-radius: 10px;
  335. width: 100%;
  336. }
  337. body main .content .projet-card .loader {
  338. min-height: 200px;
  339. width: 20px;
  340. opacity: 0.4;
  341. }
  342. body main .content .projet-card a {
  343. width: 100%;
  344. display: flex;
  345. justify-content: center;
  346. }
  347. body main .content .projet-card a figcaption {
  348. color: #0e1229;
  349. background-color: transparent;
  350. padding: 0;
  351. margin-top: 5px;
  352. position: relative;
  353. font-size: 0.95em;
  354. transition: opacity 0.4s ease-out;
  355. }
  356. body main .content .projet-card a figcaption .publique-title {
  357. font-family: PlayfairDisplay, serif;
  358. font-style: italic;
  359. }
  360. body main .content .projet-card a figcaption .sociale-title {
  361. font-family: ManifontGrotesk, sans-serif;
  362. font-weight: bold;
  363. font-style: italic;
  364. }
  365. body main .content .projet-card a figcaption .culturelle-title {
  366. font-family: Avara, serif;
  367. font-weight: bold;
  368. font-style: italic;
  369. }
  370. body main .content .card-displayed {
  371. display: block;
  372. }
  373. body main .content .card-hidden {
  374. display: none;
  375. }
  376. body main #index-content {
  377. display: flex;
  378. flex-direction: column;
  379. align-items: center;
  380. }
  381. body main #index-content .animateText {
  382. text-decoration: underline 1px;
  383. }
  384. body main #index-content #loader-index {
  385. position: absolute;
  386. height: 80vh;
  387. width: 100vw;
  388. background-color: #f5f5f5;
  389. z-index: 1;
  390. display: flex;
  391. justify-content: center;
  392. align-items: center;
  393. }
  394. body main #index-content #main-p-index p {
  395. font-size: 2.2em;
  396. }
  397. body main #index-content #main-p-index #figureslibres {
  398. font-family: Syne, sans-serif;
  399. font-weight: bold;
  400. }
  401. body main #index-content #main-p-index #publique {
  402. font-family: PlayfairDisplay, serif;
  403. font-style: italic;
  404. }
  405. body main #index-content #main-p-index #sociale {
  406. font-family: ManifontGrotesk, sans-serif;
  407. font-weight: bold;
  408. font-style: italic;
  409. }
  410. body main #index-content #main-p-index #culturelle {
  411. font-family: Avara, serif;
  412. font-weight: bold;
  413. font-style: italic;
  414. }
  415. body main #index-content #extrait-projets > div {
  416. max-height: 0vh;
  417. display: grid;
  418. grid-template-columns: repeat(2, 1fr);
  419. gap: 0px 20px;
  420. align-items: flex-start;
  421. }
  422. body main #index-content #extrait-projets > div div figure {
  423. align-items: flex-start;
  424. }
  425. body main #index-content #extrait-projets > div div:last-of-type {
  426. width: auto;
  427. margin-top: 1vh;
  428. text-align: center;
  429. font-size: 1.2em;
  430. grid-column-end: span 2;
  431. }
  432. body main #index-content #extrait-projets > div div:last-of-type p {
  433. cursor: pointer;
  434. margin-bottom: 5px;
  435. width: auto;
  436. display: flex;
  437. align-items: center;
  438. justify-content: center;
  439. }
  440. body main #index-content #extrait-projets > div div:last-of-type p span {
  441. border-bottom: solid 1px #0e1229;
  442. padding-bottom: 1px;
  443. }
  444. body main #index-content #extrait-projets > div div:last-of-type p span #publique-link {
  445. font-family: PlayfairDisplay, serif;
  446. font-style: italic;
  447. }
  448. body main #index-content #extrait-projets > div div:last-of-type p span #sociale-link {
  449. font-family: ManifontGrotesk, sans-serif;
  450. font-weight: bold;
  451. font-style: italic;
  452. }
  453. body main #index-content #extrait-projets > div div:last-of-type p span #culturelle-link {
  454. font-family: Avara, serif;
  455. font-weight: bold;
  456. font-style: italic;
  457. }
  458. body main #index-content #extrait-projets > div div:last-of-type p .picto {
  459. display: inline-block;
  460. height: 10px;
  461. width: 25px;
  462. margin-left: 8px;
  463. transition: margin-left 0.4s ease-out;
  464. }
  465. body main #index-content #extrait-projets > div div:last-of-type p:first-of-type:hover + p .picto, body main #index-content #extrait-projets > div div:last-of-type p:last-of-type:hover .picto {
  466. margin-left: 13px;
  467. }
  468. body main #index-content #second-p-index p {
  469. font-size: 2.2em;
  470. }
  471. body main #index-content #second-p-index #commanditaires {
  472. font-family: Moche, sans-serif;
  473. font-weight: bold;
  474. }
  475. body main #index-content #second-p-index #projets {
  476. font-family: Redaction50, serif;
  477. font-weight: bold;
  478. }
  479. body main #index-content #commanditaires-grid {
  480. width: 85vw;
  481. display: grid;
  482. grid-template-columns: repeat(2, 1fr);
  483. gap: 25px 40px;
  484. align-items: center;
  485. }
  486. body main #index-content #commanditaires-grid img {
  487. filter: grayscale(100%);
  488. opacity: 0.7;
  489. width: 100%;
  490. }
  491. body main #index-content #arrow-container {
  492. margin-top: 30px;
  493. margin-bottom: 0vh;
  494. transition: transform 0.8s ease-out, margin-bottom 0.4s ease-out;
  495. }
  496. body main #index-content #arrow-container .picto {
  497. width: 45px;
  498. height: 37px;
  499. }
  500. body main #index-content #arrow-container #arrowIndex {
  501. animation: arrowIndex 4s infinite ease-out;
  502. }
  503. body main #index-content .container {
  504. overflow-y: hidden;
  505. height: auto;
  506. max-height: 0vh;
  507. margin-top: 0vh;
  508. opacity: 0;
  509. transition: opacity 0.4s ease-out, 0.7s 0.4s ease-out, max-height 1.2s ease-out, margin-top 1s ease-out;
  510. }
  511. body main #index-content a {
  512. text-decoration: none;
  513. }
  514. body main #projets-index {
  515. width: 100%;
  516. }
  517. body main #projets-index #filter-index {
  518. text-align: center;
  519. width: 100%;
  520. margin-bottom: 30px;
  521. display: flex;
  522. flex-direction: column;
  523. align-items: center;
  524. justify-content: center;
  525. }
  526. body main #projets-index #filter-index .filter-button {
  527. cursor: pointer;
  528. filter: grayscale(1);
  529. opacity: 0.4;
  530. padding: 0.25rem 0.75rem;
  531. border-radius: 1rem;
  532. font-size: 0.95em;
  533. min-height: 1.25em;
  534. display: inline-block;
  535. transition: opacity 0.4s ease-out, filter 0.4s ease-out;
  536. }
  537. body main #projets-index #filter-index .filter-button:hover {
  538. filter: grayscale(0) !important;
  539. opacity: 1 !important;
  540. }
  541. body main #projets-index #filter-index p {
  542. margin-bottom: 1rem;
  543. }
  544. body main #projets-index #filter-index #publique-filter {
  545. font-family: PlayfairDisplay, serif;
  546. font-style: italic;
  547. background-color: #ffaeab;
  548. }
  549. body main #projets-index #filter-index #sociale-filter {
  550. font-family: ManifontGrotesk, sans-serif;
  551. font-weight: bold;
  552. font-style: italic;
  553. background-color: #71ff94;
  554. }
  555. body main #projets-index #filter-index #culturelle-filter {
  556. font-family: Avara, serif;
  557. font-weight: bold;
  558. font-style: italic;
  559. background-color: #feff74;
  560. }
  561. body main #projets-index hr {
  562. width: 66%;
  563. margin-bottom: 4vh;
  564. opacity: 0.4;
  565. }
  566. body main #projets-index .projets-grid {
  567. width: 94vw;
  568. display: flex;
  569. flex-direction: column;
  570. align-items: center;
  571. }
  572. body main #projets-index .projets-grid > div {
  573. width: 80%;
  574. }
  575. body main #projets-index .title-category {
  576. cursor: pointer;
  577. display: flex;
  578. align-items: center;
  579. margin-bottom: 30px;
  580. }
  581. body main #projets-index .title-category h2 {
  582. margin: 0;
  583. max-width: 60%;
  584. }
  585. body main #projets-index .title-category .chevron-category {
  586. display: inline-block;
  587. width: 25px;
  588. height: 23px;
  589. max-height: 10px;
  590. margin-left: 6px;
  591. transition: transform 0.4s ease-out;
  592. }
  593. body main #projets-index .title-category .close {
  594. transform: rotate(180deg);
  595. }
  596. body main #text-content {
  597. display: flex;
  598. flex-direction: column-reverse;
  599. }
  600. body main #text-content img {
  601. width: 100%;
  602. }
  603. body main #reader {
  604. display: flex;
  605. flex-direction: column;
  606. align-items: center;
  607. }
  608. body main #reader figure {
  609. width: 100%;
  610. min-height: 200px;
  611. display: flex;
  612. justify-content: center;
  613. }
  614. body main #reader img, body main #reader video {
  615. cursor: pointer;
  616. max-width: 100%;
  617. }
  618. body main #reader .loader {
  619. max-width: 20px;
  620. }
  621. body main #reader #header-project {
  622. z-index: 1;
  623. display: block;
  624. position: fixed;
  625. height: 6vh;
  626. width: 100%;
  627. top: -4vh;
  628. transition: top 0.4s ease-out;
  629. }
  630. body main #reader #header-project h2 {
  631. margin: 0;
  632. overflow: hidden;
  633. position: absolute;
  634. width: 100%;
  635. height: 100%;
  636. padding: 3px 0;
  637. padding-top: 1.8vh;
  638. padding-left: 3vw;
  639. font-size: 1.2em;
  640. }
  641. body main #reader #header-project h2 span {
  642. transform: translate(0, 0);
  643. display: inline-block;
  644. white-space: nowrap;
  645. }
  646. body main #reader #header-project h2 .scrollText:after {
  647. content: attr(data-text);
  648. padding-left: 20px;
  649. white-space: nowrap;
  650. }
  651. body main #reader #header-project h2.info-project-publique {
  652. background: linear-gradient(to bottom, #ffaeab, #ffaeab 60%, rgba(255, 174, 171, 0));
  653. }
  654. body main #reader #header-project h2.info-project-publique span {
  655. font-family: PlayfairDisplay, serif;
  656. font-style: italic;
  657. }
  658. body main #reader #header-project h2.info-project-sociale {
  659. background: linear-gradient(to bottom, #71ff94, #71ff94 60%, rgba(113, 255, 148, 0));
  660. }
  661. body main #reader #header-project h2.info-project-sociale span {
  662. font-family: ManifontGrotesk, sans-serif;
  663. font-weight: bold;
  664. font-style: italic;
  665. }
  666. body main #reader #header-project h2.info-project-culturelle {
  667. background: linear-gradient(to bottom, #feff74, #feff74 60%, rgba(254, 255, 116, 0));
  668. }
  669. body main #reader #header-project h2.info-project-culturelle span {
  670. font-family: Avara, serif;
  671. font-weight: bold;
  672. font-style: italic;
  673. }
  674. body main #reader #header-project #gradient-long-title {
  675. position: absolute;
  676. height: 4vh;
  677. width: 40px;
  678. top: 1.5vh;
  679. right: 16.5%;
  680. background: linear-gradient(to left, #f5f5f5, #f5f5f500);
  681. }
  682. body main #reader #header-project + a {
  683. z-index: 2;
  684. }
  685. body main #reader #close-project {
  686. position: fixed;
  687. right: 3vw;
  688. top: 2.3vh;
  689. width: calc(25px - 5px);
  690. height: calc(23px - 5px);
  691. }
  692. body main #reader figure#cover-image-mobile {
  693. margin-top: -2vh;
  694. margin-bottom: 2vh;
  695. }
  696. body main #reader figure#cover-image {
  697. display: none;
  698. }
  699. body main #reader figure#cover-image-mobile,
  700. body main #reader figure#cover-image {
  701. position: relative;
  702. margin-top: 3vh;
  703. }
  704. body main #reader figure#cover-image-mobile img,
  705. body main #reader figure#cover-image img {
  706. filter: grayscale(0);
  707. transition: filter 0.4s ease-out;
  708. mix-blend-mode: normal;
  709. }
  710. body main #reader figure#cover-image-mobile:hover img,
  711. body main #reader figure#cover-image:hover img {
  712. filter: grayscale(1);
  713. mix-blend-mode: darken;
  714. }
  715. body main #reader figure#cover-image-mobile::before,
  716. body main #reader figure#cover-image::before {
  717. position: absolute;
  718. content: "";
  719. height: 100%;
  720. width: 100%;
  721. opacity: 0;
  722. transition: opacity 0.4s ease-out;
  723. }
  724. body main #reader figure#cover-image-mobile:hover::before,
  725. body main #reader figure#cover-image:hover::before {
  726. opacity: 1;
  727. }
  728. body main #reader figure#cover-image-mobile.sociale:hover::before,
  729. body main #reader figure#cover-image.sociale:hover::before {
  730. background-color: #71ff94;
  731. }
  732. body main #reader figure#cover-image-mobile.culturelle:hover::before,
  733. body main #reader figure#cover-image.culturelle:hover::before {
  734. background-color: #feff74;
  735. }
  736. body main #reader figure#cover-image-mobile.publique:hover::before,
  737. body main #reader figure#cover-image.publique:hover::before {
  738. background-color: #ffaeab;
  739. }
  740. body main #reader #info-project {
  741. align-self: flex-start;
  742. }
  743. body main #reader #info-project h2 {
  744. margin-top: 2vh;
  745. margin-bottom: 0;
  746. font-size: 1.6em;
  747. line-height: 1.1em;
  748. }
  749. body main #reader #info-project > div {
  750. margin-top: 0.3em;
  751. margin-bottom: 2.5vh;
  752. font-weight: normal;
  753. line-height: 1.25em;
  754. }
  755. body main #reader .info-project-publique h2, body main #reader .info-project-publique > div {
  756. font-family: PlayfairDisplay, serif;
  757. font-style: italic;
  758. }
  759. body main #reader .info-project-sociale h2, body main #reader .info-project-sociale > div {
  760. font-family: ManifontGrotesk, sans-serif;
  761. font-weight: bold;
  762. font-style: italic;
  763. }
  764. body main #reader .info-project-culturelle h2, body main #reader .info-project-culturelle > div {
  765. font-family: Avara, serif;
  766. font-weight: bold;
  767. font-style: italic;
  768. }
  769. body main #reader #project-description {
  770. margin-top: 2.2vh;
  771. }
  772. body main #reader #project-images-grid figure {
  773. position: relative;
  774. margin-top: 3vh;
  775. }
  776. body main #reader #project-images-grid figure img {
  777. filter: grayscale(0);
  778. transition: filter 0.4s ease-out;
  779. mix-blend-mode: normal;
  780. }
  781. body main #reader #project-images-grid figure:hover img {
  782. filter: grayscale(1);
  783. mix-blend-mode: darken;
  784. }
  785. body main #reader #project-images-grid figure::before {
  786. position: absolute;
  787. content: "";
  788. height: 100%;
  789. width: 100%;
  790. opacity: 0;
  791. transition: opacity 0.4s ease-out;
  792. }
  793. body main #reader #project-images-grid figure:hover::before {
  794. opacity: 1;
  795. }
  796. body main #reader #project-images-grid figure:hover.sociale::before {
  797. background-color: #71ff94;
  798. }
  799. body main #reader #project-images-grid figure:hover.publique::before {
  800. background-color: #ffaeab;
  801. }
  802. body main #reader #project-images-grid figure:hover.culturelle::before {
  803. background-color: #feff74;
  804. }
  805. body main #reader hr {
  806. margin-bottom: 2vh;
  807. width: 66%;
  808. opacity: 0.5;
  809. color: #0e1229;
  810. background-color: #0e1229;
  811. }
  812. body main #reader #related-pages {
  813. margin-top: 5vh;
  814. width: 100%;
  815. display: flex;
  816. flex-direction: column;
  817. align-items: center;
  818. }
  819. body main #reader #related-pages h3 {
  820. text-align: center;
  821. font-size: 1.8em;
  822. font-family: Syne, Sans-serif;
  823. margin-bottom: 2vh;
  824. margin-top: 2vh;
  825. }
  826. body main #reader #related-pages #related-grid {
  827. width: 80%;
  828. }
  829. body main #reader #related-pages #related-grid .card-displayed {
  830. margin-top: 1.5vh;
  831. }
  832. body main #reader #related-pages p {
  833. margin-top: 3vh;
  834. margin-bottom: 5vh;
  835. }
  836. body main #reader .swiper {
  837. position: fixed;
  838. top: 0;
  839. left: 0;
  840. height: 100vh;
  841. width: 100vw;
  842. background-color: rgba(255, 255, 255, 0.75);
  843. backdrop-filter: blur(2px);
  844. box-sizing: border-box;
  845. z-index: 3;
  846. display: none;
  847. opacity: 0;
  848. transition: opacity 0.3s ease-out;
  849. }
  850. body main #reader .swiper .swiper-wrapper {
  851. z-index: 9;
  852. display: flex;
  853. align-items: center;
  854. }
  855. body main #reader .swiper .swiper-wrapper .swiper-slide {
  856. height: 100%;
  857. width: 100%;
  858. display: flex;
  859. align-items: center;
  860. justify-content: center;
  861. }
  862. body main #reader .swiper .swiper-wrapper .swiper-slide img {
  863. max-height: 90%;
  864. max-width: 90%;
  865. object-fit: cover;
  866. }
  867. body main #reader .swiper .swiper-button-next, body main #reader .swiper .swiper-button-prev {
  868. color: #0e1229;
  869. padding: 2rem;
  870. bottom: 5vh;
  871. top: unset;
  872. }
  873. body main #reader .swiper #close-carousel {
  874. width: calc(25px - 5px);
  875. height: calc(23px - 5px);
  876. position: absolute;
  877. top: 5vh;
  878. right: 5vh;
  879. z-index: 10;
  880. }
  881. body footer {
  882. display: none;
  883. position: fixed;
  884. height: 7vh;
  885. bottom: 0;
  886. align-items: center;
  887. justify-content: center;
  888. z-index: 1;
  889. width: 100vw;
  890. }
  891. body footer p {
  892. width: 100%;
  893. height: 100%;
  894. text-align: center;
  895. color: #f5f5f5;
  896. }
  897. body footer p a {
  898. display: block;
  899. background: #0e1229;
  900. height: 100%;
  901. width: 100%;
  902. font-family: Syne, Sans-serif;
  903. padding: 0.95em 0;
  904. color: #f5f5f5;
  905. }
  906. @media only screen and (min-width: 576px) {
  907. body header nav {
  908. height: 100vh;
  909. }
  910. body main #index-content {
  911. min-height: 80vh;
  912. display: flex;
  913. flex-direction: column;
  914. justify-content: center;
  915. }
  916. body main #index-content #extrait-projets > div {
  917. grid-template-columns: repeat(2, 1fr);
  918. }
  919. body main #index-content #extrait-projets > div div:last-of-type {
  920. overflow-x: hidden;
  921. text-align: right;
  922. grid-column-end: span 2;
  923. }
  924. body main #index-content #extrait-projets > div div:last-of-type p {
  925. display: inline-block;
  926. }
  927. body main #index-content #extrait-projets > div div:last-of-type p .picto {
  928. margin-right: -6px;
  929. }
  930. body main #index-content #extrait-projets > div div:last-of-type p:last-of-type span:first-of-type {
  931. margin-left: -5px;
  932. padding-left: 5px;
  933. }
  934. body main #index-content #commanditaires-grid {
  935. width: auto;
  936. grid-template-columns: repeat(5, 1fr);
  937. }
  938. body main #projets-index {
  939. width: auto;
  940. }
  941. body main #projets-index #filter-index {
  942. justify-content: start;
  943. flex-direction: row;
  944. max-width: 100%;
  945. }
  946. body main #projets-index #filter-index p:last-of-type {
  947. margin-left: 8px;
  948. }
  949. body main #projets-index hr {
  950. margin-left: 0;
  951. width: 75%;
  952. }
  953. body main #projets-index .projets-grid {
  954. width: 100%;
  955. display: grid;
  956. grid-template-columns: repeat(3, 1fr);
  957. gap: 0 10px;
  958. align-items: start;
  959. }
  960. body main #projets-index .projets-grid > div {
  961. width: 100%;
  962. }
  963. body main #reader #close-project {
  964. width: 12px;
  965. height: 10px;
  966. top: 2.5vh;
  967. }
  968. body main #reader #cover-image-mobile {
  969. display: none !important;
  970. }
  971. body main #reader #cover-image {
  972. display: flex !important;
  973. margin-bottom: 5vh;
  974. }
  975. body main #reader h2#main-project-title {
  976. font-size: 2.9em;
  977. }
  978. body main #reader #info-project {
  979. margin-top: -6vh;
  980. }
  981. body main #reader #info-project div {
  982. margin-top: 0;
  983. margin-bottom: 8vh;
  984. }
  985. body main #reader #project-description {
  986. font-size: 0.95em;
  987. margin-bottom: 5vh;
  988. }
  989. body main #reader #project-images-grid {
  990. width: auto;
  991. display: grid;
  992. grid-template-columns: repeat(2, 1fr);
  993. grid-gap: 1em;
  994. }
  995. body main #reader #project-images-grid figure {
  996. margin-top: 0;
  997. width: 100%;
  998. min-width: 40vw;
  999. }
  1000. body main #reader #project-images-grid figure img:not(.loader) {
  1001. width: 100%;
  1002. height: 100%;
  1003. object-fit: cover;
  1004. }
  1005. body main #reader #project-images-grid figure:last-child:nth-child(odd) {
  1006. grid-column: span 2;
  1007. }
  1008. body main #reader #related-pages #related-grid {
  1009. display: grid;
  1010. grid-template-columns: repeat(3, 1fr);
  1011. width: auto !important;
  1012. grid-column-gap: 10%;
  1013. }
  1014. body main #reader #related-pages #related-grid .card-displayed {
  1015. margin-top: 2vh !important;
  1016. width: 100%;
  1017. }
  1018. body main #reader #related-pages #related-grid .card-displayed figure {
  1019. min-height: 80px !important;
  1020. }
  1021. body main #reader #related-pages p {
  1022. margin-top: 3vh;
  1023. margin-bottom: 6vh !important;
  1024. }
  1025. body main #reader .swiper .swiper-button-next, body main #reader .swiper .swiper-button-prev {
  1026. bottom: unset;
  1027. top: var(--swiper-navigation-top-offset, 50%);
  1028. }
  1029. body footer {
  1030. display: flex;
  1031. align-items: center;
  1032. justify-content: center;
  1033. width: auto;
  1034. padding: 0 15px;
  1035. height: 4vh;
  1036. right: 3vw;
  1037. border-radius: 20px 20px 0 0;
  1038. background-color: #0e1229;
  1039. }
  1040. body footer p {
  1041. height: auto;
  1042. font-size: 0.95em;
  1043. }
  1044. body footer p a {
  1045. padding: 0;
  1046. background-color: transparent;
  1047. }
  1048. }
  1049. @media only screen and (min-width: 996px) {
  1050. body header #nav-container {
  1051. display: none;
  1052. }
  1053. body header nav {
  1054. background-color: #f5f5f5;
  1055. position: relative;
  1056. top: 0;
  1057. opacity: 1;
  1058. height: 7vh;
  1059. justify-content: center;
  1060. }
  1061. body header nav #crossMenu {
  1062. display: none;
  1063. }
  1064. body header nav ul {
  1065. width: calc(65vw - 12px);
  1066. max-width: 1300px;
  1067. flex-direction: row;
  1068. }
  1069. body header nav ul li {
  1070. width: auto;
  1071. color: #0e1229;
  1072. height: 0.95em;
  1073. z-index: 0;
  1074. }
  1075. body header nav ul li a {
  1076. display: inline;
  1077. font-size: 0.95em;
  1078. width: auto;
  1079. margin: 0;
  1080. padding: 0;
  1081. transition: color 0.4s ease-out;
  1082. }
  1083. body header nav ul li:hover a {
  1084. color: #f5f5f5;
  1085. }
  1086. body header nav ul li.selected a {
  1087. color: #f5f5f5;
  1088. background-color: transparent;
  1089. }
  1090. body header nav ul li:after {
  1091. content: "";
  1092. display: block;
  1093. position: relative;
  1094. opacity: 0;
  1095. height: 100%;
  1096. width: 100%;
  1097. padding: 4px 12px;
  1098. transform: translateX(-12px) translateY(calc(-100% - 2px + 4px));
  1099. background-color: #0e1229;
  1100. border-radius: 15px;
  1101. z-index: -1;
  1102. transition: opacity 0.4s ease-out;
  1103. }
  1104. body header nav ul .selected:after, body header nav ul li:hover:after {
  1105. opacity: 1;
  1106. }
  1107. body header:after {
  1108. height: 2vh;
  1109. }
  1110. body main {
  1111. display: flex;
  1112. justify-content: center;
  1113. margin-top: calc(7vh + 2vh + 30px);
  1114. }
  1115. body main #index-content > #extrait-projets figure a figcaption {
  1116. background-color: #0e1229;
  1117. color: #f5f5f5;
  1118. }
  1119. body main .content {
  1120. width: 65vw;
  1121. padding: 0;
  1122. }
  1123. body main .content .card-displayed figure a figcaption {
  1124. opacity: 0;
  1125. position: absolute;
  1126. bottom: 0;
  1127. left: 0;
  1128. width: 100%;
  1129. box-sizing: border-box;
  1130. padding: 10px;
  1131. color: #0e1229;
  1132. font-size: 0.75em;
  1133. border-radius: 0 0 10px 10px;
  1134. }
  1135. body main .content .culturelle-card figure a figcaption {
  1136. background-color: #feff74;
  1137. }
  1138. body main .content .sociale-card figure a figcaption {
  1139. background-color: #71ff94;
  1140. }
  1141. body main .content .publique-card figure a figcaption {
  1142. background-color: #ffaeab;
  1143. }
  1144. body main .card-displayed:hover figure a figcaption {
  1145. opacity: 1;
  1146. }
  1147. body main #index-content #extrait-projets > div {
  1148. grid-template-columns: repeat(4, 1fr);
  1149. }
  1150. body main #index-content #extrait-projets > div div:last-of-type {
  1151. grid-column-end: span 4;
  1152. }
  1153. body main #index-content #commanditaires-grid {
  1154. grid-template-columns: repeat(8, 1fr);
  1155. }
  1156. body main #projets-index {
  1157. width: 65vw;
  1158. }
  1159. body main #projets-index .projets-grid {
  1160. grid-template-columns: repeat(4, 1fr);
  1161. }
  1162. body main #text-content .text-item {
  1163. width: 70%;
  1164. }
  1165. body main #text-content .text-item:first-of-type {
  1166. position: absolute;
  1167. top: 0;
  1168. width: 20vw;
  1169. left: 82%;
  1170. }
  1171. body main #text-content .text-item:first-of-type img {
  1172. width: 70%;
  1173. margin-bottom: 5vh;
  1174. }
  1175. body main #reader {
  1176. margin-top: -10vh;
  1177. width: 60vw;
  1178. }
  1179. body main #reader #header-project {
  1180. width: 100%;
  1181. }
  1182. body main #reader #header-project h2 {
  1183. width: 100%;
  1184. padding: 0;
  1185. }
  1186. body main #reader #header-project h2 span {
  1187. padding-left: 20vw;
  1188. padding-top: 1.4vh;
  1189. height: 1.25em;
  1190. }
  1191. body main #reader #header-project #gradient-long-title {
  1192. right: 34.2vw;
  1193. }
  1194. body main #reader #cover-image {
  1195. width: 66.666%;
  1196. box-sizing: border-box;
  1197. margin: 0 10vw;
  1198. }
  1199. body main #reader #info-project {
  1200. width: 100%;
  1201. box-sizing: border-box;
  1202. padding: 0 10vw;
  1203. margin-top: 2vh;
  1204. margin-bottom: 4vh;
  1205. }
  1206. body main #reader #info-project h2 {
  1207. min-width: 95%;
  1208. border-right: solid 1px rgba(0, 0, 0, 0.4);
  1209. margin-top: 0;
  1210. margin-bottom: 1vh;
  1211. }
  1212. body main #reader #info-project div {
  1213. margin-bottom: 2vh;
  1214. }
  1215. body main #reader .info-project-culturelle h2 {
  1216. line-height: 1.25em !important;
  1217. }
  1218. body main #reader #close-project {
  1219. width: 25px;
  1220. height: 23px;
  1221. top: calc(4vh + 11.5px);
  1222. right: calc(30vw - 25px - 2vw);
  1223. transform: scale(1, 1);
  1224. transition: top 0.4s ease-out, right 0.4s ease-out, transform 0.4s ease-out;
  1225. }
  1226. body main #reader .scrolled-cross {
  1227. top: 1.4vh !important;
  1228. right: 20vw !important;
  1229. transform: scale(0.7, 0.7) !important;
  1230. }
  1231. body main #reader #project-description {
  1232. padding: 0 10vw;
  1233. align-self: flex-start;
  1234. }
  1235. body main #reader #project-images-grid {
  1236. width: auto;
  1237. margin-bottom: 6vh;
  1238. }
  1239. body main #reader #project-images-grid figure {
  1240. min-width: 15vw;
  1241. }
  1242. body main #reader #related-pages hr {
  1243. margin-bottom: 4vh;
  1244. }
  1245. body main #reader #related-pages h3 {
  1246. margin-top: 0;
  1247. }
  1248. body main #reader #related-pages #related-grid {
  1249. width: 100%;
  1250. grid-column-gap: 3%;
  1251. }
  1252. body main #reader #related-pages #related-grid div figure {
  1253. min-width: 10vw;
  1254. }
  1255. body main #reader #related-pages p {
  1256. align-self: flex-end;
  1257. }
  1258. body footer {
  1259. height: 4vh;
  1260. width: auto;
  1261. right: 12%;
  1262. }
  1263. body footer p {
  1264. width: inherit;
  1265. }
  1266. body footer p a {
  1267. font-size: 1.2em;
  1268. }
  1269. }
  1270. @media only screen and (min-width: 1500px) {
  1271. body main #index-content #main-p-index p {
  1272. font-size: 2.9em;
  1273. }
  1274. body main #index-content #arrow-container {
  1275. margin-top: 7vh;
  1276. }
  1277. body main #index-content #arrow-container .picto {
  1278. width: 60px;
  1279. height: 54px;
  1280. }
  1281. body main #projets-index .projets-grid {
  1282. column-gap: 2em;
  1283. grid-template-columns: repeat(4, 1fr);
  1284. }
  1285. body main #reader #related-pages {
  1286. padding: 0 10vw;
  1287. box-sizing: border-box;
  1288. }
  1289. }
  1290. /*# sourceMappingURL=theme.css.map */