mirror of
https://github.com/modrinth/code.git
synced 2026-09-02 04:56:52 +00:00
mermaid and I tried to theme it
This commit is contained in:
@@ -953,6 +953,18 @@ a:not(.no-click-animation),
|
||||
}
|
||||
}
|
||||
|
||||
.mermaid {
|
||||
@apply bg-surface-2 rounded-xl p-4 border border-solid border-surface-5;
|
||||
margin-top: 1rem;
|
||||
overflow-x: auto;
|
||||
|
||||
svg {
|
||||
width: 100%;
|
||||
max-width: 32rem;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
|
||||
code {
|
||||
@apply bg-surface-3 rounded-md p-4 border border-solid border-surface-5;
|
||||
padding: 0.2em 0.4em;
|
||||
|
||||
Reference in New Issue
Block a user