index.css 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. @import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap");
  2. body {
  3. margin: 0;
  4. padding: 0;
  5. }
  6. :root {
  7. --bg-color: #000000;
  8. --bg-secondary-color: #121212;
  9. --font-color: #f9fbfa;
  10. --font-color2: #b3b3b3;
  11. --color-darkGrey: #121212;
  12. --color-lightGrey: #90969d;
  13. --color-grey: #454545;
  14. --color-primary: #db5034;
  15. --color-secondary: #00a698ff;
  16. --color-error: #d43939;
  17. --color-success: #28bd14;
  18. --grid-maxWidth: 120rem;
  19. --grid-gutter: 2rem;
  20. --font-size: 1.6rem;
  21. --font-family-sans: "Roboto", sans-serif;
  22. --font-family-mono: monaco, "Consolas", "Lucida Console", monospace;
  23. }
  24. .button,
  25. [type="button"],
  26. [type="reset"],
  27. [type="submit"],
  28. button {
  29. padding: 1rem 2.5rem;
  30. color: var(--font-color);
  31. background: var(--color-lightGrey);
  32. }
  33. .button:hover,
  34. [type="button"]:hover,
  35. [type="reset"]:hover,
  36. [type="submit"]:hover,
  37. button:hover {
  38. filter: brightness(125%);
  39. opacity: 1;
  40. }
  41. a:hover:not(.button) {
  42. filter: brightness(125%);
  43. opacity: 1;
  44. }
  45. h1,
  46. h2,
  47. h3,
  48. h4,
  49. h5 {
  50. font-family: var(--font-family-sans);
  51. }
  52. .tabs a {
  53. color: var(--font-color);
  54. }
  55. input::placeholder {
  56. color: var(--color-lightGrey);
  57. color: var(--color-grey);
  58. }
  59. /*input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="color"]):not([type="button"]):not([type="reset"]),
  60. select,
  61. textarea,
  62. textarea[type="text"] {
  63. border-radius: 2px;
  64. border: none;
  65. font-size: 1em;
  66. transition: all 0.2s ease;
  67. display: block;
  68. width: 100%;
  69. background-color: var(--bg-color);
  70. color: var(--font-color);
  71. }*/
  72. /* Animation definition */
  73. /* hvr-pop */
  74. @keyframes hvr-pop {
  75. 0% {
  76. transform: scale(3);
  77. }
  78. }
  79. .hvr-pop {
  80. display: inline-block;
  81. vertical-align: middle;
  82. transform: perspective(1px) translateZ(0);
  83. box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  84. }
  85. .hvr-pop {
  86. animation-name: hvr-pop;
  87. animation-duration: 0.3s;
  88. animation-timing-function: linear;
  89. animation-iteration-count: 1;
  90. }
  91. /* Wobble Horizontal */
  92. @keyframes hvr-wobble-horizontal {
  93. 16.65% {
  94. transform: translateX(8px);
  95. }
  96. 33.3% {
  97. transform: translateX(-6px);
  98. }
  99. 49.95% {
  100. transform: translateX(4px);
  101. }
  102. 66.6% {
  103. transform: translateX(-2px);
  104. }
  105. 83.25% {
  106. transform: translateX(1px);
  107. }
  108. 100% {
  109. transform: translateX(0);
  110. }
  111. }
  112. .hvr-wobble-horizontal {
  113. display: inline-block;
  114. vertical-align: middle;
  115. transform: perspective(1px) translateZ(0);
  116. box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  117. }
  118. .hvr-wobble-horizontal {
  119. animation-name: hvr-wobble-horizontal;
  120. animation-duration: 0.5s;
  121. animation-timing-function: ease-in-out;
  122. animation-iteration-count: 1;
  123. }