-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
519 lines (443 loc) · 9.73 KB
/
style.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
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
body {
padding: 0;
margin: 0;
font-family: Arial, sans-serif;
background-size: cover;
background-position: center;
min-height: 100vh;
display: flex;
flex-direction: column;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px;
background-color: #14cbd9;
height: 60px;
/* 设置页眉的高度为80像素 */
}
.clinic-name {
font-size: 30px;
font-weight: bold;
}
.icon {
width: 35px;
height: 35px;
cursor: pointer;
}
footer {
text-align: center;
background-color: #14cbd9;
position: fixed;
bottom: 0;
width: 100%;
padding: 10px 0;
}
nav {
height: 60px;
display: flex;
justify-content: space-around;
}
button {
border: none;
background-color: transparent;
font-size: 25px;
/*导航栏字体大小*/
border-radius: 20px;
padding: 5px 10px;
cursor: pointer;
outline: none;
}
button.active {
background-color: #0f07f6;
/* 鼠标悬停时的颜色 */
color: #fff;
/* 鼠标悬停时加粗 */
}
button:hover {
color: #0f07f6;
font-weight: bold;
}
.profile-picture {
width: 150px;
height: 150px;
border-radius: 50%;
background-color: #fff;
display: flex;
justify-content: center;
align-items: center;
margin-top: -100px;
}
.profile-info {
margin-top: 20px;
}
.profile-container {
display: flex;
flex-direction: column;
align-items: center;
}
/* styles.css */
.头像 img {
width: 200px;
/* 设置宽度 */
height: 200px;
/* 设置高度 */
display: block;
/* 将图片显示为块级元素 */
margin: 0 auto;
/* 居中显示图片 */
border-radius: 50%;
/* 将图片变为圆形 */
overflow: hidden;
/* 隐藏溢出部分 */
}
.用户名 {
text-align: center;
font-size: 20px;
line-height: 0.5;
}
.会员 {
line-height: 0.5;
text-align: center;
font-size: 20px;
color: #e7b00c
}
#slider {
width: 350px;
/* 根据图片大小调整 */
height: 300px;
/* 根据图片大小调整 */
display: block;
margin: 0 auto;
/* 居中显示图片 */
position: relative;
overflow: hidden;
}
#slider img {
margin-top: 5px;
position: absolute;
width: 100%;
height: 100%;
opacity: 0;
transition: opacity 1s ease-in-out;
/* 过渡效果:1秒内淡入淡出 */
}
#slider img:first-child {
opacity: 1;
/* 默认显示第一张图片 */
}
.table-container {
margin: 20px auto;
/* 设置表格与窗口边框的间距为20像素 */
}
.responsive-table {
width: 100%;
border-collapse: collapse;
}
.responsive-table th,
.responsive-table td {
padding: 8px;
text-align: center;
font-size: 20px;
/* 设置字号为16像素 */
}
/* Style the settings container */
.settings {
margin: 20px auto;
/* 增加上下边距以便更好地观察效果 */
text-align: center;
padding-bottom: 80px;
}
/* Style the setting options */
.settings p {
margin-bottom: 10px;
/* 保持原有的底部外边距 */
font-size: 20px;
/* 字体大小 */
color: #000;
/* 字体颜色设置为黑色 */
border: 1px solid #ccc;
/* 为每个选项添加边框 */
padding: 10px 0;
/* 调整内边距以增加高度,0表示左右内边距为0,根据需要调整 */
width: 80%;
/* 设置宽度为容器宽度的80%,可根据需要调整 */
box-sizing: border-box;
/* 确保边框和内边距不会增加元素的总宽度 */
display: block;
/* 使每个<p>标签占满整行 */
margin-left: auto;
/* 结合margin-right:auto实现水平居中 */
margin-right: auto;
}
/* Hover effect for setting options */
.settings p:hover {
cursor: pointer;
text-decoration: none;
/* 移除下划线,因为现在是方框设计 */
background-color: #f0f0f0;
/* 鼠标悬停时的背景色,可根据喜好调整 */
}
.indexInput {
border: 2px solid #007BFF;
/* 设置边框颜色 */
border-radius: 5px;
/* 圆角边框 */
display: block;
width: 90%;
padding: 10px 15px;
/* 内边距 */
margin: 20px auto;
/* 外边距 */
font-size: 16px;
/* 字体大小 */
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
/* 阴影效果 */
transition: all 0.3s ease;
/* 过渡效果 */
}
.indexInput:focus {
outline: none;
/* 移除聚焦时的默认轮廓线 */
border-color: #004085;
/* 聚焦时的边框颜色 */
box-shadow: 0 0 8px rgba(0, 123, 255, 0.5);
/* 聚焦时的阴影效果 */
}
.indexInput:hover {
border-color: #0056b3;
/* 鼠标悬停时的边框颜色 */
}
.indexAside {
padding-bottom: 150px;
}
.popularization {
border-top: 1px solid #ccc;
/* 为容器添加上边框作为第一个标题上方的分割线 */
}
.popularization p {
border-bottom: 1px solid #ccc;
/* 添加分割线 */
margin-top: 0px;
/* 减少说明性小字的顶部外边距 */
margin: 0;
/* 移除默认的外边距 */
color: inherit;
}
.popularization h2 {
margin-bottom: 10px;
/* 减少标题的底部外边距 */
}
.popularization h2 a {
text-decoration: none;
/* 移除下划线 */
color: inherit;
/* 链接颜色与周围文本保持一致 */
display: block;
/* 使链接填满整个 h2,以便整个区域都可点击 */
}
.popularization h2 a:hover {
text-decoration: underline;
/* 鼠标悬停时添加下划线,增加可见性 */
}
.header-content {
display: flex;
justify-content: space-between;
align-items: center;
}
.back-button {
text-decoration: none;
}
.circle-button {
width: 80px;
height: 80px;
border-radius: 50%;
font-size: 20px;
margin: 10px;
cursor: pointer;
color: white;
/* 设置文字颜色为白色 */
border: none;
/* 移除边框 */
}
#consultation {
background-color: #4CAF50;
/* 绿色 */
}
#registration {
background-color: #2196F3;
/* 蓝色 */
}
#inquiry {
background-color: #FFC107;
/* 黄色 */
}
.buttons {
display: flex;
/* 启用Flexbox布局 */
justify-content: space-between;
/* 使子元素之间的间隔均匀 */
padding: 0 10%;
/* 在容器两侧添加一些内边距以避免内容紧贴边缘 */
}
#Notice {
font-size: 30px;
display: flex;
justify-content: center;
}
.reminder-list {
max-width: 90%;
margin: 20px auto;
padding: 20px;
background-color: #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.reminder-list {
list-style: none;
padding: 0;
}
.reminder-list li {
padding: 10px;
border-bottom: 1px solid #eee;
display: flex;
justify-content: space-between;
align-items: center;
}
.completed {
color: #888;
text-decoration: line-through;
}
.checkmark {
color: green;
}
.footer-button-container {
position: fixed;
/* 使用fixed定位,使其脱离文档流 */
left: 0;
right: 0;
bottom: 0;
/* 底部对齐 */
text-align: center;
/* 文本居中,以便按钮可以居中 */
padding: 10px 0;
/* 添加一些内边距 */
background-color: #14cbd9;
/* 背景颜色,可根据需要调整 */
}
.agree-button {
padding: 10px 20px;
/* 按钮内边距 */
font-size: 16px;
/* 字体大小 */
border: none;
/* 移除边框 */
background-color: #4CAF50;
/* 按钮背景颜色 */
color: white;
/* 文字颜色 */
cursor: pointer;
/* 鼠标悬停时的光标形状 */
}
.agree-button:hover {
background-color: #45a049;
/* 鼠标悬停时的按钮背景颜色 */
}
.noticeContent {
margin: 0 20px;
padding-bottom: 80px;
}
.messages {
border-top: 2px solid #14cbd9;
/* 为容器添加上边框作为第一个标题上方的分割线 */
margin-left: 5px;
padding-bottom: 80px;
}
.messages h3 {
border-bottom: 2px solid #14cbd9;
/* 添加分割线 */
margin-top: 20px;
/* 减少说明性小字的顶部外边距 */
font-size: 24px;
color: inherit;
}
.messages h3 {
margin-bottom: 5px;
/* 减少标题的底部外边距 */
}
.messages h3 a {
text-decoration: none;
/* 移除下划线 */
color: inherit;
/* 链接颜色与周围文本保持一致 */
display: block;
/* 使链接填满整个 h2,以便整个区域都可点击 */
}
.massage h3 a:hover {
text-decoration: underline;
/* 鼠标悬停时添加下划线,增加可见性 */
}
.commuheader {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px;
background-color: #14cbd9;
}
.back-button {
font-size: 24px;
margin-left: 10px;
text-decoration: none; /* 去除下划线 */
}
.commuheader h1 {
font-size: 24px;
text-align: center;
}
.commuContent {
display: flex;
flex-direction: column;
font-size: 20px;
border-bottom: 80px;
margin-bottom: 80px;
}
.commuContent p {
font-size: 20px;
margin: 10px;
margin-bottom: 80px;
}
.commuContent p:nth-child(odd) {
text-align: right;
}
.commuContent p:nth-child(even) {
text-align: left;
color: green;
}
.custom-popup {
display: none;
/* 初始状态隐藏 */
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 300px;
/* 设置弹窗宽度 */
height: 600px;
/* 设置弹窗高度 */
padding: 20px;
background-color: #fff;
border: 1px solid #ccc;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
z-index: 9999;
}
.close-button {
position: absolute;
/* 绝对定位,相对于最近的非static定位祖先元素定位 */
bottom: 10px;
right: 10px;
border: none;
padding: 5px 10px;
cursor: pointer;
}
.my-icon{
font-size: 2em;
}