koishi-plugin-dew-bot 1.0.200 → 1.0.202

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,245 +1,215 @@
1
- body {
2
- margin: 0;
3
- padding: 0;
4
- width: 500px;
5
- overflow: auto;
6
- position: relative;
7
- background: #232d23;
8
- min-height: 500px;
9
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
10
- }
11
-
12
- #app {
13
- width: 95%;
14
- margin: 10px auto;
15
- }
16
-
17
- .ranking-card {
18
- background: #232d23;
19
- border-radius: 12px;
20
- border: none;
21
- padding: 20px 0 20px 0;
22
- position: relative;
23
- overflow: visible;
24
- }
25
-
26
- /* 标题样式 */
27
- .ranking-title {
28
- display: flex;
29
- align-items: center;
30
- justify-content: center;
31
- margin-bottom: 20px;
32
- padding: 0 20px;
33
- }
34
-
35
- .title-emoji {
36
- font-size: 24px;
37
- margin-right: 8px;
38
- color: #ffd97a;
39
- }
40
-
41
- .title-text {
42
- color: #ffd97a;
43
- font-size: 18px;
44
- font-weight: bold;
45
- }
46
-
47
- /* 表头样式 */
48
- .ranking-header {
49
- display: flex;
50
- background: #2a342a;
51
- border-radius: 8px;
52
- margin: 0 20px 15px 20px;
53
- padding: 12px 15px;
54
- border-left: 3px solid #4a8a4a;
55
- }
56
-
57
- .header-item {
58
- color: #ffd97a;
59
- font-weight: bold;
60
- font-size: 14px;
61
- text-align: center;
62
- display: flex;
63
- align-items: center;
64
- justify-content: center;
65
- }
66
-
67
- .rank-col {
68
- width: 60px;
69
- flex-shrink: 0;
70
- }
71
-
72
- .player-col {
73
- flex: 1;
74
- text-align: left;
75
- padding-left: 10px;
76
- }
77
-
78
- .score-col {
79
- width: 80px;
80
- flex-shrink: 0;
81
- text-align: center;
82
- }
83
-
84
- /* 排行榜列表样式 */
85
- .ranking-list {
86
- margin: 0 20px;
87
- }
88
-
89
- .ranking-item {
90
- display: flex;
91
- align-items: center;
92
- background: #2a342a;
93
- border-radius: 8px;
94
- margin-bottom: 8px;
95
- padding: 12px 15px;
96
- border-left: 3px solid #4a8a4a;
97
- transition: all 0.2s ease;
98
- }
99
-
100
- .ranking-item:hover {
101
- background: #3a443a;
102
- transform: translateX(2px);
103
- }
104
-
105
- .ranking-item.my-rank {
106
- background: #4a8a4a;
107
- border-left-color: #ffd97a;
108
- }
109
-
110
- .ranking-item.my-rank:hover {
111
- background: #5a9a5a;
112
- }
113
-
114
- /* 排名样式 */
115
- .rank-number {
116
- width: 30px;
117
- height: 30px;
118
- border-radius: 50%;
119
- display: flex;
120
- align-items: center;
121
- justify-content: center;
122
- font-weight: bold;
123
- font-size: 14px;
124
- color: #fff;
125
- }
126
-
127
- .rank-gold {
128
- background: linear-gradient(135deg, #DAA520, #B8860B);
129
- box-shadow: 0 2px 8px rgba(218, 165, 32, 0.3);
130
- color: #fff;
131
- text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
132
- }
133
-
134
- .rank-silver {
135
- background: linear-gradient(135deg, #C0C0C0, #A0A0A0);
136
- box-shadow: 0 2px 8px rgba(192, 192, 192, 0.3);
137
- }
138
-
139
- .rank-bronze {
140
- background: linear-gradient(135deg, #CD7F32, #A0522D);
141
- box-shadow: 0 2px 8px rgba(205, 127, 50, 0.3);
142
- }
143
-
144
- .rank-normal {
145
- background: linear-gradient(135deg, #4a8a4a, #3a7a3a);
146
- box-shadow: 0 2px 8px rgba(74, 138, 74, 0.3);
147
- }
148
-
149
- /* 玩家信息样式 */
150
- .player-info {
151
- display: flex;
152
- align-items: center;
153
- flex: 1;
154
- }
155
-
156
- .player-avatar {
157
- width: 40px;
158
- height: 40px;
159
- border-radius: 50%;
160
- margin-right: 12px;
161
- display: flex;
162
- align-items: center;
163
- justify-content: center;
164
- background: #fff;
165
- border: 2px solid #4a8a4a;
166
- overflow: hidden;
167
- position: relative;
168
- }
169
-
170
- .avatar-img {
171
- width: 100%;
172
- height: 100%;
173
- object-fit: cover;
174
- border-radius: 50%;
175
- }
176
-
177
- .player-emoji {
178
- font-size: 20px;
179
- display: flex;
180
- align-items: center;
181
- justify-content: center;
182
- width: 100%;
183
- height: 100%;
184
- }
185
-
186
- .player-name {
187
- color: #e8fbe8;
188
- font-weight: 500;
189
- font-size: 14px;
190
- max-width: 200px;
191
- overflow: hidden;
192
- text-overflow: ellipsis;
193
- white-space: nowrap;
194
- }
195
-
196
- /* 分数样式 */
197
- .score-value {
198
- color: #e8fbe8;
199
- font-weight: bold;
200
- font-size: 14px;
201
- text-align: center;
202
- }
203
-
204
- /* 我的排名样式 */
205
- .my-rank-section {
206
- margin-top: 15px;
207
- }
208
-
209
- .my-rank-divider {
210
- height: 1px;
211
- background: linear-gradient(to right, transparent, #4a8a4a, transparent);
212
- margin: 10px 0;
213
- }
214
-
215
- .my-rank-item {
216
- display: flex;
217
- align-items: center;
218
- background: #4a8a4a;
219
- border-radius: 8px;
220
- padding: 12px 15px;
221
- border-left: 3px solid #ffd97a;
222
- margin-top: 8px;
223
- }
224
-
225
- .rank-my {
226
- background: linear-gradient(135deg, #DAA520, #B8860B);
227
- box-shadow: 0 2px 8px rgba(218, 165, 32, 0.3);
228
- color: #fff;
229
- text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
230
- }
231
-
232
- /* 响应式设计 */
233
- @media (max-width: 500px) {
234
- .player-name {
235
- max-width: 150px;
236
- }
237
-
238
- .score-col {
239
- width: 60px;
240
- }
241
-
242
- .rank-col {
243
- width: 50px;
244
- }
1
+ body {
2
+ margin: 0;
3
+ padding: 0;
4
+ width: 500px;
5
+ overflow: auto;
6
+ position: relative;
7
+ background: #232d23;
8
+ min-height: 500px;
9
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
10
+ }
11
+
12
+ #app {
13
+ width: 95%;
14
+ margin: 10px auto;
15
+ }
16
+
17
+ .ranking-card {
18
+ background: #232d23;
19
+ border-radius: 12px;
20
+ border: none;
21
+ padding: 20px 0 20px 0;
22
+ position: relative;
23
+ overflow: visible;
24
+ }
25
+
26
+ /* 标题样式 */
27
+ .ranking-title {
28
+ display: flex;
29
+ align-items: center;
30
+ justify-content: center;
31
+ margin-bottom: 20px;
32
+ padding: 0 20px;
33
+ }
34
+
35
+ .title-emoji {
36
+ font-size: 24px;
37
+ margin-right: 8px;
38
+ color: #ffd97a;
39
+ }
40
+
41
+ .title-text {
42
+ color: #ffd97a;
43
+ font-size: 18px;
44
+ font-weight: bold;
45
+ }
46
+
47
+ /* 表头样式 */
48
+ .ranking-header {
49
+ display: flex;
50
+ background: #2a342a;
51
+ border-radius: 8px;
52
+ margin: 0 20px 15px 20px;
53
+ padding: 12px 15px;
54
+ border-left: 3px solid #4a8a4a;
55
+ }
56
+
57
+ .header-item {
58
+ color: #ffd97a;
59
+ font-weight: bold;
60
+ font-size: 14px;
61
+ text-align: center;
62
+ display: flex;
63
+ align-items: center;
64
+ justify-content: center;
65
+ }
66
+
67
+ .rank-col {
68
+ width: 60px;
69
+ flex-shrink: 0;
70
+ }
71
+
72
+ .player-col {
73
+ flex: 1;
74
+ text-align: left;
75
+ padding-left: 10px;
76
+ }
77
+
78
+ .score-col {
79
+ width: 80px;
80
+ flex-shrink: 0;
81
+ text-align: center;
82
+ }
83
+
84
+ /* 排行榜列表样式 */
85
+ .ranking-list {
86
+ margin: 0 20px;
87
+ }
88
+
89
+ .ranking-item {
90
+ display: flex;
91
+ align-items: center;
92
+ background: #2a342a;
93
+ border-radius: 8px;
94
+ margin-bottom: 8px;
95
+ padding: 12px 15px;
96
+ border-left: 3px solid #4a8a4a;
97
+ transition: all 0.2s ease;
98
+ }
99
+
100
+ .ranking-item:hover {
101
+ background: #3a443a;
102
+ transform: translateX(2px);
103
+ }
104
+
105
+ .ranking-item.my-rank {
106
+ background: #4a8a4a;
107
+ border-left-color: #ffd97a;
108
+ }
109
+
110
+ .ranking-item.my-rank:hover {
111
+ background: #5a9a5a;
112
+ }
113
+
114
+ /* 排名样式 */
115
+ .rank-number {
116
+ width: 30px;
117
+ height: 30px;
118
+ border-radius: 50%;
119
+ display: flex;
120
+ align-items: center;
121
+ justify-content: center;
122
+ font-weight: bold;
123
+ font-size: 14px;
124
+ color: #fff;
125
+ }
126
+
127
+ .rank-gold {
128
+ background: linear-gradient(135deg, #DAA520, #B8860B);
129
+ box-shadow: 0 2px 8px rgba(218, 165, 32, 0.3);
130
+ color: #fff;
131
+ text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
132
+ }
133
+
134
+ .rank-silver {
135
+ background: linear-gradient(135deg, #C0C0C0, #A0A0A0);
136
+ box-shadow: 0 2px 8px rgba(192, 192, 192, 0.3);
137
+ }
138
+
139
+ .rank-bronze {
140
+ background: linear-gradient(135deg, #CD7F32, #A0522D);
141
+ box-shadow: 0 2px 8px rgba(205, 127, 50, 0.3);
142
+ }
143
+
144
+ .rank-normal {
145
+ background: linear-gradient(135deg, #4a8a4a, #3a7a3a);
146
+ box-shadow: 0 2px 8px rgba(74, 138, 74, 0.3);
147
+ }
148
+
149
+ /* 玩家信息样式 */
150
+ .player-info {
151
+ display: flex;
152
+ align-items: center;
153
+ flex: 1;
154
+ }
155
+
156
+ .player-name {
157
+ color: #e8fbe8;
158
+ font-weight: 500;
159
+ font-size: 14px;
160
+ max-width: 200px;
161
+ overflow: hidden;
162
+ text-overflow: ellipsis;
163
+ white-space: nowrap;
164
+ }
165
+
166
+ /* 分数样式 */
167
+ .score-value {
168
+ color: #e8fbe8;
169
+ font-weight: bold;
170
+ font-size: 14px;
171
+ text-align: center;
172
+ }
173
+
174
+ /* 我的排名样式 */
175
+ .my-rank-section {
176
+ margin-top: 15px;
177
+ }
178
+
179
+ .my-rank-divider {
180
+ height: 1px;
181
+ background: linear-gradient(to right, transparent, #4a8a4a, transparent);
182
+ margin: 10px 0;
183
+ }
184
+
185
+ .my-rank-item {
186
+ display: flex;
187
+ align-items: center;
188
+ background: #4a8a4a;
189
+ border-radius: 8px;
190
+ padding: 12px 15px;
191
+ border-left: 3px solid #ffd97a;
192
+ margin-top: 8px;
193
+ }
194
+
195
+ .rank-my {
196
+ background: linear-gradient(135deg, #DAA520, #B8860B);
197
+ box-shadow: 0 2px 8px rgba(218, 165, 32, 0.3);
198
+ color: #fff;
199
+ text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
200
+ }
201
+
202
+ /* 响应式设计 */
203
+ @media (max-width: 500px) {
204
+ .player-name {
205
+ max-width: 150px;
206
+ }
207
+
208
+ .score-col {
209
+ width: 60px;
210
+ }
211
+
212
+ .rank-col {
213
+ width: 50px;
214
+ }
245
215
  }