fix: typeit shortcode and stype
This commit is contained in:
@@ -305,16 +305,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
.typeit {
|
||||
.code {
|
||||
padding: .375rem;
|
||||
font-size: .875rem;
|
||||
font-family: $code-font-family;
|
||||
font-weight: bold;
|
||||
word-break: break-all;
|
||||
}
|
||||
}
|
||||
|
||||
.version {
|
||||
height: 1.25em;
|
||||
vertical-align: text-bottom;
|
||||
@@ -325,6 +315,28 @@
|
||||
@import "../_partial/_single/comment";
|
||||
}
|
||||
|
||||
.typeit {
|
||||
.highlight {
|
||||
padding: .375rem;
|
||||
font-size: .875rem;
|
||||
font-family: $code-font-family;
|
||||
font-weight: bold;
|
||||
word-break: break-all;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
--ti-cursor-font-family: $global-font-family;
|
||||
--ti-cursor-font-size: $global-font-size;
|
||||
--ti-cursor-font-weight: $global-font-weight;
|
||||
--ti-cursor-line-height: $global-line-height;
|
||||
--ti-cursor-color: $global-font-secondary-color;
|
||||
--ti-cursor-margin-left: 0;
|
||||
|
||||
[theme=dark] & {
|
||||
--ti-cursor-color: $global-font-secondary-color-dark;
|
||||
}
|
||||
}
|
||||
|
||||
.lg-toolbar .lg-icon::after {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user