Altered selectors, ids and class names to fit plugin I currently use in Obsidian

This commit is contained in:
2025-11-23 10:45:23 -05:00
parent e5247695f5
commit 8bb86cdae7

View File

@@ -35,7 +35,7 @@ pre {
} }
} }
#mermaid-container { #mehrmaid-container {
position: fixed; position: fixed;
contain: layout; contain: layout;
z-index: 999; z-index: 999;
@@ -52,7 +52,7 @@ pre {
display: inline-block; display: inline-block;
} }
& > #mermaid-space { & > #mehrmaid-space {
border: 1px solid var(--lightgray); border: 1px solid var(--lightgray);
background-color: var(--light); background-color: var(--light);
border-radius: 5px; border-radius: 5px;
@@ -64,7 +64,7 @@ pre {
width: 80vw; width: 80vw;
overflow: hidden; overflow: hidden;
& > .mermaid-content { & > .mehrmaid-content {
padding: 2rem; padding: 2rem;
position: relative; position: relative;
transform-origin: 0 0; transform-origin: 0 0;
@@ -84,7 +84,7 @@ pre {
} }
} }
& > .mermaid-controls { & > .mehrmaid-controls {
position: absolute; position: absolute;
bottom: 20px; bottom: 20px;
right: 20px; right: 20px;
@@ -97,7 +97,7 @@ pre {
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
z-index: 2; z-index: 2;
.mermaid-control-button { .mehrmaid-control-button {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;