Skip to content

Commit

Permalink
Style mermaid tooltips (#639)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanv authored Sep 3, 2024
1 parent 988bcb9 commit b3892d9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions assets/theme-css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,18 @@ a.headerlink {
margin-top: -0.5rem;
}

.mermaidTooltip {
position: absolute;
text-align: center;
max-width: 200px;
padding: 2px;
font-size: 80%;
background: var(--pst-color-on-background);
border: 1px solid var(--pst-color-border);
pointer-events: none;
z-index: 100;
}

/* Local Variables: */
/* css-indent-offset: 2 */
/* End: */

0 comments on commit b3892d9

Please sign in to comment.