summaryrefslogtreecommitdiff
path: root/themes/CodeIT/assets/lib/mermaid/mermaid.scss
diff options
context:
space:
mode:
Diffstat (limited to 'themes/CodeIT/assets/lib/mermaid/mermaid.scss')
-rw-r--r--themes/CodeIT/assets/lib/mermaid/mermaid.scss19
1 files changed, 19 insertions, 0 deletions
diff --git a/themes/CodeIT/assets/lib/mermaid/mermaid.scss b/themes/CodeIT/assets/lib/mermaid/mermaid.scss
new file mode 100644
index 0000000..000eca8
--- /dev/null
+++ b/themes/CodeIT/assets/lib/mermaid/mermaid.scss
@@ -0,0 +1,19 @@
+.page .mermaid {
+ width: 100%;
+ margin: 3% auto;
+ text-align: center;
+
+ & > svg {
+ max-width: 100%;
+ }
+
+ @import "themes/neutral/index";
+
+ [theme="dark"] & {
+ @import "themes/dark/index";
+ }
+
+ div.mermaidTooltip {
+ z-index: 50;
+ }
+}