mirror of
https://github.com/youzan/vant.git
synced 2025-10-22 11:54:02 +00:00
[Doc] new theme
This commit is contained in:
@@ -48,7 +48,7 @@ export default {
|
||||
|
||||
<style lang="less">
|
||||
.van-doc-intro {
|
||||
padding-top: 40px;
|
||||
padding-top: 20px;
|
||||
font-family: "Dosis", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
|
||||
text-align: center;
|
||||
|
||||
@@ -57,15 +57,8 @@ export default {
|
||||
height: 120px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-weight: normal;
|
||||
font-size: 36px;
|
||||
line-height: 60px;
|
||||
}
|
||||
|
||||
p {
|
||||
color: #455a64;
|
||||
font-size: 15px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
@@ -4,7 +4,6 @@
|
||||
v-show="title"
|
||||
class="van-doc-nav-bar"
|
||||
:title="title"
|
||||
:border="false"
|
||||
:left-arrow="showNav"
|
||||
@click-left="onBack"
|
||||
>
|
||||
@@ -71,7 +70,7 @@ body {
|
||||
color: @text-color;
|
||||
font-family: 'PingFang SC', Helvetica, 'STHeiti STXihei', 'Microsoft YaHei', Tohoma, Arial, sans-serif;
|
||||
line-height: 1;
|
||||
background-color: #f2f3f5;
|
||||
background-color: #f8f8f8;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
|
||||
|
@@ -11,8 +11,6 @@ module.exports = {
|
||||
href: '#/'
|
||||
},
|
||||
nav: {
|
||||
'Vue 组件': 'https://youzan.github.io/vant/',
|
||||
'小程序组件': 'https://youzan.github.io/vant-weapp/',
|
||||
lang: {
|
||||
text: 'En',
|
||||
from: 'zh-CN',
|
||||
|
Reference in New Issue
Block a user