Skip to content

Commit 534962f

Browse files
committed
Amend CSS from meeting discussion
1 parent 91afc15 commit 534962f

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

src/theme/reference.css

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,19 @@ main .warning p {
8686
margin: 20px 0;
8787
}
8888

89+
main .warning p::before {
90+
content: "⚠️ ";
91+
}
92+
8993
.light main .warning p,
9094
.rust main .warning p {
9195
border: 2px solid red;
92-
background: #f2dede;
96+
background: #ffcece;
97+
}
98+
99+
.rust main .warning p {
100+
/* overrides previous declaration */
101+
border-color: #961717;
93102
}
94103

95104
.coal main .warning p,
@@ -98,6 +107,9 @@ main .warning p {
98107
background: #542626
99108
}
100109

101-
main .warning p::before {
102-
content: "⚠️ ";
110+
/* Make the links higher contrast on dark themes */
111+
.coal main .warning p a,
112+
.navy main .warning p a,
113+
.ayu main .warning p a {
114+
color: #80d0d0
103115
}

0 commit comments

Comments
 (0)