feat(mermaid): improve mermaid style and render

This commit is contained in:
Dillon ZENG
2019-11-24 01:10:17 +08:00
parent b20fe1bb4f
commit 2578aba9ca
14 changed files with 53 additions and 332 deletions

View File

@@ -344,6 +344,10 @@
@import "../_partial/_post/admonition";
.mermaid {
width: 100%;
margin: 3% auto;
text-align: center;
@import "../_mermaid/neutral/index";
.dark-theme & {
@@ -364,6 +368,7 @@
height: 0;
padding-bottom: 75%;
margin: 3% auto;
text-align: center;
iframe {
position: absolute;