Update main.scss to fix footnote counting issue
This commit is contained in:
		
							parent
							
								
									9726b8d806
								
							
						
					
					
						commit
						0085fc68b9
					
				| @ -262,12 +262,13 @@ ol { | |||||||
| ol { | ol { | ||||||
|   list-style: none; |   list-style: none; | ||||||
|   counter-reset: li; |   counter-reset: li; | ||||||
|  | } | ||||||
| 
 | 
 | ||||||
|   li { | ol > li { | ||||||
|   counter-increment: li; |   counter-increment: li; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|   li:before { | ol > li:before { | ||||||
|   content: counter(li); |   content: counter(li); | ||||||
|   position: absolute; |   position: absolute; | ||||||
|   right: calc(100% + 10px); |   right: calc(100% + 10px); | ||||||
| @ -276,18 +277,17 @@ ol { | |||||||
|   text-align: right; |   text-align: right; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|   ol { | ol > ol { | ||||||
|   margin-left: 38px; |   margin-left: 38px; | ||||||
|  | } | ||||||
| 
 | 
 | ||||||
|     li { | ol > ol > li { | ||||||
|   counter-increment: li; |   counter-increment: li; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|     li:before { | ol > ol > li:before { | ||||||
|   content: counters(li, ".") " "; |   content: counters(li, ".") " "; | ||||||
| } | } | ||||||
|   } |  | ||||||
| } |  | ||||||
| 
 | 
 | ||||||
| mark { | mark { | ||||||
|   background: $accent; |   background: $accent; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user