add dark mode
This commit is contained in:
		
							parent
							
								
									c50a20d429
								
							
						
					
					
						commit
						422de7b6de
					
				
					 1 changed files with 19 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -132,3 +132,22 @@ main footer {
 | 
			
		|||
    text-align: center;
 | 
			
		||||
    padding: 2em;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@media (prefers-color-scheme: dark) {
 | 
			
		||||
    body {
 | 
			
		||||
        background: #141414;
 | 
			
		||||
        color: #e3e3e3;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    a {
 | 
			
		||||
        color: aqua;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    a:visited {
 | 
			
		||||
        color: mediumpurple;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    nav h1 a {
 | 
			
		||||
        color: white;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		
		Reference in a new issue