fixed ol-numbering (nested style)
This commit is contained in:
		
							parent
							
								
									5586771b0e
								
							
						
					
					
						commit
						ec255aec1c
					
				
					 1 changed files with 11 additions and 0 deletions
				
			
		|  | @ -1,3 +1,14 @@ | ||||||
| code { | code { | ||||||
| 	white-space: pre; | 	white-space: pre; | ||||||
| } | } | ||||||
|  | ol { | ||||||
|  | 	counter-reset: item; | ||||||
|  | 	padding-left: 1em; | ||||||
|  | } | ||||||
|  | ol li { | ||||||
|  | 	display: block; | ||||||
|  | } | ||||||
|  | ol li:before { | ||||||
|  | 	content: counters(item, ".") ". "; | ||||||
|  | 	counter-increment: item; | ||||||
|  | } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue