theme.css 27 KB

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