File size: 4,130 Bytes
cd6f98e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
@tailwind base;
@tailwind components;
@tailwind utilities;

body {
    background: black;
}

.resend-font-effect-hero {
    /* #Resend */
    -webkit-text-fill-color: transparent;
    text-shadow: -1px -1px 0 hsla(0, 0%, 100%, .15), 1px 1px 0 rgba(0, 0, 0, .1);
}

.border-gradient {
    /* Mark as important to override react flow styling */
    background: linear-gradient(black, black) padding-box,
    linear-gradient(to bottom, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.15)) border-box !important;
    border: 1px solid transparent !important;
}

.radial-background-1 {
    background-image: radial-gradient(at 170% 0%, rgb(49, 46, 129) 0, transparent 69%), radial-gradient(at 0% -30%, rgb(21, 94, 117) 0, transparent 50%);
}

.after-gradient::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .8) 47.92%, rgba(255, 255, 255, 0));
}

.lower-gradient {
    background-image: linear-gradient(
            to top,
            rgba(255, 255, 255, 0.03),
            rgba(255, 255, 255, 0)
    );
    height: 20vh;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
}

.fading-hr {
    position: relative;
    height: 1px;
    background: linear-gradient(
            to right,
            transparent,
            hsla(0, 0%, 0%, 0.1),
            hsla(0, 0%, 0%, 0.2),
            hsla(0, 0%, 0%, 0.2),
            hsla(20, 0%, 0%, 0.1),
            transparent
    );
}

.fading-hr-dark {
    position: relative;
    height: 1px;
    background: linear-gradient(
            to right,
            transparent,
            rgba(255, 255, 255, 0.1),
            rgba(255, 255, 255, 0.2),
            rgba(255, 255, 255, 0.2),
            rgba(255, 255, 255, 0.1),
            transparent
    );
}

/* Used for code / table formatting within messages */
pre {
    @apply overflow-auto rounded-lg;
}

.window-heights {
    @apply h-[14em] overflow-y-auto overflow-x-hidden sm-h:h-[17em] md-h:h-[22em] lg-h:h-[30em];
}

.link {
    @apply cursor-pointer text-sky-500 underline hover:text-sky-300;
}

table {
    @apply w-full rounded-lg text-white;
    background-color: #0d1117;
}

th,
td {
    @apply rounded-lg border border-gray-700 px-4 py-2;
}

th {
    background-color: #161b22;
}

tr:nth-child(even) {
    background-color: #1c2028;
}


/* range input track style */
input[type=range] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    background: transparent;
}

input[type=range]:focus {
    outline: none;
}

input[type=range]::-ms-track {
    width: 100%;
    cursor: pointer;

    /* Hides the slider so custom styles can be added */
    background: transparent;
    border-color: transparent;
    color: transparent;
}

input[type=range] {
    @apply bg-slate-11 rounded-md;
    height: 0.5rem;
}

/* Customize website's scrollbar like Mac OS
Not supports in Firefox and IE */
/* total width */
*::-webkit-scrollbar {
    border-radius: 12px;
    background-color: #889096;
    width: 12px;
}

/* scrollbar itself */
*::-webkit-scrollbar-thumb {
    background-color: #D7DBDF;
    @apply rounded-lg;
    border: 2px solid #889096; /* This creates the illusion of padding inside the track */
}

/* set button(top and bottom of the scrollbar) */
*::-webkit-scrollbar-button {
    display: none;
}

/*  disappearing animation */
.animation-hide {
    animation: hide 1s cubic-bezier(0.4, 0, 0.2, 1) 0s 1 forwards;
}

@keyframes hide {
    to {
        opacity: 0;
    }
}

@keyframes border-pulse-animation {
    0% {
        border-color: rgba(216, 180, 254, 0.3);
    }
    50% {
        border-color: rgba(216, 180, 254, 0.4);
    }
    100% {
        border-color: rgba(216, 180, 254, 0.3);
    }
}

.animate-border-pulse {
    animation: border-pulse-animation 2s infinite;
}

@keyframes moveBackground {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 100% 0;
    }
}

.bg-stars {
    animation: moveBackground 30s linear infinite;
    background: url("/stars.svg");
    background-size: cover;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
}