File tree Expand file tree Collapse file tree 9 files changed +31
-53
lines changed
Expand file tree Collapse file tree 9 files changed +31
-53
lines changed Original file line number Diff line number Diff line change @@ -270,7 +270,6 @@ export default {
270270 bottom 0
271271 left 0
272272 right 0
273- margin auto
274273 .hide
275274 height 100vh
276275 overflow hidden
Original file line number Diff line number Diff line change 11<template >
2- <div class =" password-shadow" :class = " {'is-home': !isPage} " >
2+ <div class =" password-shadow" >
33 <h3 class =" title" >{{isPage ? $frontmatter.title : $site.title || $localeConfig.title}}</h3 >
44 <p class =" description" v-if =" !isPage" >{{$site.description || $localeConfig.description}}</p >
55 <label class =" inputBox" id =" box" >
@@ -100,37 +100,25 @@ export default {
100100
101101<style lang="stylus" scoped>
102102@require '../styles/mode.styl'
103- .theme-container.no-sidebar
104- .password-shadow
105- padding-left 0
106-
107- .password-shadow.is-home {
108- padding-left 0
109- }
110103
111104.password-shadow {
112- position relative
113- width 100vw ;
114- height 100vh ;
115105 overflow hidden
116106 position relative
117- padding-left : 20rem ;
118107 background #f f f
119108 background var (-- background-color )
120109 box-sizing border-box
121110 .title {
122- margin 8rem auto 6 rem
111+ margin 8rem auto 2 rem
123112 width 100%
124113 text-align center
125114 font-size 30px
126115 box-sizing : border-box ;
127- // padding: 0 10px;
128116 text-shadow $textShadow
129117 color $textColor
130118 color var (-- text - color )
131119 }
132120 .description {
133- margin auto
121+ margin 0 auto 6 rem
134122 text-align center
135123 color $textColor
136124 color var (-- text - color )
@@ -193,6 +181,7 @@ export default {
193181 font-size 30px
194182 }
195183 button {
184+ overflow hidden
196185 width :0px ;
197186 height :98px ;
198187 border-radius : $borderRadius
@@ -304,26 +293,13 @@ export default {
304293 }
305294 .footer {
306295 margin-left 0
307-
296+
308297 }
309298 }
310299 @media (max-width : $MQNarrow) {
311- // .inputBox{
312- // padding-left $mobileSidebarWidth
313- // }
314300 .footer {
315- margin-left 0
316- }
301+ margin-left 0
302+ }
317303 }
318304}
319-
320- // narrow desktop / iPad
321- @media (max-width : $MQNarrow)
322- .password-shadow
323- padding-left $mobileSidebarWidth
324-
325- // wide mobile
326- @media (max-width : $MQMobile)
327- .password-shadow
328- padding-left 0
329305 </style >
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ export default {
3030 display inline-block
3131 .nav-links
3232 display none
33- border-bottom 1px solid $borderColor
33+ border-bottom 1px solid var ( -- border-color )
3434 padding 0.5rem 0 0.75rem 0
3535 a
3636 font-weight 600
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ module.exports = {
4949 // 备案号
5050 record : 'xxxx' ,
5151 // 项目开始时间
52- startYear : '2017'
52+ startYear : '2017' ,
5353 /**
5454 * 密钥 (if your blog is private)
5555 */
@@ -68,6 +68,9 @@ module.exports = {
6868 // appId: '...',// your appId
6969 // appKey: '...', // your appKey
7070 // }
71+ keyPage : {
72+ keys : [ '123456' ]
73+ }
7174 } ,
7275 markdown : {
7376 lineNumbers : true
Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ title: vuepress-theme-reco
33date : 2019-04-09
44categories :
55 - other
6+ keys :
7+ - ' 123'
68---
79
810![ vuepress] ( https://img.shields.io/badge/vuepress-0.14.8-brightgreen.svg )
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ export default {
123123 }
124124 .desc , .year {
125125 position : relative ;
126- color # 6 6 6
126+ color var ( -- text - color );
127127 font-size 16px
128128 & :before {
129129 content : " " ;
@@ -142,7 +142,7 @@ export default {
142142 }
143143 .year {
144144 margin : 80px 0 0px ;
145- color # 5 5 5
145+ color var ( -- text - color );
146146 font-weight : 700 ;
147147 font-size 26px
148148 }
@@ -168,7 +168,7 @@ export default {
168168 .date {
169169 width 40px
170170 line-height 30px
171- color : # 5 5 5 ;
171+ color $textColorSub
172172 font-size 12px
173173 & ::before {
174174 content : " " ;
@@ -186,7 +186,7 @@ export default {
186186 }
187187 .title {
188188 line-height 30px
189- color : # 5 5 5 ;
189+ color $textColorSub
190190 font-size 16px
191191 cursor pointer
192192 }
Original file line number Diff line number Diff line change 77 & .up
88 border-left 4px solid transparent
99 border-right 4px solid transparent
10- border-bottom 6px solid $arrowBgColor
10+ border-bottom 6px solid $textColorSub
1111 & .down
1212 border-left 4px solid transparent
1313 border-right 4px solid transparent
14- border-top 6px solid $arrowBgColor
14+ border-top 6px solid $textColorSub
1515 & .right
1616 border-top 4px solid transparent
1717 border-bottom 4px solid transparent
18- border-left 6px solid $arrowBgColor
18+ border-left 6px solid $textColorSub
1919 & .left
2020 border-top 4px solid transparent
2121 border-bottom 4px solid transparent
22- border-right 6px solid $arrowBgColor
22+ border-right 6px solid $textColorSub
Original file line number Diff line number Diff line change @@ -7,10 +7,8 @@ $mobileSidebarWidth = $sidebarWidth * 0.82
77 .sidebar
88 font-size 15px
99 width $mobileSidebarWidth
10- .page
11- padding-left $mobileSidebarWidth
12- .password-shadow
13- padding-left $mobileSidebarWidth
10+ .page , .password-wrapper-in
11+ margin-left $mobileSidebarWidth
1412
1513// wide mobile
1614@media (max-width : $MQMobile)
@@ -19,8 +17,8 @@ $mobileSidebarWidth = $sidebarWidth * 0.82
1917 padding-top $navbarHeight
2018 transform translateX (- 100% )
2119 transition transform .2s ease
22- .page
23- padding -left 0
20+ .page , .password-wrapper-in
21+ margin -left 0
2422 .theme-container
2523 & .sidebar-open
2624 .sidebar
@@ -29,7 +27,7 @@ $mobileSidebarWidth = $sidebarWidth * 0.82
2927 .sidebar
3028 padding-top : 0
3129 .password-shadow
32- padding-left 0
30+ padding-left 0
3331
3432// narrow mobile
3533@media (max-width : $MQMobileNarrow)
Original file line number Diff line number Diff line change 1717 color var (-- text - color )
1818 background-color var (-- background-color )
1919
20- .page
20+ .page , .password-wrapper-in
2121 overflow-x : hidden
22- padding -left $sidebarWidth
22+ margin -left $sidebarWidth
2323
2424.navbar
2525 position fixed
@@ -181,8 +181,8 @@ th, td
181181 .theme-container.no-sidebar
182182 .sidebar
183183 display none
184- .page
185- padding -left 0
184+ .page , .password-wrapper-in
185+ margin -left 0
186186
187187@require 'mobile.styl'
188188
You can’t perform that action at this time.
0 commit comments