Skip to content

Instantly share code, notes, and snippets.

@ryan-blunden
Last active March 7, 2019 04:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryan-blunden/be704f11b504b4cfae69cae7382ed3c3 to your computer and use it in GitHub Desktop.
Save ryan-blunden/be704f11b504b4cfae69cae7382ed3c3 to your computer and use it in GitHub Desktop.
/**
* Placeholder for required styles to correctly render exported Mermaid SVG files from the online live editor
*/
/* Number in below styles is unique for each export */
#mermaid-1551921004212 .label {
font-family: 'trebuchet ms', verdana, arial;
color: #333;
font-size: 14px;
font-variant: tabular-nums;
line-height: 1.5;
}
/* For sub-graphs */
#mermaid-1551921004212 .cluster text {
fill: #333;
font-family: 'trebuchet ms', verdana, arial;
color: #333;
font-size: 14px;
font-variant: tabular-nums;
line-height: 1.5;
}
/**
* Connectors inside sub-graphs need overriding because they are by default, the background of the document.
* The value for nth-child depends on the diagram.
*/
#mermaid-1551921004212 .edgeLabel:nth-child(2) span {
background-color: #eaf2fb;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment