mirror of
				https://codeberg.org/claui/mobile-config-firefox.git
				synced 2025-11-04 12:35:55 +00:00 
			
		
		
		
	Add dark theme for homepage (MR 5)
Adds @media query to set dark theme for systems with dark theme preference
This commit is contained in:
		
							parent
							
								
									1a0bde9a5b
								
							
						
					
					
						commit
						f07fe00abd
					
				
					 1 changed files with 17 additions and 0 deletions
				
			
		| 
						 | 
					@ -52,6 +52,23 @@ a {
 | 
				
			||||||
	color: black;
 | 
						color: black;
 | 
				
			||||||
	padding: 0px;
 | 
						padding: 0px;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					@media (prefers-color-scheme: dark) {
 | 
				
			||||||
 | 
						body {
 | 
				
			||||||
 | 
							color: #f0f0f0;
 | 
				
			||||||
 | 
							background-color: #222;
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						a {
 | 
				
			||||||
 | 
							background: #111;
 | 
				
			||||||
 | 
							color: #0b0;
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						.text a {
 | 
				
			||||||
 | 
							color: white;
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						h1, h2 {
 | 
				
			||||||
 | 
							color: unset;
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
</style>
 | 
					</style>
 | 
				
			||||||
</head>
 | 
					</head>
 | 
				
			||||||
<body>
 | 
					<body>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue