mirror of
				https://github.com/Wonderfall/hugo-WonderMod.git
				synced 2025-10-31 19:55:24 +01:00 
			
		
		
		
	Add highlighting of code snippets with numbered lines enabled.
This commit is contained in:
		| @@ -488,3 +488,26 @@ pre, code { | ||||
|     display: none; | ||||
|   } | ||||
| } | ||||
|  | ||||
| /* Highlight | ||||
| ------------------------------ */ | ||||
| .post-content pre code { | ||||
|   display: block; | ||||
| } | ||||
| .post-content table code { | ||||
|   padding-top: 0; | ||||
|   padding-bottom: 0; | ||||
| } | ||||
| .post-content pre { | ||||
|   margin: 30px 0px; | ||||
|   border-radius: 6px; | ||||
| } | ||||
| .post-content table pre { | ||||
|   margin: 20px 0px; | ||||
| } | ||||
| .highlight table { | ||||
|   margin: 30px 0 !important;  | ||||
| } | ||||
| .highlight div { | ||||
|   border-radius: 6px; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Bartosz izdwuut Konikiewicz
					Bartosz izdwuut Konikiewicz