mirror of
https://github.com/flarum/framework.git
synced 2025-02-08 06:41:00 +08:00
parent
805f86b249
commit
aca497e7be
|
@ -116,30 +116,30 @@
|
||||||
border-bottom: 2px dotted @body-bg;
|
border-bottom: 2px dotted @body-bg;
|
||||||
margin: 1em 0;
|
margin: 1em 0;
|
||||||
}
|
}
|
||||||
|
// Inline code
|
||||||
code {
|
code {
|
||||||
font-family: source-code-pro, Monaco, Consolas, "Courier New", monospace;
|
font-family: source-code-pro, Monaco, Consolas, "Courier New", monospace;
|
||||||
padding: 2px 6px;
|
padding: 5px;
|
||||||
background: @code-bg;
|
background: @code-bg;
|
||||||
color: @code-color;
|
color: @code-color;
|
||||||
|
line-height: 1.3;
|
||||||
font-size: 90%;
|
font-size: 90%;
|
||||||
border-radius: 4px
|
border-radius: 4px
|
||||||
}
|
}
|
||||||
|
// Code blocks
|
||||||
pre {
|
pre {
|
||||||
border: 0;
|
border: 0;
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
background: darken(@body-bg, 3%);
|
background: @code-bg;
|
||||||
color: #666;
|
color: #666;
|
||||||
font-size: 90%;
|
font-size: 90%;
|
||||||
border-radius: @border-radius;
|
border-radius: @border-radius;
|
||||||
|
|
||||||
.hljs {
|
|
||||||
padding: 0;
|
|
||||||
background: none;
|
|
||||||
}
|
|
||||||
code {
|
code {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
background: transparent;
|
background: none;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
|
line-height: inherit;
|
||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,8 +38,8 @@
|
||||||
|
|
||||||
@overlay-bg: fade(@secondary-color, 90%);
|
@overlay-bg: fade(@secondary-color, 90%);
|
||||||
|
|
||||||
@code-bg: #F2F7F9;
|
@code-bg: darken(@body-bg, 3%);
|
||||||
@code-color: #60646D;
|
@code-color: lighten(@text-color, 30%);
|
||||||
}
|
}
|
||||||
.define-colors(true) {
|
.define-colors(true) {
|
||||||
@primary-color: @config-primary-color;
|
@primary-color: @config-primary-color;
|
||||||
|
@ -60,8 +60,8 @@
|
||||||
|
|
||||||
@overlay-bg: fade(darken(@body-bg, 5%), 90%);
|
@overlay-bg: fade(darken(@body-bg, 5%), 90%);
|
||||||
|
|
||||||
@code-bg: darken(#F2F7F9, 90%);
|
@code-bg: darken(@body-bg, 3%);
|
||||||
@code-color: lighten(#60646D, 90%);
|
@code-color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
@hero-bg: @control-bg;
|
@hero-bg: @control-bg;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user