Skip to content

Commit e084a28

Browse files
author
reco_luan
committed
chore(vuepress-theme-reco): reduce the font size
1 parent bbdddcc commit e084a28

File tree

3 files changed

+15
-5
lines changed

3 files changed

+15
-5
lines changed

example/views/other/guide.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,15 @@ categories:
66
- test
77
---
88

9+
# 测试 test 123
10+
## 测试 test 123
11+
### 测试 test 123
12+
#### 测试 test 123
13+
##### 测试 test 123
14+
###### 测试 test 123
15+
16+
测试 test 123
17+
918
![vuepress](https://img.shields.io/badge/vuepress-0.14.8-brightgreen.svg)
1019
![leancloud-storage](https://img.shields.io/badge/leancloud--storage-3.10.1-orange.svg)
1120
![valine](https://img.shields.io/badge/valine-1.3.4-blue.svg)

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"eslint-fix": "eslint --fix --ext .js,.vue ./",
1818
"prepublish": "lerna publish --dist-tag next",
1919
"publish": "lerna publish",
20-
"push": "yarn commit && git push"
20+
"push": "yarn commit && git push",
21+
"update": "yarn upgrade-interactive --latest"
2122
},
2223
"husky": {
2324
"hooks": {

packages/vuepress-theme-reco/styles/theme.styl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ body
1313
font-family Ubuntu, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif
1414
-webkit-font-smoothing antialiased
1515
-moz-osx-font-smoothing grayscale
16-
font-size 16px
16+
font-size 15px
1717
color var(--text-color)
1818
background-color var(--background-color)
1919

@@ -121,15 +121,15 @@ h1, h2, h3, h4, h5, h6
121121
opacity: 1
122122

123123
h1
124-
font-size 1.95rem
124+
font-size 1.6rem
125125

126126
h2
127-
font-size 1.65rem
127+
font-size 1.4rem
128128
padding-bottom .3rem
129129
border-bottom 1px solid var(--border-color)
130130

131131
h3
132-
font-size 1.35rem
132+
font-size 1.2rem
133133

134134
a.header-anchor
135135
font-size 0.85em

0 commit comments

Comments
 (0)