styles.css 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312
  1. @charset "UTF-8";
  2. @font-face {
  3. font-family: "Public";
  4. font-style: normal;
  5. font-weight: 400;
  6. src: url("assets/fonts/PublicSans-Regular.ttf") format("TrueType");
  7. }
  8. @font-face {
  9. font-family: "Public";
  10. font-style: normal;
  11. font-weight: 300;
  12. src: url("assets/fonts/PublicSans-Light.ttf") format("TrueType");
  13. }
  14. @font-face {
  15. font-family: "Ortica";
  16. font-style: bold;
  17. font-weight: 300;
  18. src: url("assets/fonts/Ortica-Bold.woff2") format("woff2");
  19. }
  20. * {
  21. margin: 0;
  22. padding: 0;
  23. }
  24. body {
  25. font-family: "Public", sans-serif;
  26. font-weight: 400;
  27. }
  28. #content {
  29. padding: 1.5vh 1vw;
  30. position: fixed;
  31. top: 0;
  32. left: 0;
  33. width: 100vw;
  34. height: 100vh;
  35. display: flex;
  36. justify-content: center;
  37. align-items: center;
  38. z-index: 1;
  39. }
  40. #content svg {
  41. position: absolute;
  42. height: 50%;
  43. }
  44. #content svg path {
  45. cursor: pointer;
  46. }
  47. #content svg#fill {
  48. fill: white;
  49. /* mix blend mode est dépendant du stacking context */
  50. mix-blend-mode: overlay;
  51. opacity: 0.4;
  52. }
  53. #content svg#stroke {
  54. position: absolute;
  55. fill: none;
  56. stroke: black;
  57. stroke-width: 1px;
  58. }
  59. #content #BG_BG_BG {
  60. position: absolute;
  61. width: 100vw;
  62. height: 100vh;
  63. top: 0;
  64. left: 0;
  65. background-size: 100% 100%;
  66. background-repeat: no-repeat;
  67. z-index: -1;
  68. opacity: 1;
  69. transition: opacity 0.5s ease-in-out;
  70. }
  71. #content #BG_BG_BG_tmp {
  72. position: absolute;
  73. width: 100vw;
  74. height: 100vh;
  75. top: 0;
  76. left: 0;
  77. background-size: 100% 100%;
  78. background-repeat: no-repeat;
  79. z-index: -2;
  80. opacity: 0;
  81. transition: opacity 0.5s ease-in-out;
  82. }
  83. #grain-bg {
  84. position: absolute !important;
  85. width: 100vw;
  86. height: 100vh;
  87. }
  88. #grain-bg > * {
  89. position: relative;
  90. }
  91. #buttons_container {
  92. position: fixed;
  93. top: 0;
  94. left: 0;
  95. z-index: 1;
  96. display: flex;
  97. align-items: center;
  98. margin: 1.5vh 1vw;
  99. height: 4vh;
  100. }
  101. #buttons_container .niveau_profondeur {
  102. display: flex;
  103. flex-direction: column;
  104. justify-content: space-between;
  105. height: 100%;
  106. margin-right: 30px;
  107. width: 5vw;
  108. }
  109. #buttons_container .niveau_profondeur p {
  110. font-weight: 300;
  111. cursor: pointer;
  112. }
  113. #buttons_container .niveau_profondeur p.selected {
  114. font-weight: 400;
  115. text-decoration: underline;
  116. }
  117. #buttons_container .niveau_profondeur p:hover {
  118. font-weight: 400;
  119. }
  120. #buttons_container .arrow {
  121. margin-right: 15px;
  122. }
  123. #buttons_container .arrow svg {
  124. height: 27px;
  125. width: auto;
  126. fill: white;
  127. stroke: black;
  128. stroke-width: 0;
  129. cursor: pointer;
  130. margin-top: 4px;
  131. transition: fill 0.2s ease-out;
  132. }
  133. #buttons_container .arrow svg:hover {
  134. fill: rgb(110, 110, 110);
  135. }
  136. #buttons_container .arrow svg:active {
  137. fill: rgb(50, 50, 50);
  138. }
  139. #buttons_container .arrow:last-of-type {
  140. margin-right: 0;
  141. margin-left: 12px;
  142. }
  143. #buttons_container .mode {
  144. display: flex;
  145. align-items: center;
  146. justify-content: space-around;
  147. background-color: white;
  148. margin: 0;
  149. margin-right: 14px;
  150. padding: 10px 12px;
  151. border-radius: 50px;
  152. cursor: pointer;
  153. border: solid 0.8px rgb(110, 110, 110);
  154. color: rgba(0, 0, 0, 0.5);
  155. transition: border 0.1s ease-out, color 0.1s ease-out, padding 0.2s ease-out;
  156. font-weight: 300;
  157. font-size: 1rem;
  158. }
  159. #buttons_container .mode svg {
  160. height: 28px;
  161. }
  162. #buttons_container .mode svg .thick {
  163. transition: stroke-width 0.2s ease-out, fill 0.2s ease-out, stroke 0.2s ease-out;
  164. stroke-width: 0.8;
  165. stroke: rgb(110, 110, 110);
  166. }
  167. #buttons_container .mode svg .thin {
  168. transition: stroke-width 0.2s ease-out, fill 0.2s ease-out, stroke 0.2s ease-out;
  169. stroke-width: 0.5;
  170. stroke: rgb(110, 110, 110);
  171. }
  172. #buttons_container .mode svg .circle-fill {
  173. fill: rgb(110, 110, 110);
  174. }
  175. #buttons_container .mode .mode_container {
  176. overflow: hidden;
  177. width: auto;
  178. transition: max-width 0.4s ease-out, margin-left 0.4s ease-out, margin-right 0.4s ease-out;
  179. max-width: 0px;
  180. margin-left: 10px;
  181. margin-right: 5px;
  182. max-width: 200px;
  183. }
  184. #buttons_container .mode .mode_container p {
  185. white-space: nowrap;
  186. height: fit-content;
  187. margin-bottom: 3px;
  188. }
  189. #buttons_container .mode.active {
  190. padding: 10px 12px !important;
  191. font-weight: 400;
  192. border: solid 1.2px rgb(0, 0, 0);
  193. color: rgb(0, 0, 0);
  194. }
  195. #buttons_container .mode.active svg .thick {
  196. stroke-width: 1.2;
  197. stroke: rgb(0, 0, 0);
  198. }
  199. #buttons_container .mode.active svg .thin {
  200. stroke-width: 0.6;
  201. stroke: rgb(0, 0, 0);
  202. }
  203. #buttons_container .mode.active svg .circle-fill {
  204. fill: rgb(0, 0, 0);
  205. }
  206. #buttons_container .mode.active .mode_container {
  207. max-width: 200px !important;
  208. margin-left: 10px !important;
  209. margin-right: 5px !important;
  210. }
  211. #buttons_container .mode:hover {
  212. padding: 10px 12px !important;
  213. color: rgb(50, 50, 50);
  214. border-color: rgb(50, 50, 50);
  215. }
  216. #buttons_container .mode:hover svg .thick, #buttons_container .mode:hover svg .thin {
  217. stroke: rgb(50, 50, 50);
  218. }
  219. #buttons_container .mode:hover svg .circle-fill {
  220. fill: rgb(50, 50, 50);
  221. }
  222. #buttons_container .mode:hover .mode_container {
  223. max-width: 200px !important;
  224. margin-left: 10px !important;
  225. margin-right: 5px !important;
  226. }
  227. #buttons_container .mode.collapsed {
  228. padding: 10px 7px;
  229. }
  230. #buttons_container .mode.collapsed .mode_container {
  231. max-width: 0px;
  232. margin-left: 0px;
  233. margin-right: 0px;
  234. }
  235. #global_nav {
  236. position: fixed;
  237. bottom: 0;
  238. left: 0;
  239. margin: 1.5vh 1vw;
  240. z-index: 1;
  241. }
  242. #global_nav h1 {
  243. font-family: "Ortica";
  244. font-size: 1.7em;
  245. margin-bottom: 17px;
  246. margin-left: 5px;
  247. }
  248. #global_nav #menu {
  249. display: flex;
  250. }
  251. #global_nav #menu #search {
  252. display: flex;
  253. align-items: center;
  254. }
  255. #global_nav #menu #search input[type=search] {
  256. height: 34px;
  257. width: 10vw;
  258. padding-left: 13px;
  259. padding-right: 30px;
  260. padding-bottom: 2px;
  261. font-family: "Public";
  262. font-size: 1em;
  263. font-weight: 300;
  264. border-radius: 20px;
  265. border: solid rgb(110, 110, 110) 1.2px;
  266. color: rgb(110, 110, 110);
  267. transition: color 0.2s ease-out;
  268. }
  269. #global_nav #menu #search input[type=search]:hover {
  270. color: rgb(50, 50, 50);
  271. }
  272. #global_nav #menu #search input[type=search]:active {
  273. color: black;
  274. }
  275. #global_nav #menu #search button {
  276. background: none;
  277. border: none;
  278. cursor: pointer;
  279. }
  280. #global_nav #menu #search button svg {
  281. margin-top: 3px;
  282. margin-left: -45px;
  283. height: 24px;
  284. fill: rgb(110, 110, 110);
  285. transition: fill 0.2s ease-out;
  286. }
  287. #global_nav #menu #search button svg:hover {
  288. fill: rgb(50, 50, 50);
  289. }
  290. #global_nav #menu .menu_item {
  291. font-weight: 300;
  292. display: flex;
  293. align-items: center;
  294. cursor: pointer;
  295. margin: 0 10px;
  296. padding-bottom: 2px;
  297. }
  298. #global_nav #menu .menu_item svg {
  299. height: 24px;
  300. margin-right: -5px;
  301. }
  302. #global_nav #menu .menu_item:hover {
  303. font-weight: 400;
  304. }
  305. /*# sourceMappingURL=styles.css.map */