Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 5 additions & 10 deletions src/style/_information.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
font-size: 12px;
}
}
pre
{
font-size: 14px;
}
p, li, table
{
font-size: 14px;
Expand All @@ -22,16 +26,6 @@
@include text_body();
}

code
{
padding: 3px 5px;

border-radius: 4px;
background: rgba($info-code-background-color,.05);

@include text_code($info-code-font-color);
}

a
{
font-size: 14px;
Expand Down Expand Up @@ -88,6 +82,7 @@
pre
{
margin: 0;
padding: 0;

@include text_headline($info-title-small-pre-font-color);
}
Expand Down
26 changes: 26 additions & 0 deletions src/style/_markdown.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
.markdown, .renderedMarkdown {
p, pre {
margin: 1em auto;
}
pre {
color: black;
font-weight: normal;
white-space: pre-wrap;
background: none;
padding: 0px;
}

code {
font-size: 14px;
padding: 5px 7px;

border-radius: 4px;
background: rgba($info-code-background-color,.05);

@include text_code($info-code-font-color);
}

pre > code {
display: block;
}
}
1 change: 1 addition & 0 deletions src/style/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@
@import 'errors';
@include text_body();
@import 'split-pane-mode';
@import 'markdown';
}