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;
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@ lg-thumbnail.js@1.2.0 https://github.com/sachinchoolur/lg-thumbnail.js
|
||||
lg-zoom.js@1.2.0 https://github.com/sachinchoolur/lg-zoom.js
|
||||
clipboard.js@2.0.11 https://github.com/zenorocha/clipboard.js
|
||||
sharer.js@0.4.0 https://github.com/ellisonleao/sharer.js
|
||||
typeit@7.0.4 https://github.com/alexmacarthur/typeit
|
||||
typeit@8.5.4 https://github.com/alexmacarthur/typeit
|
||||
katex@0.15.3 https://katex.org/
|
||||
mermaid@9.0.1 https://github.com/mermaid-js/mermaid
|
||||
echarts@5.3.2 https://echarts.apache.org/
|
||||
|
||||
Reference in New Issue
Block a user