index.css 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. @import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap");
  2. @import url(https://fonts.googleapis.com/css?family=Satisfy);
  3. body {
  4. margin: 0;
  5. padding: 0;
  6. }
  7. :root {
  8. --bg-color: #000000;
  9. --bg-secondary-color: #121212;
  10. --font-color: #f9fbfa;
  11. --font-color2: #b3b3b3;
  12. --color-darkGrey: #121212;
  13. --color-darkBlueGrey: #151a23;
  14. --color-blueGrey: #19202c;
  15. --color-lightGrey: #90969d;
  16. --color-grey: #454545;
  17. --color-midGrey: #2c3749;
  18. --color-primary: #db5034;
  19. --color-secondary: #00a698ff;
  20. --color-error: #d43939;
  21. --color-success: #28bd14;
  22. --grid-maxWidth: 120rem;
  23. --grid-gutter: 2rem;
  24. --font-size: 1.6rem;
  25. --font-family-sans: "Roboto", sans-serif;
  26. --font-family-mono: monaco, "Consolas", "Lucida Console", monospace;
  27. }
  28. .blurry .sync-board,
  29. .blurry #panel-container {
  30. filter: blur(3px);
  31. }
  32. .button,
  33. [type="button"],
  34. [type="reset"],
  35. [type="submit"],
  36. button {
  37. padding: 1rem 2.5rem;
  38. color: var(--font-color);
  39. background: var(--color-midGrey);
  40. border-radius: 0;
  41. }
  42. .button:hover,
  43. [type="button"]:hover,
  44. [type="reset"]:hover,
  45. [type="submit"]:hover,
  46. button:hover {
  47. filter: brightness(125%);
  48. opacity: 1;
  49. }
  50. /*.button.clear,
  51. [type="button"].clear,
  52. [type="reset"].clear,
  53. [type="submit"].clear,
  54. button.clear {
  55. font-weight: 300;
  56. border-radius: 0;
  57. color: var(--font-color2);
  58. letter-spacing: -1px;
  59. padding: 0;
  60. }
  61. .button.clear:hover,
  62. [type="button"].clear:hover,
  63. [type="reset"].clear:hover,
  64. [type="submit"].clear:hover,
  65. button.clear:hover {
  66. color: var(--font-color);
  67. border-bottom: 1px solid var(--color-primary);
  68. }*/
  69. a:hover:not(.button) {
  70. filter: brightness(125%);
  71. opacity: 1;
  72. }
  73. h1,
  74. h2,
  75. h3,
  76. h4,
  77. h5 {
  78. font-family: var(--font-family-sans);
  79. }
  80. .tabs a {
  81. color: var(--font-color);
  82. }
  83. input::placeholder {
  84. color: var(--color-lightGrey);
  85. color: var(--color-grey);
  86. }
  87. input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="color"]):not([type="button"]):not([type="reset"]),
  88. select,
  89. textarea,
  90. textarea[type="text"] {
  91. border-radius: 2px;
  92. background-color: var(--color-lightGrey);
  93. color: var(--bg-secondary-color);
  94. }
  95. /* Animation definition */
  96. /* hvr-pop */
  97. @keyframes hvr-pop {
  98. 0% {
  99. transform: scale(3);
  100. }
  101. }
  102. .hvr-pop {
  103. display: inline-block;
  104. vertical-align: middle;
  105. transform: perspective(1px) translateZ(0);
  106. box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  107. }
  108. .hvr-pop {
  109. animation-name: hvr-pop;
  110. animation-duration: 0.3s;
  111. animation-timing-function: linear;
  112. animation-iteration-count: 1;
  113. }
  114. /* Wobble Horizontal */
  115. @keyframes hvr-wobble-horizontal {
  116. 16.65% {
  117. transform: translateX(8px);
  118. }
  119. 33.3% {
  120. transform: translateX(-6px);
  121. }
  122. 49.95% {
  123. transform: translateX(4px);
  124. }
  125. 66.6% {
  126. transform: translateX(-2px);
  127. }
  128. 83.25% {
  129. transform: translateX(1px);
  130. }
  131. 100% {
  132. transform: translateX(0);
  133. }
  134. }
  135. .hvr-wobble-horizontal {
  136. display: inline-block;
  137. vertical-align: middle;
  138. transform: perspective(1px) translateZ(0);
  139. box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  140. }
  141. .hvr-wobble-horizontal {
  142. animation-name: hvr-wobble-horizontal;
  143. animation-duration: 0.5s;
  144. animation-timing-function: ease-in-out;
  145. animation-iteration-count: 1;
  146. }
  147. /* Curl Top Right */
  148. .hvr-curl-top-right {
  149. display: inline-block;
  150. vertical-align: middle;
  151. position: relative;
  152. }
  153. .hvr-curl-top-right:before {
  154. pointer-events: none;
  155. position: absolute;
  156. content: "";
  157. height: 0;
  158. width: 0;
  159. top: 0;
  160. right: 0;
  161. background: linear-gradient(
  162. 225deg,
  163. #222222 42%,
  164. white 45%,
  165. #aaa 50%,
  166. #ccc 56%,
  167. white 80%
  168. );
  169. box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.4);
  170. z-index: 5;
  171. opacity: 0.5;
  172. width: 7px;
  173. height: 7px;
  174. }