mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-31 11:02:37 +00:00 
			
		
		
		
	docs: properly theme searchbar on prefers-dark
This commit is contained in:
		
					parent
					
						
							
								37dc96575d
							
						
					
				
			
			
				commit
				
					
						0a3855cdc2
					
				
			
		
					 1 changed files with 6 additions and 0 deletions
				
			
		
							
								
								
									
										6
									
								
								docs/static/style.scss
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								docs/static/style.scss
									
										
									
									
										vendored
									
									
								
							|  | @ -240,13 +240,19 @@ li { | ||||||
| 	padding: 10px; | 	padding: 10px; | ||||||
| 	border-bottom: 1px solid #ccc; | 	border-bottom: 1px solid #ccc; | ||||||
| 	z-index: 1000; | 	z-index: 1000; | ||||||
|  | 	@media (prefers-color-scheme: dark) { | ||||||
|  | 		background: $color-gray-900; | ||||||
|  | 		color: $color-gray-50; | ||||||
|  | 	} | ||||||
| } | } | ||||||
|  | 
 | ||||||
| #search-input { | #search-input { | ||||||
| 	width: 100%; | 	width: 100%; | ||||||
| 	padding: 8px; | 	padding: 8px; | ||||||
| 	border: 1px solid #ccc; | 	border: 1px solid #ccc; | ||||||
| 	border-radius: 4px; | 	border-radius: 4px; | ||||||
| } | } | ||||||
|  | 
 | ||||||
| .hidden { | .hidden { | ||||||
| 	display: none; | 	display: none; | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue