theme.css 31 KB

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