|
|
@@ -146,6 +146,10 @@
|
|
|
pre:not(.chroma) {
|
|
|
position: relative;
|
|
|
margin: 1rem 0;
|
|
|
+
|
|
|
+ @include themify($codeblock) {
|
|
|
+ border-left: 4px solid themed('content-pre-border-background-color');
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
div.chroma {
|
|
|
@@ -169,13 +173,14 @@
|
|
|
margin: 0 1.75rem 1.75rem 1.5rem;
|
|
|
padding: 0 0 0 1.42188rem;
|
|
|
font-size: 1.05rem;
|
|
|
+ font-style: italic;
|
|
|
line-height: 1.75;
|
|
|
color: inherit;
|
|
|
opacity: 0.8;
|
|
|
position: relative;
|
|
|
|
|
|
@include themify($themes) {
|
|
|
- border-left: 0.32813rem solid themed("single-blockquote-border-color");
|
|
|
+ border-left: 5px solid themed("single-blockquote-border-color");
|
|
|
}
|
|
|
|
|
|
code:not([class^=language]) {
|
|
|
@@ -209,10 +214,15 @@
|
|
|
ul {
|
|
|
margin-right: 0;
|
|
|
margin-top: 0;
|
|
|
+ margin-bottom: 1rem;
|
|
|
padding: 0;
|
|
|
list-style: disc outside none;
|
|
|
}
|
|
|
|
|
|
+ ol {
|
|
|
+ margin-bottom: 1rem;
|
|
|
+ }
|
|
|
+
|
|
|
li {
|
|
|
margin-left: 2rem;
|
|
|
|
|
|
@@ -416,7 +426,7 @@ pre:not(.chroma) {
|
|
|
|
|
|
&::after {
|
|
|
position: absolute;
|
|
|
- top: 0;
|
|
|
+ top: 2px;
|
|
|
right: 0;
|
|
|
z-index: z('clipboard');
|
|
|
padding: 0.125rem 0.25rem;
|
|
|
@@ -428,13 +438,15 @@ pre:not(.chroma) {
|
|
|
display: inline-block;
|
|
|
text-transform: capitalize;
|
|
|
border-top-left-radius: 0.2rem;
|
|
|
- border-top-right-radius: 0.2rem;
|
|
|
content: attr(data-lang);
|
|
|
|
|
|
@include themify($themes) {
|
|
|
- border: 1px solid themed('hr-color');
|
|
|
- border-bottom: none;
|
|
|
- background-color: themed('body-background-color');
|
|
|
+ border-top: 1px solid themed('hr-color');
|
|
|
+ border-left: 1px solid themed('hr-color');
|
|
|
+ }
|
|
|
+
|
|
|
+ @include themify($codeblock) {
|
|
|
+ background: themed('content-pre-header-background-color');
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
@@ -468,10 +480,17 @@ pre:not(.chroma) {
|
|
|
|
|
|
table.lntable {
|
|
|
overflow-x: auto;
|
|
|
+
|
|
|
@include themify($themes) {
|
|
|
@include webkit-scrollbars(themed('custom-scrollbar-foreground-color'), themed('custom-scrollbar-background-color'));
|
|
|
@include moz-scrollbars(themed('custom-scrollbar-foreground-color'), themed('custom-scrollbar-background-color'));
|
|
|
}
|
|
|
+
|
|
|
+ @include themify($codeblock) {
|
|
|
+ td:first-child {
|
|
|
+ border-left: 4px solid themed('content-pre-border-background-color');
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|