refactoring of app sass file
This commit is contained in:
parent
bb6c39fe62
commit
18c7c60345
|
@ -342,6 +342,26 @@ pre[class*="language-"] {
|
|||
code {
|
||||
color: $code-color;
|
||||
}
|
||||
|
||||
pre {
|
||||
@include make-pre;
|
||||
|
||||
code {
|
||||
@include make-pre-code;
|
||||
}
|
||||
|
||||
&.with-title {
|
||||
margin-top: 0;
|
||||
border-top-right-radius: 0;
|
||||
border-top-left-radius: 0;
|
||||
}
|
||||
|
||||
&[class*="language-"] {
|
||||
padding-bottom: 10px;
|
||||
padding-top: 10px;
|
||||
border: 1px solid #3c3c3c;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.content hr, .content .hr {
|
||||
|
@ -455,28 +475,6 @@ pre[class*="language-"] {
|
|||
}
|
||||
}
|
||||
|
||||
.body {
|
||||
pre {
|
||||
@include make-pre;
|
||||
|
||||
code {
|
||||
@include make-pre-code;
|
||||
}
|
||||
|
||||
&.with-title {
|
||||
margin-top: 0;
|
||||
border-top-right-radius: 0;
|
||||
border-top-left-radius: 0;
|
||||
}
|
||||
|
||||
&[class*="language-"] {
|
||||
padding-bottom: 10px;
|
||||
padding-top: 10px;
|
||||
border: 1px solid #3c3c3c;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.code-title {
|
||||
background: $color-code-title-background;
|
||||
padding: 10px 15px;
|
||||
|
|
Loading…
Reference in New Issue