File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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" : {
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ export default {
106106 @extend $vdoing-wrapper
107107 position relative
108108 @media (min-width $contentWidth + 80 )
109- margin-top 2 rem ! important
109+ margin-top 1.5 rem ! important
110110 ul ,li
111111 margin 0
112112 padding 0
Original file line number Diff line number Diff line change 1111</template >
1212<style lang="stylus">
1313.main-wrapper
14- margin 2 rem auto 0 auto
14+ margin 1.5 rem auto 0 auto
1515 max-width $homePageWidth
1616 padding 0 .9rem
1717 box-sizing border-box
Original file line number Diff line number Diff 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 : 1519 px )
106+ @media (min-width : 720px ) and (max-width : 1279 px )
106107 .have-rightmenu
107108 .page
108- padding-right 0 ! important
109+ padding-right .8 rem ! important
109110
110- @media (max-width : 1519 px )
111+ @media (max-width : 1279 px )
111112 .right-menu-wrapper
112113 display none
113- @media (min-width : 1520 px )
114+ @media (min-width : 1280 px )
114115 .sidebar .sidebar-sub-headers
115116 display none
116117
Original file line number Diff line number Diff line change 3131 display inline-block
3232 position fixed
3333 left 0
34- top $navbarHeight
34+ top ( $navbarHeight + 1 rem )
3535 text-align center
3636 line-height 44px
3737 margin 5px 8px
Original file line number Diff line number Diff line change 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"
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ body .search-box
7373
7474.page
7575 transition padding .2s ease
76- padding-left 0
76+ padding-left .8 rem
7777
7878.navbar
7979 position fixed
Original file line number Diff line number Diff 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 + .8 rem ) ! 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 + .8 rem )
6667 & .no-sidebar
6768 .page
6869 padding-left 0 ! important
You can’t perform that action at this time.
0 commit comments