feat: print-optimized css
This commit is contained in:
		| @@ -38,3 +38,5 @@ $primary: 'indigo'; | |||||||
| @import 'layout/_loader'; | @import 'layout/_loader'; | ||||||
|  |  | ||||||
| @import 'pages/_welcome'; | @import 'pages/_welcome'; | ||||||
|  |  | ||||||
|  | @import 'base/print'; | ||||||
|   | |||||||
							
								
								
									
										40
									
								
								client/scss/base/print.scss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										40
									
								
								client/scss/base/print.scss
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,40 @@ | |||||||
|  | @media print { | ||||||
|  |   #header-container, | ||||||
|  |   #alerts, | ||||||
|  |   .sidebar, | ||||||
|  |   .footer { | ||||||
|  |     display: none; | ||||||
|  |   } | ||||||
|  |  | ||||||
|  |   #root { | ||||||
|  |     padding-top: 0; | ||||||
|  |     padding-bottom: 0; | ||||||
|  |   } | ||||||
|  |  | ||||||
|  |   body, main, .hero { | ||||||
|  |     background: #FFF; | ||||||
|  |     border: none; | ||||||
|  |   } | ||||||
|  |  | ||||||
|  |   .mkcontent { | ||||||
|  |     color: mc('grey', '900'); | ||||||
|  |  | ||||||
|  |     h1, h2, h3 { | ||||||
|  |       background: #FFF; | ||||||
|  |     } | ||||||
|  |     .toc-anchor { | ||||||
|  |       display: none; | ||||||
|  |     } | ||||||
|  |     pre { | ||||||
|  |       background-color: #FFF; | ||||||
|  |       border-left: none; | ||||||
|  |       padding-left: 20px; | ||||||
|  |  | ||||||
|  |       > code { | ||||||
|  |         color: mc('grey', '800'); | ||||||
|  |       } | ||||||
|  |     } | ||||||
|  |   } | ||||||
|  |  | ||||||
|  |   @import 'node_modules/highlight.js/styles/atom-one-light'; | ||||||
|  | } | ||||||
		Reference in New Issue
	
	Block a user