mirror of
				https://github.com/Wonderfall/hugo-WonderMod.git
				synced 2025-10-31 03:45:24 +01:00 
			
		
		
		
	🔖 Upgrade to 1.2
This commit is contained in:
		| @@ -12,6 +12,17 @@ | ||||
| *::after { | ||||
|   box-sizing: border-box; | ||||
| } | ||||
| ::-webkit-scrollbar { | ||||
|   width: 6px; | ||||
|   height: 6px; | ||||
| } | ||||
| ::-webkit-scrollbar-track { | ||||
|   background: transparent; | ||||
| } | ||||
| ::-webkit-scrollbar-thumb { | ||||
|   background: rgba(0, 0, 0, .2); | ||||
|   border-radius: 3px; | ||||
| } | ||||
| html { | ||||
|   -webkit-tap-highlight-color: transparent; | ||||
| } | ||||
| @@ -64,6 +75,11 @@ pre, code { | ||||
|   font-family: Menlo, Consolas, monospace; | ||||
|   font-size: inherit; | ||||
| } | ||||
| /* Body | ||||
| ============================================================= */ | ||||
| .list { | ||||
|   background: #fafafa; | ||||
| } | ||||
| /* Header | ||||
| ============================================================= */ | ||||
| .header { | ||||
| @@ -73,105 +89,79 @@ pre, code { | ||||
|   padding-left: 30px; | ||||
|   padding-right: 30px; | ||||
|   line-height: 65px; | ||||
| } | ||||
| .home .header { | ||||
|   background: #fff; | ||||
| } | ||||
| .title a { | ||||
|   display: block; | ||||
|   margin-top: 18px; | ||||
|   font-size: 28px; | ||||
|   font-size: 24px; | ||||
|   font-weight: 700; | ||||
|   line-height: 35px; | ||||
| } | ||||
| .title span { | ||||
|   display: inline-block; | ||||
|   margin-right: 10px; | ||||
|   transform: translateY(1px); | ||||
| .noscroll { | ||||
|   overflow: hidden; | ||||
| } | ||||
| .menu-toggle { | ||||
|   display: block; | ||||
|   position: absolute; | ||||
|   top: 0; | ||||
|   right: 0; | ||||
|   z-index: 20; | ||||
|   width: 80px; | ||||
|   height: 65px; | ||||
| } | ||||
| .menu-toggle::before, | ||||
| .menu-toggle::after { | ||||
|   content: ''; | ||||
|   position: absolute; | ||||
|   top: 50%; | ||||
|   left: 50%; | ||||
|   width: 20px; | ||||
|   height: 2px; | ||||
|   background: #000; | ||||
| } | ||||
| .menu-toggle::before { | ||||
|   transform: translate3d(-50%, -5px, 0); | ||||
| } | ||||
| .menu-toggle::after { | ||||
|   transform: translate3d(-50%, 4px, 0); | ||||
| } | ||||
| .noscroll .menu-toggle::before { | ||||
|   transform: translate3d(-50%, -1px, 0) rotateZ(45deg); | ||||
| } | ||||
| .noscroll .menu-toggle::after { | ||||
|   transform: translate3d(-50%, -1px, 0) rotateZ(-45deg); | ||||
| } | ||||
| .menu { | ||||
|   display: none; | ||||
| } | ||||
| .menu li { | ||||
|   display: inline-block; | ||||
|   margin-left: 20px; | ||||
| .noscroll .menu { | ||||
|   display: block; | ||||
| } | ||||
| .menu li.active a { | ||||
|   color: rgba(0, 0, 0, .4); | ||||
| .menu ul { | ||||
|   position: fixed; | ||||
|   top: 0; | ||||
|   right: 0; | ||||
|   bottom: 0; | ||||
|   left: 0; | ||||
|   z-index: 10; | ||||
|   background: #fff; | ||||
|   display: flex; | ||||
|   justify-content: center; | ||||
|   flex-direction: column; | ||||
|   text-align: center; | ||||
| } | ||||
| .menu li { | ||||
|   width: 100%; | ||||
|   margin-left: 0; | ||||
| } | ||||
| .menu a { | ||||
|   display: block; | ||||
|   font-size: 15px; | ||||
| } | ||||
| @media (max-width: 1023px) { | ||||
|   .noscroll { | ||||
|     overflow: hidden; | ||||
|   } | ||||
|   .menu-toggle { | ||||
|     display: block; | ||||
|   } | ||||
|   .menu-toggle { | ||||
|     position: absolute; | ||||
|     top: 0; | ||||
|     right: 0; | ||||
|     z-index: 20; | ||||
|     width: 80px; | ||||
|     height: 65px; | ||||
|   } | ||||
|   .menu-toggle::before, | ||||
|   .menu-toggle::after { | ||||
|     content: ''; | ||||
|     position: absolute; | ||||
|     top: 50%; | ||||
|     left: 50%; | ||||
|     width: 20px; | ||||
|     height: 2px; | ||||
|     background: #000; | ||||
|   } | ||||
|   .menu-toggle::before { | ||||
|     transform: translate3d(-50%, -5px, 0); | ||||
|   } | ||||
|   .menu-toggle::after { | ||||
|     transform: translate3d(-50%, 4px, 0); | ||||
|   } | ||||
|   .noscroll .menu-toggle::before { | ||||
|     transform: translate3d(-50%, -1px, 0) rotateZ(45deg); | ||||
|   } | ||||
|   .noscroll .menu-toggle::after { | ||||
|     transform: translate3d(-50%, -1px, 0) rotateZ(-45deg); | ||||
|   } | ||||
|   .menu { | ||||
|     display: none; | ||||
|   } | ||||
|   .noscroll .menu { | ||||
|     display: block; | ||||
|   } | ||||
|   .menu ul { | ||||
|     position: fixed; | ||||
|     top: 0; | ||||
|     right: 0; | ||||
|     bottom: 0; | ||||
|     left: 0; | ||||
|     z-index: 10; | ||||
|     background: #fff; | ||||
|     display: flex; | ||||
|     justify-content: center; | ||||
|     flex-direction: column; | ||||
|     text-align: center; | ||||
|   } | ||||
|   .menu li { | ||||
|     width: 100%; | ||||
|     margin-left: 0; | ||||
|   } | ||||
|   .menu a { | ||||
|     font-size: 20px; | ||||
|   } | ||||
|   font-size: 20px; | ||||
| } | ||||
| /* Main | ||||
| ======================================================================= */ | ||||
| .list { | ||||
|   background: #fafafa; | ||||
| } | ||||
| /* Main | ||||
| ------------------------------ */ | ||||
| .main { | ||||
|   min-height: calc(100vh - 130px); | ||||
|   overflow: hidden; | ||||
| @@ -250,7 +240,7 @@ pre, code { | ||||
|   background: #fff; | ||||
| } | ||||
| .welcome-emoji { | ||||
|   font-size: 50px; | ||||
|   font-size: 60px; | ||||
|   line-height: 1; | ||||
| } | ||||
| .first-entry .post-title { | ||||
| @@ -272,6 +262,10 @@ pre, code { | ||||
|   background: #fff; | ||||
|   border-radius: 6px; | ||||
| } | ||||
| .post-entry:active { | ||||
|   transform: scale(.98); | ||||
|   transition: transform .1s; | ||||
| } | ||||
| .post-entry + .post-entry { | ||||
|   margin-top: 25px; | ||||
| } | ||||
| @@ -391,16 +385,18 @@ pre, code { | ||||
| } | ||||
| .post-content pre { | ||||
|   padding: 20px; | ||||
|   background: rgba(0, 0, 0, .05); | ||||
|   background: #fafafa; | ||||
|   border-radius: 6px; | ||||
| } | ||||
| .post-content pre code { | ||||
|   padding: 0; | ||||
|   background: transparent; | ||||
|   border-radius: 0; | ||||
| } | ||||
| .post-content code { | ||||
|   padding: 3px 6px; | ||||
|   font-size: 15px; | ||||
|   background: rgba(0, 0, 0, .05); | ||||
|   background: #fafafa; | ||||
|   border-radius: 3px; | ||||
| } | ||||
| .post-content blockquote { | ||||
| @@ -427,16 +423,17 @@ pre, code { | ||||
| } | ||||
| .post-tags a { | ||||
|   display: block; | ||||
|   padding: 4px 15px; | ||||
|   padding: 6px 16px; | ||||
|   color: rgba(0, 0, 0, .6); | ||||
|   background: rgba(0, 0, 0, .05); | ||||
|   font-size: 16px; | ||||
|   background: #f5f5f5; | ||||
|   border-radius: 3px; | ||||
| } | ||||
| .post-tags li + li { | ||||
|   margin-left: 3px; | ||||
| } | ||||
| .post-tags a:hover { | ||||
|   background: rgba(0, 0, 0, .08); | ||||
|   background: #eee; | ||||
| } | ||||
| @media (max-width: 767px) { | ||||
|   .post-content blockquote { | ||||
| @@ -469,7 +466,7 @@ pre, code { | ||||
| ======================================================================= */ | ||||
| .footer { | ||||
|   padding: 20px; | ||||
|   font-size: 15px; | ||||
|   font-size: 14px; | ||||
|   line-height: 25px; | ||||
|   text-align: center; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 nanxiaobei
					nanxiaobei