theme.css 32 KB

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