Browse Source

fix: print readable code blocks

pull/1080/head
Nick 5 years ago
parent
commit
ccc6a776fc
1 changed files with 18 additions and 7 deletions
  1. 25
      client/themes/default/scss/app.scss

25
client/themes/default/scss/app.scss

@ -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-size: 1rem !important;
box-shadow: none !important;
font-weight: normal;
font-size: 1rem;
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;
}
}
}
} }
Loading…
Cancel
Save