styles.css 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  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: center;
  147. background-color: white;
  148. margin: 0;
  149. margin-right: 14px;
  150. padding: 7px 15px;
  151. padding-left: 10px;
  152. border-radius: 50px;
  153. cursor: pointer;
  154. border: solid 0.8px rgb(110, 110, 110);
  155. color: rgba(0, 0, 0, 0.5);
  156. transition: border 0.1s ease-out, color 0.1s ease-out;
  157. font-weight: 300;
  158. font-size: 1rem;
  159. }
  160. #buttons_container .mode svg {
  161. width: 28px;
  162. height: auto;
  163. margin-right: 10px;
  164. }
  165. #buttons_container .mode svg .thick {
  166. transition: stroke-width 0.2s ease-out, fill 0.2s ease-out, stroke 0.2s ease-out;
  167. stroke-width: 0.8;
  168. stroke: rgb(110, 110, 110);
  169. }
  170. #buttons_container .mode svg .thin {
  171. transition: stroke-width 0.2s ease-out, fill 0.2s ease-out, stroke 0.2s ease-out;
  172. stroke-width: 0.5;
  173. stroke: rgb(110, 110, 110);
  174. }
  175. #buttons_container .mode svg .circle-fill {
  176. fill: rgb(110, 110, 110);
  177. }
  178. #buttons_container .mode p {
  179. height: fit-content;
  180. margin-bottom: 3px;
  181. }
  182. #buttons_container .mode.active {
  183. font-weight: 400;
  184. border: solid 1.2px rgb(0, 0, 0);
  185. color: rgb(0, 0, 0);
  186. }
  187. #buttons_container .mode.active svg .thick {
  188. stroke-width: 1.2;
  189. stroke: rgb(0, 0, 0);
  190. }
  191. #buttons_container .mode.active svg .thin {
  192. stroke-width: 0.6;
  193. stroke: rgb(0, 0, 0);
  194. }
  195. #buttons_container .mode.active svg .circle-fill {
  196. fill: rgb(0, 0, 0);
  197. }
  198. #buttons_container .mode:hover {
  199. color: rgb(50, 50, 50);
  200. border-color: rgb(50, 50, 50);
  201. }
  202. #buttons_container .mode:hover svg .thick, #buttons_container .mode:hover svg .thin {
  203. stroke: rgb(50, 50, 50);
  204. }
  205. #buttons_container .mode:hover svg .circle-fill {
  206. fill: rgb(50, 50, 50);
  207. }
  208. #global_nav {
  209. position: fixed;
  210. bottom: 0;
  211. left: 0;
  212. margin: 1.5vh 1vw;
  213. z-index: 1;
  214. }
  215. #global_nav h1 {
  216. font-family: "Ortica";
  217. font-size: 1.7em;
  218. margin-bottom: 10px;
  219. margin-left: 5px;
  220. }
  221. #global_nav #menu {
  222. display: flex;
  223. }
  224. #global_nav #menu #search {
  225. display: flex;
  226. align-items: center;
  227. }
  228. #global_nav #menu #search input[type=search] {
  229. height: 34px;
  230. width: 10vw;
  231. padding-left: 13px;
  232. padding-right: 30px;
  233. padding-bottom: 2px;
  234. font-family: "Public";
  235. font-size: 1em;
  236. font-weight: 300;
  237. border-radius: 20px;
  238. border: solid rgb(110, 110, 110) 1.2px;
  239. color: rgb(110, 110, 110);
  240. transition: color 0.2s ease-out;
  241. }
  242. #global_nav #menu #search input[type=search]:hover {
  243. color: rgb(50, 50, 50);
  244. }
  245. #global_nav #menu #search input[type=search]:active {
  246. color: black;
  247. }
  248. #global_nav #menu #search button {
  249. background: none;
  250. border: none;
  251. cursor: pointer;
  252. }
  253. #global_nav #menu #search button svg {
  254. margin-top: 3px;
  255. margin-left: -45px;
  256. height: 24px;
  257. fill: rgb(110, 110, 110);
  258. transition: fill 0.2s ease-out;
  259. }
  260. #global_nav #menu #search button svg:hover {
  261. fill: rgb(50, 50, 50);
  262. }
  263. #global_nav #menu .menu_item {
  264. font-weight: 300;
  265. display: flex;
  266. align-items: center;
  267. cursor: pointer;
  268. margin: 0 10px;
  269. padding-bottom: 2px;
  270. }
  271. #global_nav #menu .menu_item svg {
  272. height: 24px;
  273. margin-right: -5px;
  274. }
  275. #global_nav #menu .menu_item:hover {
  276. font-weight: 400;
  277. }
  278. /*# sourceMappingURL=styles.css.map */