refactoring of app sass file

This commit is contained in:
Simon Vieille 2022-04-21 11:40:17 +02:00
parent bb6c39fe62
commit 18c7c60345
Signed by: deblan
GPG Key ID: 579388D585F70417
1 changed files with 20 additions and 22 deletions

View File

@ -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;