aboutsummaryrefslogtreecommitdiff
path: root/projects/about/src/app/globals.css
blob: 404fef7f24c3cbe1da23fc04a4342d753ad09c92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
@tailwind base;
@tailwind components;
@tailwind utilities;

/* set default font */
html {
  font-family: "Monaspace Neon";
  font-feature-settings: "calt", "ss01", "ss02", "ss03", "ss04", "ss05", "ss06",
    "ss07", "ss08", "ss09", "liga";
}

/* hide scrollbar */
::-webkit-scrollbar {
  display: none;
}

/* make text pan :3 */
pan {
  background: linear-gradient(
    45deg,
    #ff1b8d 33%,
    #ffd800 33%,
    #ffd800 66%,
    #21b1ff 66%
  );
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* RAVE!!! */
.rave {
  background: red;
  animation: raveBackgroundAnimation 1s linear infinite;
}

@keyframes raveBackgroundAnimation {
  0% {
    background-color: red;
  }
  16.666% {
    background-color: orange;
  }
  33.333% {
    background-color: yellow;
  }
  50% {
    background-color: green;
  }
  66.666% {
    background-color: blue;
  }
  83.333% {
    background-color: indigo;
  }
  100% {
    background-color: violet;
  }
}

.rave > * {
  background: black;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: raveBackgroundTextAnimation 1s linear infinite;
}

@keyframes raveBackgroundTextAnimation {
  0% {
    background-color: black;
  }
  16.666% {
    background-color: black;
  }
  33.333% {
    background-color: black;
  }
  50% {
    background-color: white;
  }
  66.666% {
    background-color: white;
  }
  83.333% {
    background-color: white;
  }
  100% {
    background-color: black;
  }
}

/* page fade in */
body {
  opacity: 0;
  animation: fadeIn 1s ease-in-out forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}