···
1
+
/* @import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap"); */
3
+
/* Font fallback that closely matches Inter metrics */
5
+
font-family: "Inter Fallback";
7
+
ascent-override: 90%;
26
+
font-synthesis: none;
27
+
text-rendering: optimizeLegibility;
28
+
-webkit-font-smoothing: antialiased;
29
+
-moz-osx-font-smoothing: grayscale;
31
+
/* Light mode colors */
32
+
--text-color: #1a1a1a;
33
+
--text-color-secondary: #666;
34
+
--text-color-hover: #333;
36
+
--bg-color-secondary: #f5f5f5;
37
+
--bg-color-hover: #f0f0f0;
38
+
--bg-color-active: #e5e5e5;
39
+
--border-color: #ddd;
42
+
@media (prefers-color-scheme: dark) {
44
+
--text-color: #e0e0e0;
45
+
--text-color-secondary: #999;
46
+
--text-color-hover: #fff;
47
+
--bg-color: #121212;
48
+
--bg-color-secondary: #1e1e1e;
49
+
--bg-color-hover: #2a2a2a;
50
+
--bg-color-active: #333;
51
+
--border-color: #444;
58
+
box-sizing: border-box;
63
+
border: 2px solid var(--text-color-secondary);
76
+
color: var(--text-color);
77
+
background-color: var(--bg-color);
88
+
padding-bottom: 0.75rem;
92
+
color: var(--text-color-secondary);
95
+
color: var(--text-color-hover);
110
+
/* Add these new styles */
113
+
align-items: center;
118
+
/* Add this new style */
119
+
.content-container {
121
+
text-align: center;
125
+
/* Update url-input width to be 100% since container will control max width */
128
+
border: 1px solid var(--border-color);
129
+
border-radius: 4px;
131
+
background: var(--bg-color-secondary);
132
+
color: var(--text-color);
137
+
color: var(--text-color-secondary);
138
+
border-radius: 4px;
139
+
transition: all 0.2s;
141
+
align-items: center;
142
+
justify-content: center;
145
+
.copy-button:hover {
146
+
background: var(--bg-color-hover);
149
+
.copy-button:active {
150
+
background: var(--bg-color-active);
158
+
.copy-button.copied {
159
+
background: #28a745;
162
+
/* Add footer styles */
168
+
text-align: center;
170
+
color: var(--text-color-secondary);
174
+
color: var(--text-color-secondary);
175
+
text-decoration: none;
180
+
color: var(--text-color-hover);
183
+
/* Add styles for the settings button */
186
+
color: var(--text-color-secondary);
187
+
border-radius: 4px;
188
+
transition: all 0.2s;
190
+
align-items: center;
191
+
justify-content: center;
194
+
.settings-button:hover {
195
+
background: var(--bg-color-hover);
198
+
.settings-button:hover {
199
+
background: var(--bg-color-active);
202
+
.settings-button:hover img {
203
+
transform: rotate(180deg);
204
+
transition: transform 0.6s ease;
207
+
.settings-button:active {
208
+
transform: scale(0.95);
212
+
transition: transform 0.6s ease;
215
+
.settings-button:not(:hover) .settings {
216
+
transform: rotate(0deg);
226
+
background-color: rgba(0, 0, 0, 0.5);
231
+
position: relative;
232
+
background-color: var(--bg-color);
233
+
border: 1px solid var(--border-color);
236
+
border-radius: 8px;
242
+
position: absolute;
247
+
color: var(--text-color-secondary);
249
+
padding-right: 8px;
256
+
border-radius: 4px;
259
+
.bang-select-container {
260
+
position: relative;
261
+
display: inline-block;
265
+
.bang-select-container::after {
267
+
position: absolute;
270
+
color: var(--text-color-secondary);
271
+
pointer-events: none;
275
+
/* Update the bang-select class to account for the icon */
277
+
padding-right: 30px; /* Make room for the icon */
283
+
transform: translateX(0);
286
+
transform: translateX(-5px);
289
+
transform: translateX(5px);
293
+
@keyframes flash-red {
296
+
background-color: transparent;
299
+
background-color: rgba(255, 0, 0, 0.2);
304
+
animation: shake 0.2s ease-in-out;
308
+
animation: flash-red 0.3s ease-in-out;