Skip to content

Commit cb9f825

Browse files
committed
Refine math styles for LaTeX rendering
- Adjusted background color, padding, and border-radius for the .katex class to enhance the visual presentation of inline math formulas. - Improved styling consistency for better integration with overall design.
1 parent 11cfa9d commit cb9f825

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

styles/math-styles.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/* Custom styling for LaTeX math formulas */
22
.katex {
33
color: #60a5fa !important; /* Blue color for inline math */
4-
background: rgba(96, 165, 250, 0.08);
5-
padding: 2px 6px;
6-
border-radius: 6px;
4+
background: rgba(96, 165, 250, 0.05);
5+
padding: 3px 3px;
6+
border-radius: 3px;
77
border: 1px solid rgba(96, 165, 250, 0.2);
88
font-weight: 500;
99
}

0 commit comments

Comments
 (0)