mirror of
				https://github.com/Mabbs/mabbs.github.io
				synced 2025-10-31 10:22:08 +08:00 
			
		
		
		
	Update 4 files
- /search.html - /assets/css/style.scss - /assets/js/main_new.js - /_layouts/post.html
This commit is contained in:
		| @@ -58,6 +58,11 @@ a:hover { | ||||
|     text-indent: -2px; | ||||
| } | ||||
|  | ||||
| .post-content p { | ||||
|     text-indent: 2em; | ||||
|     margin-bottom: 5px; | ||||
| } | ||||
|  | ||||
| h1 .octicon, | ||||
| h2 .octicon, | ||||
| h3 .octicon, | ||||
| @@ -94,8 +99,8 @@ div.highlight:hover button { | ||||
| div.highlight button { | ||||
|     opacity: 0; | ||||
|     position: absolute; | ||||
|     top: 0.5rem; | ||||
|     right: 1rem; | ||||
|     top: 0.5em; | ||||
|     right: 1em; | ||||
|     height: 2em; | ||||
|     transition: all 0.2s ease-out | ||||
| } | ||||
|   | ||||
| @@ -48,7 +48,9 @@ $(function () { | ||||
|     $('section').each(function () { | ||||
|         highlightTextNodes(this); | ||||
|     }); | ||||
| }); | ||||
|  | ||||
| $(function () { | ||||
|     var codeBlocks = document.querySelectorAll('div.highlight'); | ||||
|  | ||||
|     codeBlocks.forEach(function (codeBlock) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user