Updated code highlight styles
This commit is contained in:
parent
6918eac3ad
commit
8b898b9dc6
2
assets/js/bundle.min.js
vendored
2
assets/js/bundle.min.js
vendored
File diff suppressed because one or more lines are too long
@ -28,7 +28,7 @@ $primary: 'indigo';
|
|||||||
|
|
||||||
@import 'libs/twemoji-awesome';
|
@import 'libs/twemoji-awesome';
|
||||||
@import 'libs/jquery-contextmenu';
|
@import 'libs/jquery-contextmenu';
|
||||||
@import 'node_modules/highlight.js/styles/tomorrow';
|
@import 'node_modules/highlight.js/styles/atom-one-dark';
|
||||||
@import 'node_modules/simplemde/dist/simplemde.min';
|
@import 'node_modules/simplemde/dist/simplemde.min';
|
||||||
|
|
||||||
@import 'components/_editor';
|
@import 'components/_editor';
|
||||||
|
@ -238,20 +238,22 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
background-color: mc('grey', '50');
|
background-color: mc('blue-grey', '900');
|
||||||
border-top: 1px solid mc('grey', '100');
|
border-left: 7px solid mc('indigo', '500');
|
||||||
box-shadow: inset 0 0 5px 0 rgba(mc('grey', '500'), 0.3);
|
border-top-left-radius: 5px;
|
||||||
padding: 20px;
|
border-bottom-left-radius: 5px;
|
||||||
|
padding: 20px 20px 20px 13px;
|
||||||
font-family: $core-font-monospace;
|
font-family: $core-font-monospace;
|
||||||
white-space: pre;
|
white-space: pre;
|
||||||
|
|
||||||
> code {
|
> code {
|
||||||
box-shadow: inset 0 0 5px 0 mc('grey', '100');
|
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
background-color: none;
|
background-color: transparent;
|
||||||
color: mc('grey', '700');
|
color: mc('blue-grey', '100');
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
font-family: $core-font-monospace;
|
||||||
|
font-size: 13px;
|
||||||
}
|
}
|
||||||
|
|
||||||
& + p {
|
& + p {
|
||||||
|
Loading…
Reference in New Issue
Block a user