-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
181 lines (154 loc) · 3.77 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
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
body{
background-color: #d1d1d1;
}
#text-display {
display: flex;
justify-content: center; /* 水平居中 */
align-items: center; /* 垂直居中 */
font-size: 12px;
height: 16px;
}
.navbar {
background-color: black !important; /* 背景颜色变黑 */
width: 100vw; /* 设置 navbar 宽度为视口宽度 */
}
.navbar-nav {
display: flex;
list-style: none;
margin: 0;
padding: 0;
}
/* 响应式优化 */
@media (max-width: 768px) {
.navbar ul {
flex-direction: column; /* 垂直排列 */
align-items: center; /* 居中排列 */
width: 100%; /* 保证 ul 充满父容器宽度 */
}
}
.navbar .navbar-brand,
.navbar .nav-link {
color: #dcdcdc !important; /* 字体颜色改为淡灰 */
}
.navbar .nav-link:hover,
.navbar .dropdown-menu .dropdown-item:hover {
background-color: grey !important; /* 悬浮时背景变灰 */
color: #ffffff !important; /* 字体保持白色 */
}
.nav-item {
border-left: 1px solid #696969; /* 左边框为浅灰色 */
border-right: 1px solid #696969; /* 右边框为浅灰色 */
border-top: none; /* 去掉顶部边框 */
border-bottom: none; /* 去掉底部边框 */
padding: 0; /* 窄化边框区域的间距 */
}
.dropdown-menu {
background-color: black; /* 下拉菜单背景变黑 */
border-color: #696969; /* 下拉菜单边框为浅灰色 */
}
.dropdown-item {
color: #dcdcdc; /* 下拉菜单字体颜色为淡灰 */
}
.dropdown-item:hover {
background-color: grey; /* 下拉菜单项悬浮时背景变灰 */
color: white; /* 字体保持白色 */
}
.whole-page{
max-width: 1600px; /* 设置页面最大宽度 */
margin: 0 auto; /* 居中显示 */
}
.namecard{
background-color: #fff;
border-color: black;
border-width: 2px;
border-radius: 10px;
padding: 10px;
width: 15%;
height: auto;
margin-top: 10px;
}
.namecard:hover{
box-shadow:#c2c2c2 0px 0px 20px;
}
.img-me{
border-color: rgb(62, 164, 237);
border-top: 15px;
width: 100%;
max-width: 100%;
height: auto;
}
.name{
display: flex;
justify-content: center; /* 水平居中 */
align-items: center; /* 垂直居中 */
width: 100%;
height: 30px; /* 可根据需要调整高度 */
}
.icon-container{
border-top: 1px solid rgba(0, 0, 0, .05) !important;
display: flex; /* 使用 flex 布局 */
flex-wrap: wrap; /* 允许换行 */
gap: 5px; /* 图标之间的间距 */
justify-content: center; /* 水平居中 */
align-items: center; /* 垂直居中 */
width: auto;
max-width: 100%;
height: auto;
padding: 5px;
}
.icon-button {
display: flex; /* 使用 flex 布局 */
align-items: center; /* 垂直居中 */
justify-content: center; /* 水平居中 */
background-color: lightgray;
border-color: black;
border-width: 2px;
border-radius: 100%;
padding: 5px;
width: 30px;
height: 30px;
}
.icon-button a {
display: flex; /* 确保链接也使用 flexbox */
align-items: center; /* 垂直居中 */
justify-content: center; /* 水平居中 */
width: 100%;
height: 100%;
}
.icon-button svg {
width: 1em !important; /* 设置 SVG 宽度 */
height: 1em !important; /* 设置 SVG 高度 */
}
.platform{
margin: 0 auto;
border-color: black;
border-width: 2px;
background-color: #fff;
border-radius: 10px;
width: 930px;
padding-top: 10px;
padding-bottom: 30px;
}
#chart-container {
display: flex;
margin: 0 auto;
width: 880px;
height: auto;
overflow: visible;
border-radius: 5px;
background-color: rgb(0, 255, 255,0.5);
}
#chart-container svg {
width: 880px;
height: 800px;
position: absolute;
pointer-events: none;
}
text{
z-index: 1;
font-size: 24px;
}
span{
display: flex;
flex-wrap: wrap;
}