fix(style): dark mode for mermaid and valine
This commit is contained in:
@@ -250,31 +250,10 @@
|
||||
}
|
||||
|
||||
@import "../_partial/_single/code";
|
||||
@import "../_partial/_single/instagram";
|
||||
@import "../_partial/_single/admonition";
|
||||
|
||||
.echarts {
|
||||
width: 100%;
|
||||
height: 30rem;
|
||||
margin: 3% auto;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.bilibili {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 0;
|
||||
padding-bottom: 75%;
|
||||
margin: 3% auto;
|
||||
text-align: center;
|
||||
|
||||
iframe {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
left: 0;
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
@import "../_partial/_single/echarts";
|
||||
@import "../_partial/_single/bilibili";
|
||||
|
||||
hr {
|
||||
margin: 1rem 0;
|
||||
|
||||
16
assets/css/_partial/_single/_bilibili.scss
Normal file
16
assets/css/_partial/_single/_bilibili.scss
Normal file
@@ -0,0 +1,16 @@
|
||||
.bilibili {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 0;
|
||||
padding-bottom: 75%;
|
||||
margin: 3% auto;
|
||||
text-align: center;
|
||||
|
||||
iframe {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
left: 0;
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
6
assets/css/_partial/_single/_echarts.scss
Normal file
6
assets/css/_partial/_single/_echarts.scss
Normal file
@@ -0,0 +1,6 @@
|
||||
.echarts {
|
||||
width: 100%;
|
||||
height: 30rem;
|
||||
margin: 3% auto;
|
||||
text-align: center;
|
||||
}
|
||||
5
assets/css/_partial/_single/_instagram.scss
Normal file
5
assets/css/_partial/_single/_instagram.scss
Normal file
@@ -0,0 +1,5 @@
|
||||
iframe.instagram-media {
|
||||
.dark-theme & {
|
||||
border: none !important;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user