Skip to content

Commit 734841a

Browse files
committed
CSS Fix
1 parent ba1534e commit 734841a

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

_static/custom.css

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,20 @@ code {
5858
color: var(--medium-purple); /* Muted orange */
5959
}
6060

61-
/* Blockquotes: Orange background, white border-left, and teal text inside */
61+
/* Base styles (Light Mode) */
6262
blockquote {
63-
background-color: var(--medium-purple); /* Bright orange background */
64-
border-left: 4px solid #f0ece2; /* Off-white border on the left */
65-
padding: 1rem; /* Padding for readability */
66-
color: #f0ece2; /* Off-white text */
63+
background-color: var(--lighter-purple);
64+
border-left: 4px solid #f0ece2;
65+
padding: 1rem;
66+
color: #f0ece2;
67+
}
68+
69+
/* Override for Dark Mode */
70+
html[data-theme="dark"] blockquote {
71+
background-color: var(--medium-purple);
6772
}
6873

74+
6975
blockquote p {
7076
color: #282A36 !important; /* Teal text for paragraphs inside blockquote */
7177
}

0 commit comments

Comments
 (0)