mirror of
				https://github.com/valentineus/popov.link.git
				synced 2025-11-04 06:49:45 +03:00 
			
		
		
		
	Improved printing styles: adding backgrounds and text colors, customizing tables and links
This commit is contained in:
		@@ -1,5 +1,7 @@
 | 
				
			|||||||
@media print {
 | 
					@media print {
 | 
				
			||||||
	body {
 | 
						body {
 | 
				
			||||||
 | 
							background: #fff;
 | 
				
			||||||
 | 
							color: #000;
 | 
				
			||||||
		padding: 0;
 | 
							padding: 0;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -18,4 +20,25 @@
 | 
				
			|||||||
	img {
 | 
						img {
 | 
				
			||||||
		max-width: 500px;
 | 
							max-width: 500px;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						* {
 | 
				
			||||||
 | 
							background: none;
 | 
				
			||||||
 | 
							border-color: #000;
 | 
				
			||||||
 | 
							color: #000;
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						a {
 | 
				
			||||||
 | 
							color: #000;
 | 
				
			||||||
 | 
							text-decoration: underline;
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						table {
 | 
				
			||||||
 | 
							border: 1px solid #000;
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						th,
 | 
				
			||||||
 | 
						td {
 | 
				
			||||||
 | 
							background: none;
 | 
				
			||||||
 | 
							border: 1px solid #000;
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user