Style: Make the main header/navigation bar sticky
Co-authored-by: c6ristian <c6ristian@christian.moe>
This commit is contained in:
		
					parent
					
						
							
								690c7e2a90
							
						
					
				
			
			
				commit
				
					
						90c1595f7d
					
				
			
		
					 2 changed files with 12 additions and 2 deletions
				
			
		|  | @ -232,6 +232,14 @@ body>main { | |||
|   } | ||||
| } | ||||
| 
 | ||||
| .main-header { | ||||
|   position: sticky; | ||||
|   top: 0; | ||||
|   background-color: var(--background-color); | ||||
|   border-bottom: 3px solid var(--muted-border-color); | ||||
|   box-shadow: var(--card-box-shadow); | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| // Blog Overview: Categories list | ||||
|  | @ -245,4 +253,4 @@ div.nav-aside { | |||
|       display: inline; | ||||
|     } | ||||
|   } | ||||
| } | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue