styles.css 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. @charset "UTF-8";
  2. /* mix blend mode est dépendant du stacking context */
  3. @font-face {
  4. font-family: "Public";
  5. font-style: normal;
  6. font-weight: 400;
  7. src: url("assets/fonts/PublicSans-Regular.ttf") format("TrueType");
  8. }
  9. @font-face {
  10. font-family: "Public";
  11. font-style: normal;
  12. font-weight: 300;
  13. src: url("assets/fonts/PublicSans-Light.ttf") format("TrueType");
  14. }
  15. * {
  16. margin: 0;
  17. padding: 0;
  18. }
  19. body {
  20. font-family: "Public", sans-serif;
  21. font-weight: 400;
  22. }
  23. #content {
  24. position: fixed;
  25. width: 100vw;
  26. height: 100vh;
  27. display: flex;
  28. justify-content: center;
  29. align-items: center;
  30. z-index: 1;
  31. }
  32. #content svg {
  33. width: 30%;
  34. height: auto;
  35. }
  36. #content svg path {
  37. cursor: pointer;
  38. }
  39. #content svg#fill {
  40. fill: white;
  41. mix-blend-mode: overlay;
  42. opacity: 0.6;
  43. }
  44. #content svg#stroke {
  45. position: absolute;
  46. fill: none;
  47. stroke: black;
  48. stroke-width: 1px;
  49. }
  50. #content #buttons_container {
  51. position: absolute;
  52. bottom: 5vh;
  53. display: flex;
  54. justify-content: center;
  55. align-items: center;
  56. z-index: 1;
  57. }
  58. #content #buttons_container .mode {
  59. display: flex;
  60. align-items: center;
  61. justify-content: center;
  62. background-color: white;
  63. margin: 0px 10px;
  64. padding: 7px 15px;
  65. padding-left: 10px;
  66. border-radius: 50px;
  67. cursor: pointer;
  68. border: solid 0.8px rgba(0, 0, 0, 0.5);
  69. transition: border 0.4s ease-in-out;
  70. font-weight: 300;
  71. font-size: 1rem;
  72. }
  73. #content #buttons_container .mode svg {
  74. width: 28px;
  75. height: auto;
  76. margin-right: 10px;
  77. }
  78. #content #buttons_container .mode svg .thick {
  79. transition: stroke-width 0.2s ease-in-out;
  80. stroke-width: 0.8;
  81. stroke: black;
  82. }
  83. #content #buttons_container .mode svg .thin {
  84. transition: stroke-width 0.2s ease-in-out;
  85. stroke-width: 0.5;
  86. stroke: black;
  87. }
  88. #content #buttons_container .mode p {
  89. height: fit-content;
  90. margin-bottom: 3px;
  91. }
  92. #content #buttons_container .mode.active {
  93. font-weight: 400;
  94. border: solid 1.2px rgb(0, 0, 0);
  95. }
  96. #content #buttons_container .mode.active svg .thick {
  97. stroke-width: 1.2;
  98. stroke: black;
  99. }
  100. #content #buttons_container .mode.active svg .thin {
  101. stroke-width: 0.6;
  102. stroke: black;
  103. }
  104. #content #BG_BG_BG {
  105. position: absolute;
  106. width: 100vw;
  107. height: 100vh;
  108. background-size: 100% 100%;
  109. background-repeat: no-repeat;
  110. z-index: -1;
  111. opacity: 1;
  112. transition: opacity 0.5s ease-in-out;
  113. }
  114. #content #BG_BG_BG_tmp {
  115. position: absolute;
  116. width: 100vw;
  117. height: 100vh;
  118. background-size: 100% 100%;
  119. background-repeat: no-repeat;
  120. z-index: -2;
  121. opacity: 0;
  122. transition: opacity 0.5s ease-in-out;
  123. }
  124. #grain-bg {
  125. position: absolute !important;
  126. width: 100vw;
  127. height: 100vh;
  128. }
  129. #grain-bg > * {
  130. position: relative;
  131. }
  132. /*# sourceMappingURL=styles.css.map */