提交 | 用户 | age
|
a6a76f
|
1 |
*, :after, :before { |
F |
2 |
box-sizing: border-box; |
|
3 |
} |
|
4 |
body { |
|
5 |
color: #43484d; |
|
6 |
} |
|
7 |
.nav { |
|
8 |
display: flex; |
|
9 |
flex-direction: row; |
|
10 |
align-items: center; |
|
11 |
border-bottom: 1px solid #f5f5f5; |
|
12 |
line-height: 30px; |
|
13 |
margin-bottom: 10px; |
|
14 |
} |
|
15 |
.nav .nav-tab { |
|
16 |
cursor: pointer; |
|
17 |
position: relative; |
|
18 |
flex: 1; |
|
19 |
text-align: center; |
|
20 |
font-size: 16px; |
|
21 |
font-weight: bold; |
|
22 |
border-bottom: 3px solid transparent; |
|
23 |
transition: border .2s cubic-bezier(0.43, 0.37, 1, 1); |
|
24 |
} |
|
25 |
.nav span.active .active-img { |
|
26 |
display: block; |
|
27 |
} |
|
28 |
.active-img { |
|
29 |
display: none; |
|
30 |
position: absolute; |
|
31 |
left: 0; |
|
32 |
right: 0; |
|
33 |
bottom: -12px; |
|
34 |
width: 100%; |
|
35 |
height: 10px; |
|
36 |
background: url("/images/active.png") no-repeat center; |
|
37 |
background-size: 150px 10px; |
|
38 |
} |
|
39 |
.section-tab { |
|
40 |
display: none; |
|
41 |
margin: 10px 30px; |
|
42 |
} |
|
43 |
.section-tab.active { |
|
44 |
display: block; |
|
45 |
} |
|
46 |
.version-content { |
|
47 |
position: relative; |
|
48 |
width: 100%; |
|
49 |
z-index: 2; |
|
50 |
} |
|
51 |
.version-content .versions { |
|
52 |
position: static; |
|
53 |
margin-bottom: 40px; |
|
54 |
padding: 20px 0; |
|
55 |
} |
|
56 |
.version-content:after { |
|
57 |
content: ""; |
|
58 |
position: absolute; |
|
59 |
width: 5px; |
|
60 |
top: 0; |
|
61 |
left: 0; |
|
62 |
bottom: 0; |
|
63 |
margin-left: -2.5px; |
|
64 |
background-color: #e6eaf5; |
|
65 |
} |
|
66 |
.version-content:before{ |
|
67 |
content: ""; |
|
68 |
width: 20px; |
|
69 |
height: 5px; |
|
70 |
border-radius: 4px; |
|
71 |
position: absolute; |
|
72 |
left: 50%; |
|
73 |
margin-left: -10px; |
|
74 |
background-color: #e6eaf5; |
|
75 |
} |
|
76 |
.version-content:before{ |
|
77 |
left: 0; |
|
78 |
top: 0; |
|
79 |
} |
|
80 |
.version-content .versions .version { |
|
81 |
width: 100%; |
|
82 |
top: 0; |
|
83 |
left: 0; |
|
84 |
margin-top: 15px; |
|
85 |
padding-left: 35px; |
|
86 |
padding-right: 0; |
|
87 |
position: relative; |
|
88 |
margin-left: 0; |
|
89 |
} |
|
90 |
.version-content .versions .version:before { |
|
91 |
border-right: 13px solid #9d9d9d; |
|
92 |
} |
|
93 |
.version-content .dot { |
|
94 |
z-index: 10; |
|
95 |
position: absolute; |
|
96 |
left: -8px; |
|
97 |
background-color: #fff; |
|
98 |
border-radius: 50%; |
|
99 |
width: 16px; |
|
100 |
height: 16px; |
|
101 |
border: 2px solid #007aff; |
|
102 |
top: 12px; |
|
103 |
} |
|
104 |
.version-content .ver { |
|
105 |
font-size: 30px; |
|
106 |
font-weight: 600; |
|
107 |
margin-bottom: 16px; |
|
108 |
} |
|
109 |
.version-content .date { |
|
110 |
opacity: 0.7; |
|
111 |
font-size: 16px; |
|
112 |
line-height: 24px; |
|
113 |
margin-bottom: 24px; |
|
114 |
padding-bottom: 10px; |
|
115 |
border-bottom: 1px solid #ddd; |
|
116 |
} |
|
117 |
.version-content .versions .version+.version{ |
|
118 |
margin-top: 50px; |
|
119 |
} |
|
120 |
.version-content h5{ |
|
121 |
font-size: 18px; |
|
122 |
margin: 12px 0; |
|
123 |
} |