Skip to content

Commit 34b3a5a

Browse files
committed
Enforce grayscale rendering
1 parent cd0defc commit 34b3a5a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

stylesheet.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ html {
1717
color: var(--fg);
1818
font-family: var(--font-mono);
1919
scroll-behavior: smooth;
20+
-webkit-font-smoothing: antialiased;
21+
text-rendering: geometricPrecision;
2022
}
2123

2224
body {
@@ -57,6 +59,7 @@ pre {
5759
.site {
5860
min-height: 100vh;
5961
color: var(--fg);
62+
filter: grayscale(1);
6063
background:
6164
linear-gradient(90deg, rgba(242, 242, 242, 0.05) 1px, transparent 1px),
6265
linear-gradient(0deg, rgba(242, 242, 242, 0.04) 1px, transparent 1px),

0 commit comments

Comments
 (0)