123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333 |
- @charset "UTF-8";
- @font-face {
- font-family: "Public";
- font-style: normal;
- font-weight: 400;
- src: url("assets/fonts/PublicSans-Regular.ttf") format("TrueType");
- }
- @font-face {
- font-family: "Public";
- font-style: normal;
- font-weight: 300;
- src: url("assets/fonts/PublicSans-Light.ttf") format("TrueType");
- }
- @font-face {
- font-family: "Ortica";
- font-style: bold;
- font-weight: 300;
- src: url("assets/fonts/Ortica-Bold.woff2") format("woff2");
- }
- * {
- margin: 0;
- padding: 0;
- }
- button {
- all: initial;
- }
- body {
- font-family: "Public", sans-serif;
- font-weight: 400;
- color: rgb(0, 0, 0);
- }
- #content {
- padding: 1.5vh 1vw 2vh 1vw;
- position: fixed;
- top: 0;
- left: 0;
- width: 100vw;
- height: 100vh;
- display: flex;
- justify-content: center;
- align-items: center;
- z-index: 1;
- }
- #content svg {
- position: absolute;
- height: 50%;
- }
- #content svg path {
- cursor: pointer;
- }
- #content svg#fill {
- fill: rgb(255, 255, 255);
- /* mix blend mode est dépendant du stacking context */
- mix-blend-mode: overlay;
- opacity: 0.4;
- }
- #content svg#stroke {
- position: absolute;
- fill: none;
- stroke: rgb(0, 0, 0);
- stroke-width: 1px;
- }
- #buttons_container {
- position: fixed;
- top: 0;
- left: 0;
- z-index: 1;
- display: flex;
- align-items: center;
- margin: 1.5vh 1vw 2vh 1vw;
- font-size: 1rem;
- }
- #buttons_container .niveau_profondeur {
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- height: 100%;
- margin-right: 30px;
- width: 5vw;
- }
- #buttons_container .niveau_profondeur p {
- font-weight: 300;
- cursor: pointer;
- }
- #buttons_container .niveau_profondeur p.selected {
- font-weight: 400;
- text-decoration: underline;
- }
- #buttons_container .niveau_profondeur p:hover {
- font-weight: 400;
- }
- #buttons_container .arrow {
- margin-right: 14px;
- }
- #buttons_container .arrow svg {
- height: 2rem;
- width: auto;
- fill: rgb(255, 255, 255);
- stroke: rgb(0, 0, 0);
- stroke-width: 0;
- cursor: pointer;
- margin-top: 4px;
- transition: fill 0.3s ease-out;
- }
- #buttons_container .arrow svg:hover {
- fill: rgb(110, 110, 110);
- }
- #buttons_container .arrow svg:active {
- fill: rgb(50, 50, 50);
- }
- #buttons_container .arrow:last-of-type {
- margin-right: 0;
- margin-left: 14px;
- }
- #buttons_container .mode {
- display: flex;
- align-items: center;
- justify-content: space-around;
- background-color: rgb(255, 255, 255);
- margin: 0;
- margin-right: 14px;
- padding: 10px 12px;
- border-radius: 50px;
- cursor: pointer;
- border: solid 0.8px rgb(110, 110, 110);
- color: rgba(0, 0, 0, 0.5);
- transition: border 0.1s ease-out, color 0.1s ease-out, padding 0.3s ease-out;
- font-weight: 300;
- }
- #buttons_container .mode svg {
- height: 2rem;
- }
- #buttons_container .mode svg .thick {
- transition: stroke-width 0.3s ease-out, fill 0.3s ease-out, stroke 0.3s ease-out;
- stroke-width: 0.8;
- stroke: rgb(110, 110, 110);
- }
- #buttons_container .mode svg .thin {
- transition: stroke-width 0.3s ease-out, fill 0.3s ease-out, stroke 0.3s ease-out;
- stroke-width: 0.5;
- stroke: rgb(110, 110, 110);
- }
- #buttons_container .mode svg .circle-fill {
- fill: rgb(110, 110, 110);
- }
- #buttons_container .mode .mode_container {
- overflow: hidden;
- width: auto;
- transition: max-width 0.4s ease-out, margin-left 0.4s ease-out, margin-right 0.4s ease-out;
- max-width: 0px;
- margin: 0px 5px 0px 10px;
- max-width: 200px;
- }
- #buttons_container .mode .mode_container p {
- white-space: nowrap;
- height: fit-content;
- margin-bottom: 1.5px;
- }
- #buttons_container .mode.active {
- padding: 10px 12px !important;
- font-weight: 400;
- border: solid 1.2px rgb(0, 0, 0);
- color: rgb(0, 0, 0);
- }
- #buttons_container .mode.active svg .thick {
- stroke-width: 1.2;
- stroke: rgb(0, 0, 0);
- }
- #buttons_container .mode.active svg .thin {
- stroke-width: 0.6;
- stroke: rgb(0, 0, 0);
- }
- #buttons_container .mode.active svg .circle-fill {
- fill: rgb(0, 0, 0);
- }
- #buttons_container .mode.active .mode_container {
- max-width: 200px !important;
- margin: 0px 5px 0px 10px !important;
- }
- #buttons_container .mode:hover {
- padding: 10px 12px !important;
- color: rgb(50, 50, 50);
- border-color: rgb(50, 50, 50);
- }
- #buttons_container .mode:hover svg .thick, #buttons_container .mode:hover svg .thin {
- stroke: rgb(50, 50, 50);
- }
- #buttons_container .mode:hover svg .circle-fill {
- fill: rgb(50, 50, 50);
- }
- #buttons_container .mode:hover .mode_container {
- max-width: 200px !important;
- margin: 0px 5px 0px 10px !important;
- }
- #buttons_container .mode.collapsed {
- padding: 10px 10px;
- }
- #buttons_container .mode.collapsed .mode_container {
- max-width: 0px;
- margin-left: 0px;
- margin-right: 0px;
- }
- #buttons_container .mode:last-of-type {
- margin-right: 0;
- }
- #global_nav {
- position: fixed;
- bottom: 0;
- left: 0;
- margin: 1.5vh 1vw 2vh 1vw;
- z-index: 1;
- font-size: 1rem;
- }
- #global_nav h1 {
- font-family: "Ortica";
- font-size: 1.7em;
- margin: 0px 0px 17px 5px;
- }
- #global_nav #menu {
- display: flex;
- align-items: center;
- }
- #global_nav #menu #search {
- display: flex;
- align-items: center;
- }
- #global_nav #menu #search input[type=search] {
- height: 2rem;
- width: 10vw;
- padding-left: 13px;
- padding-right: 30px;
- padding-bottom: 1px;
- font-family: "Public";
- font-weight: 300;
- border-radius: 20px;
- border: solid rgb(110, 110, 110) 1.2px;
- color: rgb(110, 110, 110);
- background-color: rgb(255, 255, 255);
- transition: color 0.3s ease-out;
- }
- #global_nav #menu #search input[type=search]:hover {
- color: rgb(50, 50, 50);
- }
- #global_nav #menu #search input[type=search]:active {
- color: rgb(0, 0, 0);
- }
- #global_nav #menu #search button {
- background: none;
- border: none;
- cursor: pointer;
- }
- #global_nav #menu #search button svg {
- margin-top: 5px;
- margin-left: -45px;
- height: 1.3rem;
- fill: rgb(110, 110, 110);
- transition: fill 0.3s ease-out;
- }
- #global_nav #menu #search button svg:hover {
- fill: rgb(50, 50, 50);
- }
- #global_nav #menu .menu_item {
- font-weight: 300;
- display: flex;
- align-items: center;
- cursor: pointer;
- margin: 0 10px;
- padding-bottom: 2px;
- }
- #global_nav #menu .menu_item svg {
- width: 1.3rem;
- height: 1.3rem;
- margin-right: 3px;
- fill: rgb(0, 0, 0);
- }
- #global_nav #menu .menu_item:hover {
- font-weight: 400;
- }
- @media only screen and (max-width: 1440px) {
- #buttons_container, #global_nav {
- font-size: 0.7rem;
- }
- #buttons_container .arrow svg {
- height: 1.2rem;
- }
- #buttons_container .mode {
- padding: 8px 10px 8px 7px;
- }
- #buttons_container .mode svg {
- height: 1.2rem;
- }
- #buttons_container .mode .mode_container {
- margin: 0px 3px 0px 5px;
- }
- #buttons_container .mode.active {
- padding: 8px 10px 8px 7px !important;
- }
- #buttons_container .mode.active .mode_container {
- margin: 0px 3px 0px 5px !important;
- }
- #buttons_container .mode:hover {
- padding: 8px 10px 8px 7px !important;
- }
- #buttons_container .mode:hover .mode_container {
- margin: 0px 3px 0px 5px !important;
- }
- #buttons_container .mode.collapsed {
- padding: 8px 2px;
- }
- #global_nav h1 {
- margin: 0px 0px 8px 5px;
- }
- #global_nav #menu #search input[type=search] {
- height: 1.5rem;
- font-size: 0.7rem;
- }
- #global_nav #menu #search button svg {
- margin-left: -23px;
- width: 1rem;
- }
- #global_nav #menu .menu_item svg {
- width: 1rem;
- height: 1rem;
- }
- }
- /*# sourceMappingURL=styles.css.map */
|