File tree Expand file tree Collapse file tree 4 files changed +61
-15
lines changed Expand file tree Collapse file tree 4 files changed +61
-15
lines changed Original file line number Diff line number Diff line change @@ -324,10 +324,6 @@ input[type="number"] {
324
324
overflow: hidden;
325
325
background- color: #fff;
326
326
box- shadow: 0 0 45px rgba (0 , 0 , 0 , 0.2 );
327
-
328
- h2 {
329
- margin- top: 0 ;
330
- }
331
327
}
332
328
333
329
.options {
Original file line number Diff line number Diff line change @@ -56,12 +56,23 @@ watch(codeOpen, open => {
56
56
<a href =" https://github.com/ecomfe/vue-echarts" >Vue-ECharts</a >
57
57
</h1 >
58
58
<p class =" desc" >
59
- Vue.js component for Apache ECharts. (<a
59
+ Vue.js component for Apache ECharts™ . (<a
60
60
href =" https://github.com/ecomfe/vue-echarts#readme"
61
61
>docs</a
62
62
>)
63
63
</p >
64
64
65
+ <h2 class =" sep" >Examples</h2 >
66
+ <p >
67
+ <small
68
+ >See
69
+ <a href =" https://echarts.apache.org/examples/en/index.html"
70
+ >echarts.apache.org/examples</a
71
+ >
72
+ for all examples.</small
73
+ >
74
+ </p >
75
+
65
76
<bar-chart />
66
77
<pie-chart />
67
78
<polar-chart />
@@ -132,20 +143,52 @@ body {
132
143
a {
133
144
color : inherit ;
134
145
text-decoration : none ;
146
+ box-shadow : 0 1px 0 0 #42b983 ;
147
+ transition : box-shadow 0.2s ;
148
+
149
+ &:hover {
150
+ box-shadow: 0 2px 0 0 #42b983 ;
151
+ }
152
+ }
153
+
154
+ h1 ,
155
+ h2 ,
156
+ h3 {
157
+ color : #2c3e50 ;
158
+ font-weight : 400 ;
135
159
}
136
160
137
161
h1 {
138
162
margin-bottom : 1em ;
139
163
font-family : Inter, " Helvetica Neue" , Arial , sans-serif ;
140
164
}
141
165
142
- h1 ,
143
166
h2 {
144
- color : #2c3e50 ;
145
- font-weight : 400 ;
167
+ margin-top : 1 em ;
168
+ margin-bottom : 1 em ;
146
169
}
147
170
148
- h2 {
171
+ .sep {
172
+ margin-top : 6em ;
173
+ margin-bottom : 1.8em ;
174
+ display : flex ;
175
+ justify-content : center ;
176
+ align-items : center ;
177
+ gap : 12px ;
178
+ font-size : 1.25em ;
179
+ color : #7f8c8d ;
180
+ opacity : 0.6 ;
181
+
182
+ &::before,
183
+ &::after {
184
+ content : " " ;
185
+ display : block ;
186
+ width : 48px ;
187
+ border-bottom : 1px dotted currentColor ;
188
+ }
189
+ }
190
+
191
+ h3 {
149
192
margin-top : 2em ;
150
193
padding-top : 1em ;
151
194
font-size : 1.2em ;
@@ -208,15 +251,18 @@ footer {
208
251
a {
209
252
display : inline-block ;
210
253
margin : 0 5px ;
211
- padding : 3px 0 6px ;
212
254
color : #7f8c8d ;
213
255
font-size : 2em ;
214
- text-decoration : none ;
215
256
}
257
+ }
216
258
259
+ h1 ,
260
+ h2 ,
261
+ h3 {
262
+ a ,
217
263
a :hover {
218
- padding-bottom : 3 px ;
219
- border-bottom : 3 px solid #42b983 ;
264
+ text-decoration: none ;
265
+ box-shadow : none ;
220
266
}
221
267
}
222
268
Original file line number Diff line number Diff line change @@ -25,6 +25,10 @@ export default {
25
25
return "" ;
26
26
}
27
27
}
28
+ } ,
29
+ itemStyle : {
30
+ shadowBlur : 12 ,
31
+ shadowColor : "rgba(0, 0, 0, 0.25)"
28
32
}
29
33
}
30
34
]
Original file line number Diff line number Diff line change 1
1
<template >
2
- <h2 :id =" id" >
2
+ <h3 :id =" id" >
3
3
<a :href =" `#${id}`" >
4
4
{{ title }}
5
5
<small v-if =" desc" >{{ desc }}</small >
6
6
</a >
7
- </h2 >
7
+ </h3 >
8
8
<section >
9
9
<figure class =" fig hero" v-if =" !split" >
10
10
<slot />
You can’t perform that action at this time.
0 commit comments