Wave changes
This commit is contained in:
39
assets/styles/style.css
Executable file → Normal file
39
assets/styles/style.css
Executable file → Normal file
@@ -24,6 +24,7 @@
|
||||
--chip-fg: #444;
|
||||
--muted: #666;
|
||||
|
||||
--font-body: 'DM Sans', system-ui, sans-serif;
|
||||
--kb-bg-completed: #e6f4ea;
|
||||
--kb-bg-manager-review: #fff4e5;
|
||||
--kb-bg-in-progress: #e8f0fe;
|
||||
@@ -535,3 +536,41 @@ body.no-sidenotes {
|
||||
}
|
||||
}
|
||||
|
||||
/* Mermaid container for zooming and panning */
|
||||
.mermaid-container {
|
||||
overflow: auto; /* allow scrolling */
|
||||
width: 100%;
|
||||
max-height: 800px; /* adjust to your page */
|
||||
border: 1px solid #ccc; /* optional, visual boundary */
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/* Make SVG scale properly */
|
||||
.mermaid-container .mermaid svg {
|
||||
transform-origin: top left; /* needed for scaling */
|
||||
transition: transform 0.2s ease; /* smooth zoom */
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/* Zoom buttons */
|
||||
.mermaid-zoom-controls {
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
right: 5px;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.mermaid-zoom-controls button {
|
||||
padding: 5px 10px;
|
||||
margin-left: 5px;
|
||||
background: #007bff;
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.mermaid-zoom-controls button:hover {
|
||||
background: #0056b3;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user