mirror of https://gitlab.com/curben/blog
				
				
				
			fix(css): compatibility with hexojs/hexo-util#229
- https://github.com/hexojs/hexo-util/pull/229
This commit is contained in:
		
							parent
							
								
									9b3b9d569d
								
							
						
					
					
						commit
						75cc2a8dc9
					
				|  | @ -30,6 +30,22 @@ theme_config: | ||||||
|   icons: false |   icons: false | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
|  | ## Codeblock highlight | ||||||
|  | 
 | ||||||
|  | Following configurations need to be updated. | ||||||
|  | 
 | ||||||
|  | ``` yml | ||||||
|  | # _config.yml | ||||||
|  | highlight: | ||||||
|  |   enable: true | ||||||
|  |   line_number: false | ||||||
|  |   hljs: true | ||||||
|  |   wrap: false | ||||||
|  | 
 | ||||||
|  | prismjs: | ||||||
|  |   enable: false | ||||||
|  | ``` | ||||||
|  | 
 | ||||||
| ## Build | ## Build | ||||||
| 
 | 
 | ||||||
| Build "source/css/_source.css" into "source/css/chameleon.css" | Build "source/css/_source.css" into "source/css/chameleon.css" | ||||||
|  |  | ||||||
|  | @ -126,16 +126,20 @@ hr { | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| figcaption, | figcaption, | ||||||
| small { | small, | ||||||
|  | pre div { | ||||||
|   font-size: 0.9em; |   font-size: 0.9em; | ||||||
|   color: #888; |   color: #888; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| figcaption { | /* code caption */ | ||||||
|  | figcaption, | ||||||
|  | pre div { | ||||||
|   margin-bottom: 0.5em; |   margin-bottom: 0.5em; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| pre figcaption a { | pre figcaption a, | ||||||
|  | pre div a { | ||||||
|   float: right; |   float: right; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -571,16 +571,20 @@ hr { | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| figcaption, | figcaption, | ||||||
| small { | small, | ||||||
|  | pre div { | ||||||
|   font-size: 0.9em; |   font-size: 0.9em; | ||||||
|   color: #888; |   color: #888; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| figcaption { | /* code caption */ | ||||||
|  | figcaption, | ||||||
|  | pre div { | ||||||
|   margin-bottom: 0.5em; |   margin-bottom: 0.5em; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| pre figcaption a { | pre figcaption a, | ||||||
|  | pre div a { | ||||||
|   float: right; |   float: right; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue