Skip to content

Commit 1452e38

Browse files
committed
v1.3.2
1 parent 0a21ed8 commit 1452e38

8 files changed

Lines changed: 18 additions & 16 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"vuepress-plugin-one-click-copy": "^1.0.2",
2222
"vuepress-plugin-thirdparty-search": "^1.0.2",
2323
"vuepress-plugin-zooming": "^1.1.7",
24-
"vuepress-theme-vdoing": "^1.3.1",
24+
"vuepress-theme-vdoing": "^1.3.2",
2525
"yamljs": "^0.3.0"
2626
},
2727
"dependencies": {

theme-vdoing/components/ArchivesPage.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export default {
106106
@extend $vdoing-wrapper
107107
position relative
108108
@media (min-width $contentWidth + 80)
109-
margin-top 2rem!important
109+
margin-top 1.5rem!important
110110
ul,li
111111
margin 0
112112
padding 0

theme-vdoing/components/MainLayout.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</template>
1212
<style lang="stylus">
1313
.main-wrapper
14-
margin 2rem auto 0 auto
14+
margin 1.5rem auto 0 auto
1515
max-width $homePageWidth
1616
padding 0 .9rem
1717
box-sizing border-box

theme-vdoing/components/Page.vue

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,10 @@ export default {
8484
.page
8585
padding-bottom 2rem
8686
display block
87-
padding-top ($navbarHeight)
88-
@media (min-width $contentWidth + 80)
89-
padding-top ($navbarHeight + 2rem)
87+
@media (max-width $MQMobile)
88+
padding-top ($navbarHeight)
89+
@media (min-width $MQMobile)
90+
padding-top ($navbarHeight + 1.5rem)
9091
>*
9192
@extend $vdoing-wrapper
9293
@@ -102,15 +103,15 @@ export default {
102103
/**
103104
* 右侧菜单的自适应
104105
*/
105-
@media (min-width: 720px) and (max-width: 1519px)
106+
@media (min-width: 720px) and (max-width: 1279px)
106107
.have-rightmenu
107108
.page
108-
padding-right 0!important
109+
padding-right .8rem!important
109110
110-
@media (max-width: 1519px)
111+
@media (max-width: 1279px)
111112
.right-menu-wrapper
112113
display none
113-
@media (min-width: 1520px)
114+
@media (min-width: 1280px)
114115
.sidebar .sidebar-sub-headers
115116
display none
116117

theme-vdoing/components/SidebarButton.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
display inline-block
3232
position fixed
3333
left 0
34-
top $navbarHeight
34+
top ($navbarHeight + 1rem)
3535
text-align center
3636
line-height 44px
3737
margin 5px 8px

theme-vdoing/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vuepress-theme-vdoing",
3-
"version": "1.3.1",
3+
"version": "1.3.2",
44
"description": "Vdoing theme for VuePress. 一个基于VuePress的知识管理兼博客主题。",
55
"author": {
66
"name": "gaoyi(Evan) Xu"

theme-vdoing/styles/index.styl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ body .search-box
7373

7474
.page
7575
transition padding .2s ease
76-
padding-left 0
76+
padding-left .8rem
7777

7878
.navbar
7979
position fixed

theme-vdoing/styles/mobile.styl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ $mobileSidebarWidth = $sidebarWidth * 0.9
1717
.theme-container
1818
&.sidebar-open
1919
.page
20-
padding-left $mobileSidebarWidth!important
20+
padding-left ($mobileSidebarWidth + .8rem)!important
2121

2222
// wide mobile
2323
@media (max-width: $MQMobile)
@@ -59,10 +59,11 @@ $mobileSidebarWidth = $sidebarWidth * 0.9
5959
.sidebar-button
6060
left $sidebarWidth
6161
.page
62-
padding-left $sidebarWidth
62+
padding-left ($sidebarWidth + .8rem)
63+
padding-right .8rem
6364
&.have-rightmenu
6465
.page
65-
padding-right $rightMenuWidth
66+
padding-right ($rightMenuWidth + .8rem)
6667
&.no-sidebar
6768
.page
6869
padding-left 0!important

0 commit comments

Comments
 (0)