index.css 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  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. filter: blur(3px);
  30. }
  31. .button,
  32. [type="button"],
  33. [type="reset"],
  34. [type="submit"],
  35. button {
  36. padding: 1rem 2.5rem;
  37. color: var(--font-color);
  38. background: var(--color-midGrey);
  39. border-radius: 0;
  40. }
  41. .button:hover,
  42. [type="button"]:hover,
  43. [type="reset"]:hover,
  44. [type="submit"]:hover,
  45. button:hover {
  46. filter: brightness(125%);
  47. opacity: 1;
  48. }
  49. /*.button.clear,
  50. [type="button"].clear,
  51. [type="reset"].clear,
  52. [type="submit"].clear,
  53. button.clear {
  54. font-weight: 300;
  55. border-radius: 0;
  56. color: var(--font-color2);
  57. letter-spacing: -1px;
  58. padding: 0;
  59. }
  60. .button.clear:hover,
  61. [type="button"].clear:hover,
  62. [type="reset"].clear:hover,
  63. [type="submit"].clear:hover,
  64. button.clear:hover {
  65. color: var(--font-color);
  66. border-bottom: 1px solid var(--color-primary);
  67. }*/
  68. a:hover:not(.button) {
  69. filter: brightness(125%);
  70. opacity: 1;
  71. }
  72. h1,
  73. h2,
  74. h3,
  75. h4,
  76. h5 {
  77. font-family: var(--font-family-sans);
  78. }
  79. .tabs a {
  80. color: var(--font-color);
  81. }
  82. input::placeholder {
  83. color: var(--color-lightGrey);
  84. color: var(--color-grey);
  85. }
  86. input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="color"]):not([type="button"]):not([type="reset"]),
  87. select,
  88. textarea,
  89. textarea[type="text"] {
  90. border-radius: 2px;
  91. background-color: var(--color-lightGrey);
  92. color: var(--bg-secondary-color);
  93. }
  94. /* Animation definition */
  95. /* hvr-pop */
  96. @keyframes hvr-pop {
  97. 0% {
  98. transform: scale(3);
  99. }
  100. }
  101. .hvr-pop {
  102. display: inline-block;
  103. vertical-align: middle;
  104. transform: perspective(1px) translateZ(0);
  105. box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  106. }
  107. .hvr-pop {
  108. animation-name: hvr-pop;
  109. animation-duration: 0.3s;
  110. animation-timing-function: linear;
  111. animation-iteration-count: 1;
  112. }
  113. /* Wobble Horizontal */
  114. @keyframes hvr-wobble-horizontal {
  115. 16.65% {
  116. transform: translateX(8px);
  117. }
  118. 33.3% {
  119. transform: translateX(-6px);
  120. }
  121. 49.95% {
  122. transform: translateX(4px);
  123. }
  124. 66.6% {
  125. transform: translateX(-2px);
  126. }
  127. 83.25% {
  128. transform: translateX(1px);
  129. }
  130. 100% {
  131. transform: translateX(0);
  132. }
  133. }
  134. .hvr-wobble-horizontal {
  135. display: inline-block;
  136. vertical-align: middle;
  137. transform: perspective(1px) translateZ(0);
  138. box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  139. }
  140. .hvr-wobble-horizontal {
  141. animation-name: hvr-wobble-horizontal;
  142. animation-duration: 0.5s;
  143. animation-timing-function: ease-in-out;
  144. animation-iteration-count: 1;
  145. }
  146. /* Curl Top Right */
  147. .hvr-curl-top-right {
  148. display: inline-block;
  149. vertical-align: middle;
  150. -webkit-transform: perspective(1px) translateZ(0);
  151. transform: perspective(1px) translateZ(0);
  152. box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  153. position: relative;
  154. }
  155. .hvr-curl-top-right:before {
  156. pointer-events: none;
  157. position: absolute;
  158. content: "";
  159. height: 0;
  160. width: 0;
  161. top: 0;
  162. right: 0;
  163. background: linear-gradient(
  164. 225deg,
  165. #222222 42%,
  166. white 45%,
  167. #aaa 50%,
  168. #ccc 56%,
  169. white 80%
  170. );
  171. box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.4);
  172. -webkit-transition-duration: 0.3s;
  173. transition-duration: 0.3s;
  174. -webkit-transition-property: width, height;
  175. transition-property: width, height;
  176. z-index: 5;
  177. opacity: 0.5;
  178. }
  179. .hvr-curl-top-right:hover:before,
  180. .hvr-curl-top-right:focus:before,
  181. .hvr-curl-top-right:active:before {
  182. width: 7px;
  183. height: 7px;
  184. }