theme.css 27 KB

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