1
0
mirror of https://github.com/flarum/core.git synced 2025-08-09 01:46:35 +02:00

Merge branch 'pr/936'

Closes #814.
This commit is contained in:
Franz Liedke
2016-05-12 23:56:47 +09:00
2 changed files with 23 additions and 2 deletions

View File

@@ -116,17 +116,32 @@
border-bottom: 2px dotted @body-bg;
margin: 1em 0;
}
// Inline code
code {
font-family: source-code-pro, Monaco, Consolas, "Courier New", monospace;
padding: 5px;
background: @code-bg;
color: @code-color;
line-height: 1.3;
font-size: 90%;
border-radius: 4px
}
// Code blocks
pre {
border: 0;
padding: 15px;
background: darken(@body-bg, 3%);
background: @code-bg;
color: #666;
font-size: 90%;
border-radius: @border-radius;
.hljs {
code {
padding: 0;
background: none;
color: inherit;
line-height: inherit;
font-size: 100%;
border-radius: 0;
}
}
h1 {