index.css 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  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-blueGrey: #19202c;
  14. --color-lightGrey: #90969d;
  15. --color-grey: #454545;
  16. --color-midGrey: #2C3749;
  17. --color-primary: #db5034;
  18. --color-secondary: #00a698ff;
  19. --color-error: #d43939;
  20. --color-success: #28bd14;
  21. --grid-maxWidth: 120rem;
  22. --grid-gutter: 2rem;
  23. --font-size: 1.6rem;
  24. --font-family-sans: "Roboto", sans-serif;
  25. --font-family-mono: monaco, "Consolas", "Lucida Console", monospace;
  26. }
  27. .button,
  28. [type="button"],
  29. [type="reset"],
  30. [type="submit"],
  31. button {
  32. padding: 1rem 2.5rem;
  33. color: var(--font-color);
  34. background: var(--color-lightGrey);
  35. }
  36. .button:hover,
  37. [type="button"]:hover,
  38. [type="reset"]:hover,
  39. [type="submit"]:hover,
  40. button:hover {
  41. filter: brightness(125%);
  42. opacity: 1;
  43. }
  44. /*.button.clear,
  45. [type="button"].clear,
  46. [type="reset"].clear,
  47. [type="submit"].clear,
  48. button.clear {
  49. font-weight: 300;
  50. border-radius: 0;
  51. color: var(--font-color2);
  52. letter-spacing: -1px;
  53. padding: 0;
  54. }
  55. .button.clear:hover,
  56. [type="button"].clear:hover,
  57. [type="reset"].clear:hover,
  58. [type="submit"].clear:hover,
  59. button.clear:hover {
  60. color: var(--font-color);
  61. border-bottom: 1px solid var(--color-primary);
  62. }*/
  63. a:hover:not(.button) {
  64. filter: brightness(125%);
  65. opacity: 1;
  66. }
  67. h1,
  68. h2,
  69. h3,
  70. h4,
  71. h5 {
  72. font-family: var(--font-family-sans);
  73. }
  74. .tabs a {
  75. color: var(--font-color);
  76. }
  77. input::placeholder {
  78. color: var(--color-lightGrey);
  79. color: var(--color-grey);
  80. }
  81. /*input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="color"]):not([type="button"]):not([type="reset"]),
  82. select,
  83. textarea,
  84. textarea[type="text"] {
  85. border-radius: 2px;
  86. border: none;
  87. font-size: 1em;
  88. transition: all 0.2s ease;
  89. display: block;
  90. width: 100%;
  91. background-color: var(--bg-color);
  92. color: var(--font-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. }