mirror of
https://github.com/flarum/framework.git
synced 2025-01-20 03:42:44 +08:00
commit
696f562b0e
|
@ -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 {
|
||||
|
|
|
@ -37,6 +37,9 @@
|
|||
@control-danger-color: #d66;
|
||||
|
||||
@overlay-bg: fade(@secondary-color, 90%);
|
||||
|
||||
@code-bg: darken(@body-bg, 3%);
|
||||
@code-color: lighten(@text-color, 30%);
|
||||
}
|
||||
.define-colors(true) {
|
||||
@primary-color: @config-primary-color;
|
||||
|
@ -56,6 +59,9 @@
|
|||
@control-danger-color: #a88;
|
||||
|
||||
@overlay-bg: fade(darken(@body-bg, 5%), 90%);
|
||||
|
||||
@code-bg: darken(@body-bg, 3%);
|
||||
@code-color: #fff;
|
||||
}
|
||||
|
||||
@hero-bg: @control-bg;
|
||||
|
|
Loading…
Reference in New Issue
Block a user