Center the mermaid SVG

This commit is contained in:
Cotes Chung 2021-04-21 23:18:51 +08:00
parent 84bb4d0c4b
commit a4dc39f70e

View file

@ -574,14 +574,20 @@ footer {
transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out; transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
} }
/* --- override magnific-popup --- */ /* --- Overriding --- */
// magnific-popup
figure .mfp-title { figure .mfp-title {
text-align: center; text-align: center;
padding-right: 0; padding-right: 0;
margin-top: 0.5rem; margin-top: 0.5rem;
} }
// mermaid
.mermaid {
text-align: center;
}
/* --- sidebar layout --- */ /* --- sidebar layout --- */
$tab-count: 5 !default; $tab-count: 5 !default;