Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
17mie32
GitHub Repository: 17mie32/17mie32.github.io
Path: blob/main/css/matery.css
1317 views
1
/*全局基础样式*/
2
/*小屏幕下(手机类)的样式*/
3
@media only screen and (max-width: 601px) {
4
.container {
5
width: 95%;
6
}
7
}
8
9
/*中等屏幕下(平板类)的样式*/
10
@media only screen and (min-width: 600px) and (max-width: 992px) {
11
.container {
12
width: 90%;
13
}
14
}
15
16
/*大屏幕下(桌面类)的样式*/
17
@media only screen and (min-width: 993px) {
18
.container {
19
width: 90%;
20
max-width: 1125px;
21
}
22
23
.head-container {
24
position: absolute;
25
padding: 0 30px;
26
width: 100%;
27
}
28
29
.post-container {
30
width: 90%;
31
margin: 0 auto;
32
max-width: 1250px;
33
}
34
}
35
36
body {
37
background-color: #eaeaea;
38
margin: 0;
39
color: #34495e;
40
overflow-x: hidden;
41
overflow-y: auto;
42
}
43
44
h1 {
45
margin: 48px 0 22px -5px;
46
font-size: 2.0rem;
47
font-weight: bold;
48
line-height: 2.0rem;
49
}
50
51
h2 {
52
margin: 42px 0 18px -5px;
53
font-size: 1.8rem;
54
font-weight: bold;
55
line-height: 1.8rem;
56
}
57
58
h3 {
59
margin: 38px 0 15px -4px;
60
font-size: 1.6rem;
61
font-weight: bold;
62
line-height: 1.7rem;
63
}
64
65
h4 {
66
margin: 32px 0 12px -4px;
67
font-size: 1.45rem;
68
font-weight: bold;
69
line-height: 1.45rem;
70
}
71
72
h5 {
73
margin: 28px 0 8px -4px;
74
font-size: 1.2rem;
75
font-weight: bold;
76
line-height: 1.2rem;
77
}
78
79
h6 {
80
margin: 22px 0 4px -4px;
81
font-size: 1.1rem;
82
line-height: 1.1rem;
83
}
84
85
p {
86
font-size: 1rem;
87
line-height: 1.5rem;
88
}
89
90
hr {
91
margin: 20px 0;
92
border: 0;
93
border-top: 1px solid #ccc;
94
}
95
96
blockquote {
97
border-left: 5px solid #42b983;
98
padding: 1rem 0.8rem 0.2rem 0.8rem;
99
color: #666;
100
background-color: rgba(66, 185, 131, .1);
101
}
102
103
pre {
104
padding: 2rem 1rem 1rem 3rem !important;
105
border-radius: 0.35rem;
106
tab-size: 4;
107
}
108
109
.code-area::after {
110
content: " ";
111
position: absolute;
112
border-radius: 50%;
113
background: #ff5f56;
114
width: 12px;
115
height: 12px;
116
top: 0;
117
left: 12px;
118
margin-top: 12px;
119
-webkit-box-shadow: 20px 0 #ffbd2e, 40px 0 #27c93f;
120
box-shadow: 20px 0 #ffbd2e, 40px 0 #27c93f;
121
}
122
123
code {
124
padding: 1px 5px;
125
top: 13px !important;
126
font-family: Inconsolata, Monaco, Consolas, 'Courier New', Courier, monospace;
127
font-size: 0.91rem;
128
color: #e96900;
129
background-color: #f8f8f8;
130
border-radius: 2px;
131
}
132
133
.code_copy {
134
position: absolute;
135
top: 0.7rem;
136
right: 25px;
137
z-index: 1;
138
filter: invert(50%);
139
cursor: pointer;
140
}
141
142
.codecopy_notice {
143
position: absolute;
144
top: 0.7rem;
145
right: 6px;
146
z-index: 1;
147
filter: invert(50%);
148
opacity: 0;
149
}
150
151
.code_lang {
152
position: absolute;
153
top: 1.2rem;
154
right: 46px;
155
line-height: 0;
156
font-weight: bold;
157
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
158
z-index: 1;
159
filter: invert(50%);
160
cursor: pointer;
161
}
162
163
.code-expand {
164
position: absolute;
165
top: 4px;
166
right: 0;
167
filter: invert(50%);
168
padding: 7px;
169
z-index: 999 !important;
170
cursor: pointer;
171
transition: all .3s;
172
transform: rotate(0deg);
173
}
174
175
.code-closed .code-expand {
176
transform: rotate(-180deg) !important;
177
transition: all .3s;
178
}
179
180
.code-closed pre::before {
181
height: 0;
182
}
183
184
pre code {
185
padding: 0;
186
color: #e8eaf6;
187
background-color: #272822;
188
}
189
190
/* 键盘 kbd 标签样式 */
191
kbd {
192
margin: 0 3px;
193
padding: 3px 5px;
194
border-radius: 3px;
195
border: 1px solid #b4b4b4;
196
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), 0 2px 1px 0 rgba(255, 255, 255, 0.6) inset;
197
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
198
font-size: 0.9rem;
199
font-weight: 600;
200
background-color: #f8f8f8;
201
color: #34495e;
202
line-height: 1.8rem;
203
white-space: nowrap;
204
}
205
206
b,
207
strong {
208
font-weight: bold;
209
}
210
211
dfn {
212
font-style: italic;
213
}
214
215
small {
216
font-size: 85%;
217
}
218
219
cite {
220
font-style: normal;
221
}
222
223
mark {
224
background-color: #fcf8e3;
225
padding: .2em;
226
}
227
228
.card {
229
border-radius: 10px;
230
box-shadow: 0 15px 35px rgba(50, 50, 93, .1), 0 5px 15px rgba(0, 0, 0, .07) !important;
231
}
232
233
.card .card-image img {
234
border-radius: 8px 8px 0 0;
235
/* 修改文章列表图片填充样式为 cover 以覆盖整个区域而不会被缩放 */
236
object-fit: cover;
237
}
238
239
.container .row {
240
margin-bottom: 0;
241
}
242
243
.bg-color {
244
background-image: linear-gradient(to right, #4cbf30 0%, #0f9d58 100%);
245
}
246
247
.text-color {
248
color: #0f9d58 !important;
249
}
250
251
.white-color {
252
color: #fff;
253
}
254
255
.progress-bar {
256
height: 4px;
257
position: fixed;
258
bottom: 0;
259
z-index: 300;
260
background: linear-gradient(to right, #4cbf30 0%, #0f9d58 100%);
261
opacity: 0.8;
262
}
263
264
.sidenav-overlay {
265
z-index: 500;
266
}
267
268
.pd-header {
269
margin-top: -64px;
270
}
271
272
header .side-nav {
273
width: 240px;
274
z-index: 999;
275
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 7px 10px 0 rgba(0, 0, 0, 0.12);
276
}
277
278
nav {
279
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 7px 10px 0 rgba(0, 0, 0, 0.12);
280
}
281
282
header .nav-transparent {
283
background-color: transparent !important;
284
background-image: none;
285
box-shadow: none;
286
}
287
288
header nav .brand-span {
289
font-size: 1.45rem;
290
}
291
292
header .brand-logo .logo-img {
293
height: 45px;
294
vertical-align: middle;
295
padding-bottom: 6px;
296
}
297
298
header .brand-logo .logo-span {
299
font-size: 1.6rem;
300
}
301
302
/*修改顶部 logo 的文字垂直对齐为 top,避免默认 middle 看起来偏下*/
303
header .brand-logo .waves-effect {
304
vertical-align: top;
305
}
306
307
header .button-collapse i {
308
font-size: 1.5rem;
309
}
310
311
header .side-nav .mobile-head {
312
padding: 0 15px;
313
}
314
315
header .side-nav .mobile-head img {
316
margin-top: 30px;
317
width: 75px;
318
height: 75px;
319
}
320
321
header .side-nav .mobile-head .logo-name {
322
margin-top: -30px;
323
padding-left: 10px;
324
font-size: 1.5rem;
325
}
326
327
header .side-nav .mobile-head .logo-desc {
328
margin-top: -10px;
329
padding-left: 10px;
330
padding-bottom: 10px;
331
font-size: 0.8rem;
332
line-height: 1.3rem;
333
color: #e3e3e3;
334
}
335
336
header .side-nav .menu-list li {
337
padding: 0;
338
margin-left: -15px;
339
}
340
341
header .side-nav .menu-list a {
342
height: 50px;
343
line-height: 50px;
344
color: #34495e !important;
345
}
346
347
.mobile-menu-list a i {
348
margin-left: 8px !important;
349
font-size: 1.16rem;
350
color: #34495e !important;
351
}
352
353
header .side-nav .fa-fw {
354
width: 3.3rem;
355
text-align: left;
356
}
357
358
header .side-nav .social-link {
359
position: absolute;
360
bottom: 45px;
361
padding-left: 15px;
362
}
363
364
.social-link a {
365
font-size: 1.2rem;
366
display: inline;
367
padding: 0 12px;
368
}
369
370
.cover-btns {
371
position: relative;
372
top: 10vh;
373
text-align: center;
374
}
375
376
.cover-btns a {
377
margin: 10px 15px;
378
padding: 0 35px;
379
height: 45px;
380
line-height: 45px;
381
font-size: 1rem;
382
color: #fff;
383
border: 1px solid #fff;
384
background-color: transparent;
385
border-radius: 30px;
386
box-shadow: none;
387
}
388
389
.cover-btns a:hover {
390
border: 1px solid #f44336;
391
background-color: #f44336;
392
box-shadow: 0 14px 26px -12px rgba(233, 30, 99, 0.42),
393
0 4px 23px 0 rgba(0, 0, 0, 0.12),
394
0 8px 10px -5px rgba(233, 30, 99, 0.2);
395
}
396
397
.cover-btns a i {
398
font-size: 1.1rem;
399
padding-right: 5px;
400
}
401
402
.scroll-down {
403
background: #333;
404
margin: 100px auto;
405
-webkit-animation: scroll-down 1.5s infinite;
406
-moz-animation: scroll-down 1.5s infinite;
407
-o-animation: scroll-down 1.5s infinite;
408
animation: scroll-down 1.5s infinite;
409
}
410
411
@-moz-keyframes scroll-down {
412
0% {
413
opacity: 0.4;
414
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
415
filter: alpha(opacity=40);
416
top: 0;
417
}
418
419
50% {
420
opacity: 1;
421
-ms-filter: none;
422
filter: none;
423
top: -16px;
424
}
425
426
100% {
427
opacity: 0.4;
428
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
429
filter: alpha(opacity=40);
430
top: 0;
431
}
432
}
433
434
@-webkit-keyframes scroll-down {
435
0% {
436
opacity: 0.4;
437
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
438
filter: alpha(opacity=40);
439
top: 0;
440
}
441
442
50% {
443
opacity: 1;
444
-ms-filter: none;
445
filter: none;
446
top: -16px;
447
}
448
449
100% {
450
opacity: 0.4;
451
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
452
filter: alpha(opacity=40);
453
top: 0;
454
}
455
}
456
457
@-o-keyframes scroll-down {
458
0% {
459
opacity: 0.4;
460
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
461
filter: alpha(opacity=40);
462
top: 0;
463
}
464
465
50% {
466
opacity: 1;
467
-ms-filter: none;
468
filter: none;
469
top: -16px;
470
}
471
472
100% {
473
opacity: 0.4;
474
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
475
filter: alpha(opacity=40);
476
top: 0;
477
}
478
}
479
480
@keyframes scroll-down {
481
0% {
482
opacity: 0.4;
483
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
484
filter: alpha(opacity=40);
485
top: 0;
486
}
487
488
50% {
489
opacity: 1;
490
-ms-filter: none;
491
filter: none;
492
top: -16px;
493
}
494
495
100% {
496
opacity: 0.4;
497
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
498
filter: alpha(opacity=40);
499
top: 0;
500
}
501
}
502
503
.cover-social-link {
504
position: relative;
505
top: 23vh;
506
width: 100%;
507
text-align: center;
508
}
509
510
.cover-social-link a {
511
padding: 0 15px;
512
font-size: 1.35rem;
513
color: #fff;
514
}
515
516
header .go-back {
517
float: left;
518
position: relative;
519
padding-left: 5px;
520
padding-right: 5px;
521
z-index: 1;
522
height: 56px;
523
}
524
525
header .go-back i {
526
font-size: 1.6rem;
527
font-weight: 200;
528
line-height: 56px;
529
}
530
531
/* 背景图效果. */
532
.bg-cover {
533
position: relative;
534
display: flex;
535
align-items: center;
536
height: 60vh;
537
padding: 0;
538
border: 0;
539
overflow: hidden;
540
background-position: center center;
541
background-size: cover;
542
transform: translate3d(0px, 0px, 0px);
543
}
544
545
.index-cover {
546
height: 100vh;
547
}
548
549
.post-cover {
550
height: 40vh !important;
551
}
552
553
.bg-cover:after {
554
-webkit-animation: rainbow 60s infinite;
555
animation: rainbow 60s infinite;
556
}
557
558
.bg-cover:before,
559
.bg-cover:after {
560
position: absolute;
561
z-index: 1;
562
width: 100%;
563
height: 100%;
564
display: block;
565
left: 0;
566
top: 0;
567
content: "";
568
}
569
570
.bg-cover .container {
571
position: relative;
572
color: #fff;
573
z-index: 2;
574
}
575
576
.bg-cover .title {
577
font-size: 4rem;
578
line-height: 1.2em;
579
margin-bottom: 20px;
580
position: relative;
581
}
582
583
.bg-cover .description {
584
font-weight: 300;
585
font-size: 1.25rem;
586
line-height: 1.4em;
587
color: #eee;
588
}
589
590
.bg-cover .post-title {
591
margin: 0 auto;
592
font-size: 2.5rem;
593
font-weight: 400;
594
}
595
596
@-webkit-keyframes rainbow {
597
598
0%,
599
100% {
600
background: rgba(156, 39, 176, 0.75);
601
background: linear-gradient(45deg, rgba(156, 39, 176, 0.75) 0%, rgba(156, 39, 176, 0.65) 100%);
602
background: -moz-linear-gradient(135deg, rgba(156, 39, 176, 0.75) 0%, rgba(156, 39, 176, 0.65) 100%);
603
background: -webkit-linear-gradient(135deg, rgba(156, 39, 176, 0.75) 0%, rgba(156, 39, 176, 0.65) 100%);
604
}
605
606
16% {
607
background: rgba(132, 13, 121, 0.75);
608
background: linear-gradient(45deg, rgba(132, 13, 121, 0.75) 0%, rgba(132, 13, 121, 0.65) 100%);
609
background: -moz-linear-gradient(135deg, rgba(132, 13, 121, 0.75) 0%, rgba(132, 13, 121, 0.65) 100%);
610
background: -webkit-linear-gradient(135deg, rgba(132, 13, 121, 0.75) 0%, rgba(132, 13, 121, 0.65) 100%);
611
}
612
613
32% {
614
background: rgba(239, 83, 80, 0.75);
615
background: linear-gradient(45deg, rgba(239, 83, 80, 0.75) 0%, rgba(239, 83, 80, 0.65) 100%);
616
background: -moz-linear-gradient(135deg, rgba(239, 83, 80, 0.75) 0%, rgba(239, 83, 80, 0.65) 100%);
617
background: -webkit-linear-gradient(135deg, rgba(239, 83, 80, 0.75) 0%, rgba(239, 83, 80, 0.65) 100%);
618
}
619
620
48% {
621
background: rgba(255, 87, 34, 0.75);
622
background: linear-gradient(45deg, rgba(255, 87, 34, 0.75) 0%, rgba(255, 87, 34, 0.65) 100%);
623
background: -moz-linear-gradient(135deg, rgba(255, 87, 34, 0.75) 0%, rgba(255, 87, 34, 0.65) 100%);
624
background: -webkit-linear-gradient(135deg, rgba(255, 87, 34, 0.75) 0%, rgba(255, 87, 34, 0.65) 100%);
625
}
626
627
64% {
628
background: rgba(255, 160, 0, 0.75);
629
background: linear-gradient(45deg, rgba(255, 160, 0, 0.75) 0%, rgba(255, 160, 0, 0.65) 100%);
630
background: -moz-linear-gradient(135deg, rgba(255, 160, 0, 0.75) 0%, rgba(255, 112, 66, 0.65) 100%);
631
background: -webkit-linear-gradient(135deg, rgba(255, 160, 0, 0.75) 0%, rgba(255, 160, 0, 0.65) 100%);
632
}
633
634
80% {
635
background: rgba(233, 30, 99, 0.75);
636
background: linear-gradient(45deg, rgba(233, 30, 99, 0.75) 0%, rgba(233, 30, 99, 0.65) 100%);
637
background: -moz-linear-gradient(135deg, rgba(233, 30, 99, 0.75) 0%, rgba(233, 30, 99, 0.65) 100%);
638
background: -webkit-linear-gradient(135deg, rgba(2233, 30, 99, 0.75) 0%, rgba(233, 30, 99, 0.65) 100%);
639
}
640
}
641
642
@keyframes rainbow {
643
644
0%,
645
100% {
646
background: rgba(156, 39, 176, 0.75);
647
background: linear-gradient(45deg, rgba(156, 39, 176, 0.75) 0%, rgba(156, 39, 176, 0.65) 100%);
648
background: -moz-linear-gradient(135deg, rgba(156, 39, 176, 0.75) 0%, rgba(156, 39, 176, 0.65) 100%);
649
background: -webkit-linear-gradient(135deg, rgba(156, 39, 176, 0.75) 0%, rgba(156, 39, 176, 0.65) 100%);
650
}
651
652
16% {
653
background: rgba(132, 13, 121, 0.75);
654
background: linear-gradient(45deg, rgba(132, 13, 121, 0.75) 0%, rgba(132, 13, 121, 0.65) 100%);
655
background: -moz-linear-gradient(135deg, rgba(132, 13, 121, 0.75) 0%, rgba(132, 13, 121, 0.65) 100%);
656
background: -webkit-linear-gradient(135deg, rgba(132, 13, 121, 0.75) 0%, rgba(132, 13, 121, 0.65) 100%);
657
}
658
659
32% {
660
background: rgba(239, 83, 80, 0.75);
661
background: linear-gradient(45deg, rgba(239, 83, 80, 0.75) 0%, rgba(239, 83, 80, 0.65) 100%);
662
background: -moz-linear-gradient(135deg, rgba(239, 83, 80, 0.75) 0%, rgba(239, 83, 80, 0.65) 100%);
663
background: -webkit-linear-gradient(135deg, rgba(239, 83, 80, 0.75) 0%, rgba(239, 83, 80, 0.65) 100%);
664
}
665
666
48% {
667
background: rgba(255, 87, 34, 0.75);
668
background: linear-gradient(45deg, rgba(255, 87, 34, 0.75) 0%, rgba(255, 87, 34, 0.65) 100%);
669
background: -moz-linear-gradient(135deg, rgba(255, 87, 34, 0.75) 0%, rgba(255, 87, 34, 0.65) 100%);
670
background: -webkit-linear-gradient(135deg, rgba(255, 87, 34, 0.75) 0%, rgba(255, 87, 34, 0.65) 100%);
671
}
672
673
64% {
674
background: rgba(255, 160, 0, 0.75);
675
background: linear-gradient(45deg, rgba(255, 160, 0, 0.75) 0%, rgba(255, 160, 0, 0.65) 100%);
676
background: -moz-linear-gradient(135deg, rgba(255, 160, 0, 0.75) 0%, rgba(255, 112, 66, 0.65) 100%);
677
background: -webkit-linear-gradient(135deg, rgba(255, 160, 0, 0.75) 0%, rgba(255, 160, 0, 0.65) 100%);
678
}
679
680
80% {
681
background: rgba(233, 30, 99, 0.75);
682
background: linear-gradient(45deg, rgba(233, 30, 99, 0.75) 0%, rgba(233, 30, 99, 0.65) 100%);
683
background: -moz-linear-gradient(135deg, rgba(233, 30, 99, 0.75) 0%, rgba(233, 30, 99, 0.65) 100%);
684
background: -webkit-linear-gradient(135deg, rgba(2233, 30, 99, 0.75) 0%, rgba(233, 30, 99, 0.65) 100%);
685
}
686
}
687
688
.index-card {
689
margin-top: -10px;
690
padding-top: 20px;
691
}
692
693
.carousel-post .title {
694
font-size: 2.6rem;
695
}
696
697
.dream {
698
margin-top: 20px;
699
margin-bottom: 40px;
700
}
701
702
.dream .title,
703
.music-player .title,
704
.video-player .title {
705
margin-bottom: 20px;
706
font-size: 2rem;
707
font-weight: 700;
708
}
709
710
.dream .text {
711
opacity: .6;
712
font-size: 1.1rem;
713
}
714
715
.music-player,
716
.video-player {
717
margin-top: 10px;
718
margin-bottom: 50px;
719
}
720
721
.music,
722
.dplayer-video {
723
box-shadow: 0 5px 20px 0 rgba(0, 0, 0, .2), 0 10px 20px -12px rgba(0, 0, 0, .5) !important;
724
}
725
726
#recommend-sections {
727
margin-top: -30px;
728
padding-top: 30px;
729
}
730
731
.index-card .card .card-content {
732
padding: 20px 40px;
733
}
734
735
@media only screen and (min-width: 1418px) {
736
.recommend {
737
margin-top: 20px;
738
padding: 0 0.75rem;
739
}
740
}
741
742
@media only screen and (max-width: 601px) {
743
.index-card .card .card-content {
744
padding: 10px 10px;
745
}
746
}
747
748
/*中等屏幕下(平板类)的样式*/
749
@media only screen and (min-width: 600px) and (max-width: 992px) {
750
.index-card .card .card-content {
751
padding: 20px 20px;
752
}
753
}
754
755
.recommend .row .col {
756
padding: 0 1.25rem;
757
}
758
759
.recommend .title {
760
margin-top: 25px;
761
margin-bottom: 25px;
762
text-align: center;
763
font-size: 1.8rem;
764
font-weight: 700;
765
line-height: 1.8rem;
766
}
767
768
.recommend .post-card:before {
769
position: absolute;
770
z-index: 0;
771
width: 100%;
772
height: 100%;
773
display: block;
774
left: 0;
775
top: 0;
776
content: "";
777
background-color: rgba(0, 0, 0, .3);
778
border-radius: 10px;
779
}
780
781
.recommend .post-card {
782
position: relative;
783
width: 100%;
784
height: 300px;
785
max-height: 300px;
786
margin-bottom: 15px;
787
margin-top: 15px;
788
text-align: center;
789
border: 0;
790
border-radius: 10px;
791
color: rgba(0, 0, 0, .87);
792
background: #fff 50%;
793
background-size: cover;
794
box-shadow: 0 15px 35px rgba(50, 50, 93, .1), 0 5px 15px rgba(0, 0, 0, .07);
795
}
796
797
.recommend .post-card .post-body {
798
position: relative;
799
margin: 0 auto;
800
padding: 1.8rem 1.25rem;
801
z-index: 2;
802
}
803
804
.recommend .post-card .post-categories {
805
margin: 10px auto;
806
}
807
808
.recommend .post-card .post-categories .category {
809
padding: 0 8px;
810
color: hsla(0, 0%, 100%, .7) !important;
811
font-size: .75rem;
812
font-weight: 500;
813
}
814
815
.recommend .post-card a {
816
color: #fff;
817
}
818
819
.recommend .post-card .post-title {
820
height: 48px;
821
margin-top: 10px;
822
margin-bottom: 5px;
823
}
824
825
.recommend .post-card .post-description {
826
margin: 20px auto;
827
max-width: 500px;
828
height: 65px;
829
max-height: 65px;
830
font-size: 14px;
831
color: hsla(0, 0%, 100%, .78) !important;
832
}
833
834
.recommend .post-card .read-more {
835
height: 40px;
836
margin: .6rem 1px;
837
font-size: 0.9rem;
838
font-weight: 400;
839
line-height: 40px;
840
color: #fff;
841
border-radius: 30px;
842
box-shadow: 0 2px 2px 0 rgba(244, 67, 54, .14), 0 3px 1px -2px rgba(244, 67, 54, .2), 0 1px 5px 0 rgba(244, 67, 54, .12);
843
}
844
845
.recommend .post-card .read-more .icon {
846
font-size: 1.05rem;
847
padding-right: 10px;
848
}
849
850
.archive-calendar {
851
margin-top: -60px;
852
max-width: 820px;
853
}
854
855
#post-calendar {
856
width: 100%;
857
height: 225px;
858
}
859
860
.settings-content {
861
margin-top: -10px;
862
}
863
864
/*文章列表卡片各样式*/
865
#articles {
866
margin-top: 10px;
867
margin-bottom: 10px;
868
}
869
870
article a {
871
margin-right: 0 !important;
872
color: #525f7f;
873
text-transform: none !important;
874
}
875
876
article a:hover {
877
font-weight: bold;
878
color: #42b983;
879
text-decoration: underline;
880
}
881
882
.articles .row {
883
margin-left: 0;
884
margin-right: 0;
885
}
886
887
article .card {
888
border-radius: 8px;
889
overflow: hidden;
890
}
891
892
article .card-image {
893
background-color: #222;
894
border-radius: 8px;
895
}
896
897
article .card-image img {
898
height: 220px;
899
border-radius: 0.3rem;
900
opacity: .7;
901
}
902
903
article .tag-image img {
904
height: 220px;
905
}
906
907
article .card .card-content {
908
padding: 15px 15px 12px 18px;
909
}
910
911
article .article-content .summary {
912
padding-bottom: 2px;
913
padding-left: 0;
914
margin-bottom: 6px;
915
word-break: break-all;
916
}
917
918
article .article-content .publish-author {
919
float: right;
920
}
921
922
.publish-date .icon-date {
923
padding-right: 5px;
924
}
925
926
.publish-author .icon-category {
927
padding-left: 10px;
928
}
929
930
.article-content .publish-author .post-category {
931
padding-left: 5px;
932
}
933
934
article .card .card-action {
935
padding: 10px 15px 10px 18px;
936
border-radius: 0 0 8px 8px !important;
937
}
938
939
article .article-tags .chip {
940
margin: 2px;
941
font-size: 0.8rem;
942
font-weight: 400;
943
height: 22px;
944
line-height: 22px;
945
color: #fff;
946
border-radius: 10px;
947
}
948
949
.prev-next {
950
margin-left: -0.75rem;
951
}
952
953
.prev-next .article-badge {
954
min-width: 3rem;
955
margin-top: 7px;
956
padding: 3px 10px 3px 8px;
957
text-align: center;
958
font-size: 1rem;
959
line-height: inherit;
960
position: absolute;
961
box-sizing: border-box;
962
z-index: 200;
963
background-color: #fff;
964
font-weight: 500;
965
}
966
967
.prev-next .left-badge {
968
border-radius: 8px 0 8px 0;
969
}
970
971
.prev-next .right-badge {
972
border-radius: 0 8px 0 8px;
973
right: 10px;
974
}
975
976
.paging {
977
margin-bottom: 15px;
978
}
979
980
.paging .row {
981
margin-left: 0;
982
margin-right: 0;
983
}
984
985
.paging .page-info {
986
font-size: 1.4rem;
987
color: #888;
988
padding-top: 1rem;
989
}
990
991
.paging i {
992
font-size: 2.5rem;
993
}
994
995
.paging .disabled {
996
background-color: #ccc !important;
997
}
998
999
.paging .disabled i {
1000
color: #999 !important;
1001
}
1002
1003
/*文章详情样式*/
1004
#artDetail {
1005
margin-top: -60px;
1006
}
1007
1008
/* 修改小屏幕下文章详情table样式. */
1009
@media only screen and (max-width: 550px) {
1010
#articleContent table {
1011
table-layout: fixed;
1012
}
1013
}
1014
1015
@media only screen and (min-width: 1418px) {
1016
#artDetail {
1017
margin-top: -60px;
1018
padding: 0 0.75rem;
1019
}
1020
}
1021
1022
#artDetail .card {
1023
box-shadow: 0 10px 35px 2px rgba(0, 0, 0, .15),
1024
0 5px 15px rgba(0, 0, 0, .07),
1025
0 2px 5px -5px rgba(0, 0, 0, .1) !important;
1026
}
1027
1028
#artDetail .tag-cate {
1029
padding-bottom: 15px;
1030
}
1031
1032
#artDetail a {
1033
margin-right: 0 !important;
1034
text-transform: none !important;
1035
}
1036
1037
#artDetail .article-info {
1038
padding: 20px 30px 1px 40px;
1039
margin-bottom: -5px;
1040
}
1041
1042
#artDetail .article-tag .chip {
1043
font-size: 1rem;
1044
font-weight: 400;
1045
height: 25px;
1046
line-height: 24px;
1047
color: #fff;
1048
border-radius: 15px;
1049
margin-right: 5px;
1050
margin-bottom: 2px;
1051
}
1052
1053
#artDetail .tag_share .article-tag .chip {
1054
font-size: 1rem;
1055
font-weight: 400;
1056
height: 25px;
1057
line-height: 23px;
1058
border-radius: 15px;
1059
margin-right: 5px;
1060
margin-bottom: 2px;
1061
color: #42b983;
1062
background: #fff;
1063
border: 1px solid;
1064
transition: all 0.6s ease-in-out;
1065
}
1066
1067
#artDetail .tag_share .article-tag .chip:hover {
1068
color: #fff;
1069
background: #42b983;
1070
}
1071
1072
#artDetail .post-cate {
1073
float: right;
1074
color: #42b983;
1075
}
1076
1077
#artDetail .post-cate a {
1078
padding-right: 5px;
1079
color: #42b983;
1080
font-weight: 500;
1081
}
1082
1083
#artDetail .post-cate a:hover {
1084
text-decoration: underline;
1085
}
1086
1087
#artDetail .post-info {
1088
color: #525f7f;
1089
}
1090
1091
#artDetail .post-info .post-category {
1092
padding-right: 4px;
1093
color: #525f7f;
1094
}
1095
1096
#artDetail .post-info .post-category:hover {
1097
font-weight: bold;
1098
color: #42b983;
1099
text-decoration: underline;
1100
}
1101
1102
#artDetail .post-info .post-date {
1103
color: #525f7f;
1104
}
1105
1106
#artDetail .post-info .post-word-count {
1107
margin-left: 15px;
1108
}
1109
1110
#artDetail .post-info .post-read {
1111
margin-left: 15px;
1112
color: #525f7f;
1113
}
1114
1115
#artDetail .article-card-content {
1116
padding: 0 15px 20px 18px;
1117
}
1118
1119
@media only screen and (max-width: 601px) {
1120
#artDetail .article-info {
1121
padding: 15px 15px 1px 15px;
1122
margin-bottom: -5px;
1123
}
1124
}
1125
1126
@media only screen and (min-width: 600px) and (max-width: 992px) {
1127
#artDetail .article-card-content {
1128
padding: 0 30px 20px 32px;
1129
}
1130
1131
#artDetail .article-info {
1132
padding: 15px 20px 0 28px;
1133
margin-bottom: -5px;
1134
}
1135
}
1136
1137
@media only screen and (min-width: 993px) {
1138
#artDetail .article-card-content {
1139
padding: 0 50px 20px 50px;
1140
}
1141
}
1142
1143
#artDetail .reprint {
1144
margin: 15px 0 0.4rem;
1145
padding: 0.5rem 0.8rem;
1146
border: 1px solid #eee;
1147
line-height: 2;
1148
transition: box-shadow 0.3s ease-in-out
1149
}
1150
1151
#artDetail .reprint-info {
1152
word-break: break-word;
1153
}
1154
1155
#artDetail .reprint:hover {
1156
box-shadow: 0 0 10px 0 rgba(232, 237, 250, .6), 0 4px 8px 0 rgba(232, 237, 250, .5)
1157
}
1158
1159
#artDetail .reprint a {
1160
font-size: 1.05rem;
1161
color: #42b983;
1162
font-weight: 500;
1163
}
1164
1165
#articleContent p {
1166
margin: 2px 2px 10px;
1167
font-size: 1.05rem;
1168
line-height: 1.85rem;
1169
}
1170
1171
#articleContent blockquote p {
1172
text-indent: 0.2rem;
1173
}
1174
1175
#articleContent a {
1176
padding: 0 2px;
1177
color: #42b983;
1178
font-weight: 500;
1179
text-decoration: underline;
1180
word-wrap: break-word;
1181
}
1182
1183
#articleContent .img-item {
1184
text-align: center;
1185
}
1186
1187
#articleContent img {
1188
max-width: 100%;
1189
height: auto;
1190
cursor: pointer;
1191
}
1192
1193
#articleContent video {
1194
display: block;
1195
margin: 30px auto;
1196
box-shadow: 0 5px 35px 0 rgba(0, 0, 0, .2), 0 10px 35px -11px rgba(0, 0, 0, .6);
1197
cursor: pointer;
1198
}
1199
1200
#articleContent ol,
1201
#articleContent ul {
1202
display: block;
1203
padding-left: 2em !important;
1204
word-spacing: 0.05rem;
1205
}
1206
1207
#articleContent ul li,
1208
#articleContent ol li {
1209
display: list-item;
1210
line-height: 1.8rem;
1211
font-size: 1rem;
1212
}
1213
1214
#articleContent ul li {
1215
list-style-type: disc;
1216
}
1217
1218
#articleContent ul ul li {
1219
list-style-type: circle;
1220
}
1221
1222
#articleContent table {
1223
width: 100%;
1224
display: block;
1225
border-collapse: collapse;
1226
border-spacing: 0;
1227
overflow: auto;
1228
}
1229
1230
/**
1231
#articleContent table,
1232
th,
1233
td {
1234
padding: 12px 13px;
1235
border: 1px solid #dfe2e5;
1236
}
1237
**/
1238
1239
table tr:nth-child(2n),
1240
thead {
1241
background-color: #fafafa;
1242
}
1243
1244
#articleContent table th {
1245
background-color: #f2f2f2;
1246
min-width: 80px;
1247
border: 1px solid #dfe2e5;
1248
padding: 6px 6px;
1249
}
1250
1251
#articleContent table td {
1252
min-width: 80px;
1253
border: 1px solid #dfe2e5;
1254
padding: 6px 6px;
1255
}
1256
1257
#articleContent [type="checkbox"]:not(:checked),
1258
[type="checkbox"]:checked {
1259
position: inherit;
1260
margin-left: -1.3rem;
1261
margin-right: 0.4rem;
1262
margin-top: -1px;
1263
vertical-align: middle;
1264
left: unset;
1265
visibility: visible;
1266
}
1267
1268
@media only screen and (min-width: 600px) {
1269
#article-share .social-share a {
1270
margin-left: 15px !important;
1271
}
1272
}
1273
1274
.chip-container {
1275
margin-top: -60px;
1276
}
1277
1278
.chip-container .tag-title {
1279
margin-bottom: 10px;
1280
color: #3C4858;
1281
font-size: 1.75rem;
1282
font-weight: 400;
1283
}
1284
1285
.chip-container .tag-chips {
1286
margin: 1rem auto 0.5rem;
1287
max-width: 850px;
1288
text-align: center;
1289
}
1290
1291
.chip-container .tags-posts {
1292
margin-top: 20px;
1293
}
1294
1295
.chip-container .chip-default {
1296
color: #34495e;
1297
}
1298
1299
.chip-container .chip-active {
1300
color: #FFF !important;
1301
background: linear-gradient(to bottom right, #FF5E3A 0%, #FF2A68 100%) !important;
1302
box-shadow: 2px 5px 10px #aaa !important;
1303
}
1304
1305
.chip-container .chip {
1306
margin: 10px 10px;
1307
padding: 19px 14px;
1308
display: inline-flex;
1309
line-height: 0;
1310
font-size: 1rem;
1311
font-weight: 500;
1312
border-radius: 5px;
1313
cursor: pointer;
1314
box-shadow: 0 3px 5px rgba(0, 0, 0, .12);
1315
z-index: 0;
1316
}
1317
1318
.chip-container .chip:hover {
1319
color: #fff;
1320
background: linear-gradient(to right, #4cbf30 0%, #0f9d58 100%) !important;
1321
}
1322
1323
.chip .tag-length {
1324
margin-left: 5px;
1325
margin-right: -2px;
1326
font-size: 0.5rem;
1327
}
1328
1329
.chip-default .tag-length {
1330
color: #e91e63;
1331
margin-top: 1px;
1332
}
1333
1334
.chip-active .tag-length {
1335
color: #fff;
1336
}
1337
1338
/* archive page. */
1339
#cd-timeline .year {
1340
position: relative;
1341
width: 80px;
1342
height: 80px;
1343
margin: 10px 0 50px -20px;
1344
padding: 21px 10px;
1345
background-color: #ff5722;
1346
color: #fff;
1347
font-size: 1.8rem;
1348
font-weight: 600;
1349
}
1350
1351
#cd-timeline .year a {
1352
color: #fff;
1353
}
1354
1355
#cd-timeline .month {
1356
position: relative;
1357
width: 60px;
1358
height: 60px;
1359
margin: 10px 0 30px -10px;
1360
padding: 14px 16px;
1361
background-color: #ef6c00;
1362
color: #fff;
1363
font-size: 1.7rem;
1364
font-weight: 600;
1365
}
1366
1367
#cd-timeline .month a {
1368
color: #fff;
1369
}
1370
1371
#cd-timeline .day {
1372
position: relative;
1373
padding: 8px 10px;
1374
background-color: #ffa726;
1375
color: #fff;
1376
font-size: 1.2rem;
1377
font-weight: 500;
1378
}
1379
1380
#cd-timeline {
1381
/*width: 90%;*/
1382
max-width: 820px;
1383
position: relative;
1384
margin-top: 2rem;
1385
margin-bottom: 2rem;
1386
}
1387
1388
#cd-timeline::before {
1389
/* this is the vertical line */
1390
content: '';
1391
position: absolute;
1392
top: 0;
1393
left: 18px;
1394
height: 100%;
1395
width: 4px;
1396
background: #0f9d58;
1397
}
1398
1399
@media only screen and (min-width: 900px) {
1400
#cd-timeline {
1401
margin-top: 2rem;
1402
margin-bottom: 2rem;
1403
}
1404
1405
#cd-timeline::before {
1406
left: 50%;
1407
margin-left: -2px;
1408
}
1409
1410
#cd-timeline .year {
1411
margin: 10px 0 50px -40px;
1412
padding: 22px 11px;
1413
}
1414
1415
#cd-timeline .month {
1416
margin: 10px 0 30px -30px;
1417
padding: 14px 16px;
1418
}
1419
}
1420
1421
.cd-timeline-block {
1422
position: relative;
1423
margin: 1em 0;
1424
}
1425
1426
.cd-timeline-block::after {
1427
clear: both;
1428
content: "";
1429
display: table;
1430
}
1431
1432
.cd-timeline-block:first-child {
1433
margin-top: 0;
1434
}
1435
1436
.cd-timeline-block:last-child {
1437
margin-bottom: 0;
1438
}
1439
1440
@media only screen and (min-width: 870px) {
1441
.cd-timeline-block {
1442
margin: 1em 0;
1443
}
1444
1445
.cd-timeline-block:first-child {
1446
margin-top: 0;
1447
}
1448
1449
.cd-timeline-block:last-child {
1450
margin-bottom: 0;
1451
}
1452
}
1453
1454
.cd-timeline-img {
1455
position: absolute;
1456
top: 0;
1457
left: 0;
1458
width: 40px;
1459
height: 40px;
1460
border-radius: 50%;
1461
box-shadow: 0 0 0 4px #ffffff, inset 0 2px 0 rgba(0, 0, 0, 0.08), 0 3px 0 4px rgba(0, 0, 0, 0.05);
1462
}
1463
1464
@media only screen and (min-width: 900px) {
1465
.cd-timeline-img {
1466
width: 40px;
1467
height: 40px;
1468
left: 50%;
1469
margin-left: -20px;
1470
/* Force Hardware Acceleration in WebKit */
1471
-webkit-transform: translateZ(0);
1472
-webkit-backface-visibility: hidden;
1473
}
1474
1475
.cssanimations .cd-timeline-img.is-hidden {
1476
visibility: hidden;
1477
}
1478
1479
.cssanimations .cd-timeline-img.bounce-in {
1480
visibility: visible;
1481
-webkit-animation: cd-bounce-1 0.6s;
1482
-moz-animation: cd-bounce-1 0.6s;
1483
animation: cd-bounce-1 0.6s;
1484
}
1485
}
1486
1487
.cd-timeline-content {
1488
position: relative;
1489
margin-top: -40px;
1490
margin-left: 60px;
1491
padding: 0;
1492
border-radius: 5px;
1493
background: #ffffff;
1494
box-shadow: 0 15px 35px rgba(50, 50, 93, .1), 0 5px 15px rgba(0, 0, 0, .07) !important;
1495
}
1496
1497
.cd-timeline-content::after {
1498
clear: both;
1499
content: "";
1500
display: table;
1501
}
1502
1503
.cd-timeline-content .card {
1504
margin: 0;
1505
}
1506
1507
.cd-timeline-content::before {
1508
content: '';
1509
position: absolute;
1510
top: 18px !important;
1511
right: 100%;
1512
height: 0;
1513
width: 14px;
1514
margin-left: 2px;
1515
margin-right: 2px;
1516
border: 1px dashed #ffa726;
1517
}
1518
1519
@media only screen and (min-width: 768px) {
1520
.cd-timeline-content h2 {
1521
font-size: 1.25rem;
1522
}
1523
1524
.cd-timeline-content p {
1525
font-size: 1rem;
1526
}
1527
1528
.cd-timeline-content .cd-read-more,
1529
.cd-timeline-content .cd-date {
1530
font-size: 0.875rem;
1531
}
1532
}
1533
1534
@media only screen and (min-width: 900px) {
1535
.cd-timeline-content {
1536
margin-left: 0;
1537
padding: 0;
1538
width: 45%;
1539
1540
}
1541
1542
.cd-timeline-content::before {
1543
top: 24px;
1544
left: 100%;
1545
}
1546
1547
.cd-timeline-content .cd-read-more {
1548
float: left;
1549
}
1550
1551
.cd-timeline-block:nth-child(even) .cd-timeline-content {
1552
float: right;
1553
}
1554
1555
.cd-timeline-block:nth-child(even) .cd-timeline-content::before {
1556
top: 24px;
1557
left: auto;
1558
right: 100%;
1559
border-color: #ffa726;
1560
}
1561
1562
.cd-timeline-block:nth-child(even) .cd-timeline-content .cd-read-more {
1563
float: right;
1564
}
1565
1566
.cssanimations .cd-timeline-content.is-hidden {
1567
visibility: hidden;
1568
}
1569
1570
.cssanimations .cd-timeline-content.bounce-in {
1571
visibility: visible;
1572
-webkit-animation: cd-bounce-2 0.6s;
1573
-moz-animation: cd-bounce-2 0.6s;
1574
animation: cd-bounce-2 0.6s;
1575
}
1576
}
1577
1578
/* about page styles. */
1579
1580
.about-container {
1581
width: 90%;
1582
max-width: 1225px;
1583
margin-top: -60px;
1584
}
1585
1586
@media only screen and (max-width: 601px) {
1587
.about-container {
1588
width: 95%;
1589
}
1590
}
1591
1592
.post-statis {
1593
text-align: center;
1594
}
1595
1596
.post-statis .statis {
1597
display: inline-block;
1598
padding: 0.3rem 0.8rem;
1599
text-align: center;
1600
letter-spacing: .03rem;
1601
}
1602
1603
.post-statis .statis .count {
1604
display: block;
1605
font-size: 1.3rem;
1606
font-weight: bold;
1607
text-decoration: underline;
1608
}
1609
1610
.post-statis .statis .count a {
1611
color: #42b983;
1612
}
1613
1614
.post-statis .statis .name {
1615
font-size: 0.9rem;
1616
color: #777;
1617
}
1618
1619
#aboutme .social-link {
1620
margin: 0.5rem 0;
1621
text-align: center;
1622
}
1623
1624
#aboutme .social-link a {
1625
display: inline-block;
1626
width: 2.3rem;
1627
height: 2.3rem;
1628
line-height: 2.2rem;
1629
margin: 0 0.5rem;
1630
padding: 0;
1631
color: #fff;
1632
border: 1px solid #0f9d58;
1633
background: radial-gradient(#4cbf30, #0f9d58);
1634
font-size: 0.9rem;
1635
border-radius: 50%;
1636
box-shadow: 0 4px 6px rgba(50, 50, 93, .21), 0 2px 3px rgba(0, 0, 0, .1);
1637
}
1638
1639
.profile .avatar-img {
1640
max-width: 160px;
1641
width: 100%;
1642
margin: 0 auto;
1643
transform: translate3d(0, -65%, 0);
1644
}
1645
1646
.profile .author {
1647
margin-top: -80px;
1648
}
1649
1650
.profile .author .post-statis {
1651
margin: 0.5rem 0 1.4rem 0;
1652
}
1653
1654
.profile .author .title {
1655
margin-bottom: 0.1rem;
1656
font-size: 1.8rem;
1657
font-weight: 500;
1658
color: #3C4858;
1659
}
1660
1661
.profile .author .career {
1662
margin: 8px 0;
1663
font-size: 0.9rem;
1664
font-weight: 400;
1665
color: #777;
1666
}
1667
1668
#aboutme .profile .social-link {
1669
margin: 1.5rem 0 0.8rem 0;
1670
}
1671
1672
#aboutme .introduction {
1673
margin: 1.5rem auto 3rem;
1674
max-width: 600px;
1675
color: #999;
1676
}
1677
1678
.post-charts,
1679
.my-projects,
1680
.my-skills,
1681
.post-charts {
1682
padding: 3.8rem 1.5rem 0.8rem 1.5rem;
1683
}
1684
1685
.post-charts,
1686
.title,
1687
.my-projects .title,
1688
.my-skills .title,
1689
.my-gallery .title {
1690
font-size: 2rem;
1691
margin-bottom: 2.25rem;
1692
}
1693
1694
.my-projects .info {
1695
max-width: 360px;
1696
margin: 0 auto;
1697
padding: 1rem 0 1rem;
1698
}
1699
1700
.my-projects .info .icon {
1701
display: inline-block;
1702
width: 76px;
1703
height: 76px;
1704
text-align: center;
1705
line-height: 76px;
1706
color: #fff;
1707
font-size: 1.75rem;
1708
border-radius: 50%;
1709
}
1710
1711
.my-projects .info .info-title {
1712
margin: 1.25rem 0 0.875rem;
1713
font-size: 1.25rem;
1714
font-weight: 500;
1715
line-height: 1.5em;
1716
}
1717
1718
.my-projects .info .info-title a {
1719
color: #34495e;
1720
}
1721
1722
.my-projects .info .info-desc {
1723
margin: 0 0 10px;
1724
font-size: 0.9rem;
1725
color: #999;
1726
}
1727
1728
.my-skills .skillbar {
1729
position: relative;
1730
display: block;
1731
max-width: 360px;
1732
margin: 15px auto;
1733
background: #eee;
1734
height: 30px;
1735
border-radius: 35px;
1736
-moz-border-radius: 35px;
1737
-webkit-border-radius: 35px;
1738
-webkit-transition: 0.4s linear;
1739
-moz-transition: 0.4s linear;
1740
-o-transition: 0.4s linear;
1741
transition: 0.4s linear;
1742
-webkit-transition-property: width, background-color;
1743
-moz-transition-property: width, background-color;
1744
-o-transition-property: width, background-color;
1745
transition-property: width, background-color;
1746
}
1747
1748
.skillbar .skillbar-title {
1749
position: absolute;
1750
top: 0;
1751
left: 0;
1752
width: 110px;
1753
font-size: 0.9rem;
1754
color: #ffffff;
1755
border-radius: 35px;
1756
-webkit-border-radius: 35px;
1757
-moz-border-radius: 35px;
1758
}
1759
1760
.skillbar .skillbar-title span {
1761
display: block;
1762
background: rgba(0, 0, 0, 0.15);
1763
padding: 0 20px;
1764
height: 30px;
1765
line-height: 30px;
1766
border-radius: 35px;
1767
-webkit-border-radius: 35px;
1768
-moz-border-radius: 35px;
1769
}
1770
1771
.skillbar .skillbar-bar {
1772
height: 30px;
1773
width: 0;
1774
border-radius: 35px;
1775
-moz-border-radius: 35px;
1776
-webkit-border-radius: 35px;
1777
}
1778
1779
.skillbar .skill-bar-percent {
1780
position: absolute;
1781
right: 10px;
1782
top: 0;
1783
font-size: 12px;
1784
height: 30px;
1785
line-height: 30px;
1786
color: #ffffff;
1787
color: rgba(0, 0, 0, 0.5);
1788
}
1789
1790
.my-skills .other-skills {
1791
margin-top: 2rem;
1792
}
1793
1794
.other-skills .sub-title {
1795
font-size: 1.5rem;
1796
}
1797
1798
.other-skills .tag-chips {
1799
max-width: 600px;
1800
}
1801
1802
.other-skills .chip {
1803
background-color: #fff;
1804
border: 1px solid #eee;
1805
}
1806
1807
.other-skills .chip:hover {
1808
color: #fff;
1809
background: linear-gradient(to right, #4cbf30 0%, #0f9d58 100%);
1810
border: 1px solid #4cbf30;
1811
box-shadow: 0 5px 5px rgba(0, 0, 0, .25)
1812
}
1813
1814
.my-gallery {
1815
margin: 4.5rem auto 1rem;
1816
padding: 0 1.2rem;
1817
max-width: 1100px;
1818
}
1819
1820
.my-gallery .photo {
1821
margin: .5rem 0;
1822
}
1823
1824
.my-gallery .photo img {
1825
width: 100%;
1826
height: 200px;
1827
border-radius: 10px;
1828
cursor: pointer;
1829
}
1830
1831
/*尾部样式*/
1832
footer {
1833
padding-bottom: 1px;
1834
}
1835
1836
footer .social-statis {
1837
margin-top: 10px;
1838
position: relative;
1839
}
1840
1841
footer a {
1842
color: #fff;
1843
}
1844
1845
footer .copy-right {
1846
color: #dbdbdb;
1847
}
1848
1849
/*搜索层样式*/
1850
#searchIcon {
1851
font-size: 1.2rem;
1852
}
1853
1854
#searchModal {
1855
min-height: 500px;
1856
width: 80%;
1857
}
1858
1859
#searchModal .search-header .title {
1860
font-size: 1.6rem;
1861
color: #333;
1862
}
1863
1864
#searchResult {
1865
margin: -15px 0 10px 10px;
1866
}
1867
1868
p.search-result-summary{
1869
margin: 15px 0 0 -8px;
1870
}
1871
1872
#searchResult .search-result-list {
1873
margin-left: -8px;
1874
margin-top: 0px;
1875
padding-left: 0;
1876
color: #666;
1877
}
1878
1879
.search-result-list .search-result-title {
1880
font-size: 1.4rem;
1881
color: #42b983;
1882
}
1883
1884
.search-result-list li {
1885
border-bottom: 1px solid #e5e5e5;
1886
padding: 15px 0 5px 0;
1887
}
1888
1889
.search-result-list .search-keyword {
1890
margin: 0 2px;
1891
padding: 1px 5px 1px 4px;
1892
border-radius: 2px;
1893
background-color: #f2f2f2;
1894
color: #e96900;
1895
font-style: normal;
1896
white-space: pre-wrap;
1897
}
1898
1899
/*回到顶部按钮样式*/
1900
.top-scroll {
1901
display: none;
1902
position: fixed;
1903
right: 15px;
1904
bottom: 15px;
1905
padding-top: 15px;
1906
margin-bottom: 0;
1907
z-index: 998;
1908
}
1909
1910
.top-scroll .btn-floating {
1911
background: linear-gradient(to bottom right, #FF5E3A 0%, #FF2A68 100%);
1912
width: 48px;
1913
height: 48px;
1914
}
1915
1916
.top-scroll .btn-floating i {
1917
line-height: 48px;
1918
font-size: 1.8rem;
1919
}
1920
1921
@media screen and (min-width: 368px) and (max-width: 767px) {
1922
.info-break-policy {
1923
word-break: keep-all;
1924
float: left;
1925
width: 50%;
1926
}
1927
}
1928
1929
@media screen and (min-width: 768px) {
1930
.info-break-policy {
1931
word-break: keep-all;
1932
float: left;
1933
margin-right: 15px;
1934
}
1935
}
1936
1937
@media screen and (max-width: 367px) {
1938
.info-break-policy {
1939
word-break: keep-all;
1940
float: left;
1941
width: 100%;
1942
}
1943
1944
.custom-card {
1945
padding: 0 2px !important;
1946
}
1947
}
1948
1949
.info-break-policy {
1950
margin-bottom: 8px;
1951
}
1952
1953
.clearfix {
1954
clear: left;
1955
}
1956
1957
.img-shadow {
1958
box-shadow: 0 5px 25px 0 rgba(0, 0, 0, .2), 0 10px 30px -11px rgba(0, 0, 0, .6)
1959
}
1960
1961
.img-margin {
1962
margin: 25px auto 10px auto;
1963
}
1964
1965
.caption {
1966
text-align: center;
1967
margin: 0 auto 15px auto;
1968
}
1969
1970
.center-caption {
1971
color: #525f7f;
1972
padding: 5px;
1973
border-bottom: 1px solid #d9d9d9;
1974
}
1975
1976
.lg-sub-html .center-caption {
1977
color: #fff !important;
1978
border-bottom: none;
1979
}
1980
1981
.overflow-policy {
1982
overflow: hidden;
1983
}
1984
1985
/* styles for '...' */
1986
.block-with-text {
1987
/* hide text if it more than N lines */
1988
overflow: hidden;
1989
/* for set '...' in absolute position */
1990
position: relative;
1991
/* use this value to count block height */
1992
line-height: 1.5em;
1993
/* max-height = line-height (1.2) * lines max number (3) */
1994
max-height: 4.5em;
1995
/* fix problem when last visible word doesn't adjoin right side */
1996
text-align: justify;
1997
/* place for '...' */
1998
margin-right: -1em;
1999
padding-right: 1em;
2000
}
2001
2002
/* create the ... style */
2003
.block-with-text:before {
2004
/* points in the end */
2005
content: '...';
2006
/* absolute position */
2007
position: absolute;
2008
/* set position to right bottom corner of block */
2009
right: 0.2em;
2010
bottom: 0;
2011
}
2012
2013
/* hide ... if we have text, which is less than or equal to max lines */
2014
.block-with-text:after {
2015
/* points in the end */
2016
content: '';
2017
/* absolute position */
2018
position: absolute;
2019
/* set position to right bottom corner of text */
2020
right: 0;
2021
/* set width and height */
2022
width: 1em;
2023
height: 1em;
2024
/* fix the problem of hidden failure */
2025
margin-top: 0.4em;
2026
/* bg color = bg color under block */
2027
background: white;
2028
}
2029
2030
/*二级菜单*/
2031
2032
.nav-menu {
2033
}
2034
2035
.nav-menu li .sub-nav {
2036
position: absolute;
2037
top: 66px;
2038
list-style: none;
2039
margin-left: -20px;
2040
display: none;
2041
}
2042
2043
.nav-menu li .sub-nav li {
2044
text-align: center;
2045
clear: left;
2046
width: 140px;
2047
height: 35px;
2048
line-height: 35px;
2049
position: relative;
2050
}
2051
2052
.nav-menu li .sub-nav li a {
2053
height: 34px;
2054
line-height: 34px;
2055
width: 138px;
2056
padding: 0;
2057
display: inline-block;
2058
border-radius: 5px;
2059
color: #000;
2060
}
2061
2062
.nav-show i[aria-hidden=true] {
2063
-webkit-transform: rotate(180deg) !important;
2064
-moz-transform: rotate(180deg) !important;
2065
-o-transform: rotate(180deg) !important;
2066
-ms-transform: rotate(180deg) !important;
2067
transform: rotate(180deg) !important;
2068
-webkit-transition: all .3s;
2069
-moz-transition: all .3s;
2070
-o-transition: all .3s;
2071
transition: all .3s;
2072
}
2073
2074
.menus_item_child {
2075
background-color: rgba(255, 255, 255, .8);
2076
width: fit-content;
2077
border-radius: 10px;
2078
-webkit-box-shadow: 0 5px 20px -4px rgba(0, 0, 0, .5);
2079
box-shadow: 0 5px 20px -4px rgba(0, 0, 0, .5);
2080
display: none;
2081
opacity: 0.98;
2082
-ms-filter: none;
2083
filter: none;
2084
-webkit-animation: sub_menus .3s .1s ease both;
2085
-moz-animation: sub_menus .3s .1s ease both;
2086
-o-animation: sub_menus .3s .1s ease both;
2087
animation: sub_menus .3s .1s ease both;
2088
}
2089
2090
.menus_item_child:before {
2091
content: "";
2092
position: absolute;
2093
top: -20px;
2094
left: 50%;
2095
margin-left: -10px;
2096
border-width: 10px;
2097
border-style: solid;
2098
border-color: transparent transparent rgba(255, 255, 255, .8)
2099
}
2100
2101
.m-nav-item {
2102
position: relative;
2103
}
2104
2105
.m-nav-item ul {
2106
display: none;
2107
}
2108
2109
.m-nav-item ul li {
2110
width: 255px;
2111
height: 50px;
2112
line-height: 50px;
2113
text-align: center;
2114
}
2115
2116
.m-nav-show .m-icon {
2117
-webkit-transform: rotate(90deg) !important;
2118
-moz-transform: rotate(90deg) !important;
2119
-o-transform: rotate(90deg) !important;
2120
-ms-transform: rotate(90deg) !important;
2121
transform: rotate(90deg) !important;
2122
-webkit-transition: all .3s;
2123
-moz-transition: all .3s;
2124
-o-transition: all .3s;
2125
transition: all .3s;
2126
}
2127
2128
.m-nav-show,
2129
.m-nav-item > a:hover {
2130
color: #FFF;
2131
background: rgba(255, 255, 255, .8);
2132
}
2133
2134
.m-nav-show > a:before,
2135
.m-nav-item > a:hover:before {
2136
opacity: 1;
2137
}
2138
2139
.m-nav-item .m-icon {
2140
position: absolute;
2141
right: 15px;
2142
height: 50px;
2143
padding: 0;
2144
margin: 0;
2145
}
2146
2147