forked from zaclys/searxng
		
	doc: improved HTML table layout (CSS)
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
		
							parent
							
								
									aea4667fbc
								
							
						
					
					
						commit
						5bdca1a5bf
					
				
					 1 changed files with 32 additions and 0 deletions
				
			
		
							
								
								
									
										32
									
								
								docs/_themes/searx/static/searx.css
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										32
									
								
								docs/_themes/searx/static/searx.css
									
										
									
									
										vendored
									
									
								
							|  | @ -89,3 +89,35 @@ div.rst-example { | ||||||
|     display: none; |     display: none; | ||||||
|   } |   } | ||||||
| } | } | ||||||
|  | 
 | ||||||
|  | /* Table theme | ||||||
|  | */ | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | thead, tfoot { | ||||||
|  |   background-color: #fff; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | th:hover, td:hover { | ||||||
|  |   background-color: #ffc; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | thead th, tfoot th, tfoot td, tbody th { | ||||||
|  |   background-color: #fffaef; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | tbody tr:nth-child(odd) { | ||||||
|  |   background-color: #fff; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | tbody tr:nth-child(even) { | ||||||
|  |   background-color: #fafafa; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | caption { | ||||||
|  |   font-family: Sans Serif; | ||||||
|  |   padding: 0.5em; | ||||||
|  |   margin: 0.5em 0 0.5em 0; | ||||||
|  |   caption-side: top; | ||||||
|  |   text-align: left; | ||||||
|  | } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Markus Heiser
						Markus Heiser