1
0
mirror of https://github.com/flarum/core.git synced 2025-07-31 05:30:38 +02:00

Final tweaks to inline code styling

Refs #814.
This commit is contained in:
Franz Liedke
2016-05-12 23:56:12 +09:00
parent 805f86b249
commit aca497e7be
2 changed files with 11 additions and 11 deletions

View File

@@ -116,30 +116,30 @@
border-bottom: 2px dotted @body-bg;
margin: 1em 0;
}
// Inline code
code {
font-family: source-code-pro, Monaco, Consolas, "Courier New", monospace;
padding: 2px 6px;
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 {
padding: 0;
background: none;
}
code {
padding: 0;
background: transparent;
background: none;
color: inherit;
line-height: inherit;
font-size: 100%;
border-radius: 0;
}