Set colours for active sidebar elements
This commit is contained in:
		
							
								
								
									
										10
									
								
								docs/_static/style.css
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								docs/_static/style.css
									
									
									
									
										vendored
									
									
								
							| @@ -70,7 +70,7 @@ Historically however, thanks to: | |||||||
|   --table-header-background: #f5f5f5; |   --table-header-background: #f5f5f5; | ||||||
|   --table-text: #000; |   --table-text: #000; | ||||||
|   --table-border: #ddd; |   --table-border: #ddd; | ||||||
|   --mobile-active-toc: ; |   --mobile-active-toc: #212121; | ||||||
|   --active-toc: #dbdbdb; |   --active-toc: #dbdbdb; | ||||||
|   --scrollbar: rgba(0,0,0,0.2); |   --scrollbar: rgba(0,0,0,0.2); | ||||||
|   --scrollbar-hover: rgba(0,0,0,0.4); |   --scrollbar-hover: rgba(0,0,0,0.4); | ||||||
| @@ -120,8 +120,8 @@ Historically however, thanks to: | |||||||
|   --table-header-background: #f5f5f5; |   --table-header-background: #f5f5f5; | ||||||
|   --table-text: #000; |   --table-text: #000; | ||||||
|   --table-border: #ddd; |   --table-border: #ddd; | ||||||
|   --mobile-active-toc: ; |   --mobile-active-toc: #212121; | ||||||
|   --active-toc: #dbdbdb; |   --active-toc: #212121; | ||||||
|   --scrollbar: rgba(0,0,0,0.5); |   --scrollbar: rgba(0,0,0,0.5); | ||||||
|   --scrollbar-hover: rgba(0,0,0,0.7); |   --scrollbar-hover: rgba(0,0,0,0.7); | ||||||
| } | } | ||||||
| @@ -912,7 +912,9 @@ div.code-block-caption { | |||||||
|   } |   } | ||||||
|  |  | ||||||
|   .active { |   .active { | ||||||
|     color: var(--active-toc); |     background-color: var(--active-toc); | ||||||
|  |     border-left: none; | ||||||
|  |     position: relative; | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   #sidebar a:hover { |   #sidebar a:hover { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user