vitepress-theme-element-plus 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vitepress-theme-element-plus",
3
3
  "type": "module",
4
- "version": "0.0.5",
4
+ "version": "0.0.6",
5
5
  "description": "A VitePress theme for Element Plus",
6
6
  "author": "Hezhengxu",
7
7
  "license": "MIT",
package/styles/base.scss CHANGED
@@ -35,3 +35,15 @@ body {
35
35
  main {
36
36
  display: block;
37
37
  }
38
+
39
+ a,
40
+ area,
41
+ button,
42
+ [role=button],
43
+ input,
44
+ label,
45
+ select,
46
+ summary,
47
+ textarea {
48
+ touch-action: manipulation
49
+ }
@@ -159,4 +159,65 @@
159
159
  margin: 20px 0;
160
160
  }
161
161
  }
162
+
163
+ blockquote {
164
+ margin: 1rem 0;
165
+ border-left: .2rem solid var(--el-border-color);
166
+ padding: .25rem 0 .25rem 1rem;
167
+ font-size: 1rem;
168
+ color: var(--text-color-lighter)
169
+ }
170
+
171
+ blockquote>p {
172
+ margin: 0
173
+ }
174
+
175
+ form {
176
+ margin: 0
177
+ }
178
+
179
+ details summary {
180
+ margin: 16px 0;
181
+ font-size: 18px;
182
+ font-weight: 600;
183
+ cursor: pointer
184
+ }
185
+
186
+ figure {
187
+ margin: 0
188
+ }
189
+
190
+ img {
191
+ max-width: 100%
192
+ }
193
+
194
+ ul,
195
+ ol {
196
+ padding-left: 1.25em;
197
+ }
198
+
199
+ li>ul,
200
+ li>ol {
201
+ margin: 0
202
+ }
203
+
204
+ p,
205
+ ol,
206
+ ul {
207
+ margin: 1rem 0;
208
+ line-height: 1.7;
209
+ list-style-type: disc
210
+ }
211
+
212
+ ol>li {
213
+ list-style: auto
214
+ }
215
+
216
+ hr {
217
+ margin-top: 20px;
218
+ margin-bottom: 20px;
219
+ border: 0;
220
+ border-top: 1px solid var(--el-border-color-lighter);
221
+ }
162
222
  }
223
+
@@ -1,6 +1,6 @@
1
1
  .vp-tag {
2
- --vp-tag-color: var(--el-color-primary);
3
- --vp-tag-border-color: var(--el-color-primary);
2
+ --vp-tag-color: var(--vp-c-brand);
3
+ --vp-tag-border-color: var(--vp-c-brand);
4
4
 
5
5
  display: inline-block;
6
6
  padding: 0 7px;