-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyles.css
146 lines (126 loc) · 2.85 KB
/
styles.css
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
/* styles.css */
body {
background: linear-gradient(135deg,rgba(209, 209, 209, 1) 0%,rgba(229, 136, 24, 1) 99.60629921259843%);
background-size: cover;
color: white;
padding: 15px;
font-family: 'Fira Mono', monospace;
}
.container {
max-width: 650px;
margin: 0;
}
.profile-header {
display: flex;
align-items: center;
margin-bottom: 20px;
}
.avatar {
width: 100px;
height: 100px;
border-radius: 50%;
margin-right: 20px;
}
.player-info {
flex-grow: 1;
}
.nickname {
display: flex;
font-size: 26px;
font-weight: bold;
}
.friend-code {
display: flex;
font-size: 18px;
}
.stats {
margin:0 15px 0 0;
min-width: 300px;
background: rgba(255, 255, 255, 0.15);
padding: 15px;
border-radius: 10px;
}
.stat-item {
display: flex;
justify-content: space-between;
margin-bottom: 10px;
}
.stat-title {
font-weight: bold;
font-size: 18px;
}
.stat-value {
font-size: 18px;
}
.fetch-stats {
background-color: #4CAF50; /* 按钮背景颜色 */
color: white; /* 按钮文字颜色 */
padding: 15px 32px; /* 按钮内边距 */
text-align: center; /* 文字居中 */
text-decoration: none; /* 去除下划线 */
display: inline-block; /* 行内块级元素 */
font-size: 16px; /* 文字大小 */
margin: 4px 2px; /* 外边距 */
cursor: pointer; /* 鼠标样式 */
border: none;
border-radius: 5px;
}
.input-group {
margin-bottom: 20px; /* 底部外边距 */
}
.input-group label {
display: block; /* 使标签占满整行 */
margin: 0 0 10px 0; /* 仅保留底部外边距 */
font-weight: bold; /* 加粗字体 */
}
.input-group input {
display: block; /* 使输入框占满整行 */
width: 50%;
padding: 10px; /* 内边距 */
margin: 0 0 10px 0; /* 仅保留底部外边距 */
background: rgba(255, 255, 255, 0.15); /* 背景颜色 */
border: 1px solid #fff; /* 边框颜色 */
border-radius: 5px; /* 边框圆角 */
color: white; /* 文字颜色 */
font-size: 16px; /* 字体大小 */
}
/* 优化整体布局 */
.select-group {
margin: 20px 0;
font-family: Arial, sans-serif;
}
.select-group label {
font-size: 16px;
font-weight: bold;
margin-bottom: 8px;
display: block;
color: white;
}
.select-group select {
width: 15%;
padding: 10px 15px;
font-size: 14px;
border: 1px solid #ccc;
border-radius: 5px;
background-color: transparent;
transition: all 0.3s ease;
border: 1px solid #fff; /* 边框颜色 */
border-radius: 5px; /* 边框圆角 */
color: white; /* 文字颜色 */
font-size: 16px; /* 字体大小 */
}
/* 当选择框获得焦点时的效果 */
.select-group select:focus {
border-color: #007bff;
background-color: transparent;
box-shadow: 0 0 5px rgba(0, 123, 255, 0.25);
outline: none;
}
/* 增加下拉箭头的样式 */
.select-group select::-ms-expand {
display: none;
}
/* 定义下拉选项的字体颜色 */
.select-group select option {
color: black; /* 下拉选项的字体颜色 */
}