Skip to content

Commit 88a2bc6

Browse files
authored
Fix issue #271: "BOM" looking ugly on light mode
Change the background-color to different color.
1 parent 2ec61fb commit 88a2bc6

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

website/public/errors/index.ejs.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,17 @@
4949

5050
.unicode-bom:before {
5151
content: "BOM";
52+
background-color: #edbf66;
5253
border: 1px solid red;
53-
background-color: #884444;
5454
border-radius: 5px;
5555
padding: 1px 3px;
5656
}
57+
58+
@media (prefers-color-scheme: dark) {
59+
.unicode-bom:before {
60+
background-color: #884444;
61+
}
62+
}
5763
</style>
5864
</head>
5965

0 commit comments

Comments
 (0)