-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
102 lines (90 loc) · 1.73 KB
/
style.css
File metadata and controls
102 lines (90 loc) · 1.73 KB
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
/* ===== BASE STYLES ===== */
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
margin: 0;
padding: 20px;
background: #f5f7fa;
color: #333;
transition: all 0.3s ease;
}
#root {
max-width: 900px;
margin: 0 auto;
}
/* ===== LIGHT THEME ===== */
.marketplace {
background: white;
padding: 25px;
border-radius: 12px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.token-counter {
background: linear-gradient(135deg, #6200ea, #9e47ff);
color: white;
padding: 15px 20px;
border-radius: 10px;
margin-bottom: 25px;
display: flex;
justify-content: space-between;
align-items: center;
font-size: 18px;
}
.model-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 20px;
margin: 25px 0;
}
.model-card {
background: white;
border: 1px solid #e0e0e0;
padding: 20px;
border-radius: 10px;
transition: all 0.3s ease;
}
button {
background: #ff6d00;
color: white;
border: none;
padding: 10px 18px;
border-radius: 8px;
cursor: pointer;
font-weight: bold;
transition: all 0.2s;
}
/* ===== DARK THEME ===== */
#root.dark {
background: #121212;
color: #e0e0e0;
}
#root.dark .marketplace {
background: #1e1e1e;
border-color: #333;
}
#root.dark .token-counter {
background: linear-gradient(135deg, #3700b3, #6200ee);
}
#root.dark .model-card {
background: #2d2d2d;
border-color: #444;
}
#root.dark button {
background: #bb86fc;
}
/* ===== TOGGLE BUTTON ===== */
.theme-toggle {
position: fixed;
top: 15px;
right: 15px;
background: #333;
color: white;
border: none;
width: 40px;
height: 40px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
z-index: 100;
}