Re-arrange css, center header vertically
This commit is contained in:
		
					parent
					
						
							
								5f008af9da
							
						
					
				
			
			
				commit
				
					
						b9443bc9a1
					
				
			
		
					 1 changed files with 19 additions and 21 deletions
				
			
		
							
								
								
									
										40
									
								
								css/wah.css
									
										
									
									
									
								
							
							
						
						
									
										40
									
								
								css/wah.css
									
										
									
									
									
								
							|  | @ -25,7 +25,6 @@ body { | ||||||
|     font-family: serif; |     font-family: serif; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| /*noinspection CssUnknownTarget*/ |  | ||||||
| body::before { | body::before { | ||||||
|     content: ""; |     content: ""; | ||||||
|     position: fixed; |     position: fixed; | ||||||
|  | @ -86,8 +85,6 @@ div.page-container > div { | ||||||
|     padding: 10px; |     padding: 10px; | ||||||
|     border: var(--border); |     border: var(--border); | ||||||
|     margin-bottom: 20px; |     margin-bottom: 20px; | ||||||
|     /* temporary */ |  | ||||||
|     /* height: 600px; */ |  | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| div.page-container > div:last-child { | div.page-container > div:last-child { | ||||||
|  | @ -100,6 +97,7 @@ div#header { | ||||||
|     grid-template-rows: 1fr; |     grid-template-rows: 1fr; | ||||||
|     grid-column-gap: 15px; |     grid-column-gap: 15px; | ||||||
|     grid-row-gap: 0px; |     grid-row-gap: 0px; | ||||||
|  |     align-items: center; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| div#header img { | div#header img { | ||||||
|  | @ -141,24 +139,6 @@ div#footer div:last-child { | ||||||
|     text-align: right; |     text-align: right; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| /* -------------------------------------------------------------------------- */ |  | ||||||
| 
 |  | ||||||
| table.almanac td:nth-child(odd) { |  | ||||||
|     font-weight: bold; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| table.almanac td { |  | ||||||
|     padding: 0 10px; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| table.almanac td:nth-child(even) { |  | ||||||
|     padding: 0 15px; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| table.almanac { |  | ||||||
|     min-width: 100%; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| table.mx-datatable { | table.mx-datatable { | ||||||
|     width: 100%; |     width: 100%; | ||||||
|     border-collapse: collapse; |     border-collapse: collapse; | ||||||
|  | @ -181,6 +161,24 @@ table.mx-datatable tr td:nth-child(2) { | ||||||
|     padding-right: 40px; |     padding-right: 40px; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | /* --------------------------------- Now (/) -------------------------------- */ | ||||||
|  | 
 | ||||||
|  | table.almanac td:nth-child(odd) { | ||||||
|  |     font-weight: bold; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | table.almanac td { | ||||||
|  |     padding: 0 10px; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | table.almanac td:nth-child(even) { | ||||||
|  |     padding: 0 15px; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | table.almanac { | ||||||
|  |     min-width: 100%; | ||||||
|  | } | ||||||
|  | 
 | ||||||
| table.current-conditions tr td:nth-child(odd) { | table.current-conditions tr td:nth-child(odd) { | ||||||
|     font-weight: bold; |     font-weight: bold; | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 floppydiskette
				floppydiskette