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;
}
/* --- override magnific-popup --- */
/* --- Overriding --- */
// magnific-popup
figure .mfp-title {
text-align: center;
padding-right: 0;
margin-top: 0.5rem;
}
// mermaid
.mermaid {
text-align: center;
}
/* --- sidebar layout --- */
$tab-count: 5 !default;