fix: print readable code blocks
This commit is contained in:
		@@ -1,6 +1,6 @@
 | 
				
			|||||||
/* THEME SPECIFIC STYLES */
 | 
					/* THEME SPECIFIC STYLES */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.contents {
 | 
					.v-application .contents {
 | 
				
			||||||
  color: mc('grey', '800');
 | 
					  color: mc('grey', '800');
 | 
				
			||||||
  padding: .5rem 0 50px;
 | 
					  padding: .5rem 0 50px;
 | 
				
			||||||
  position: relative;
 | 
					  position: relative;
 | 
				
			||||||
@@ -452,19 +452,19 @@
 | 
				
			|||||||
  // ---------------------------------
 | 
					  // ---------------------------------
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  code {
 | 
					  code {
 | 
				
			||||||
    background-color: mc('indigo', '50') !important;
 | 
					    background-color: mc('indigo', '50');
 | 
				
			||||||
    padding: 0 5px;
 | 
					    padding: 0 5px;
 | 
				
			||||||
    color: mc('indigo', '800') !important;
 | 
					    color: mc('indigo', '800');
 | 
				
			||||||
    font-family: 'Roboto Mono', monospace;
 | 
					    font-family: 'Roboto Mono', monospace;
 | 
				
			||||||
    font-weight: normal !important;
 | 
					    font-weight: normal;
 | 
				
			||||||
    font-size: 1rem !important;
 | 
					    font-size: 1rem;
 | 
				
			||||||
    box-shadow: none !important;
 | 
					    box-shadow: none;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    &::before, &::after {
 | 
					    &::before, &::after {
 | 
				
			||||||
      display: none;
 | 
					      display: none;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @at-root .theme--dark & {
 | 
					    @at-root .v-application.theme--dark .contents code {
 | 
				
			||||||
      background-color: darken(mc('grey', '900'), 5%);
 | 
					      background-color: darken(mc('grey', '900'), 5%);
 | 
				
			||||||
      color: mc('indigo', '100');
 | 
					      color: mc('indigo', '100');
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
@@ -720,5 +720,16 @@
 | 
				
			|||||||
    font-size: 14px;
 | 
					    font-size: 14px;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  .v-application .contents {
 | 
				
			||||||
 | 
					    .prismjs{
 | 
				
			||||||
 | 
					      box-shadow: none;
 | 
				
			||||||
 | 
					      background-color: #FFF;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      > code {
 | 
				
			||||||
 | 
					        color: #000;
 | 
				
			||||||
 | 
					        box-shadow: none;
 | 
				
			||||||
 | 
					        text-shadow: none;
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user