styles.css 7.2 KB

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