diff --git a/static/style.css b/static/style.css index 37a250f..048b3c1 100644 --- a/static/style.css +++ b/static/style.css @@ -1,5 +1,27 @@ /* Custom styles for XP.css integration */ +/* Fix blurry text rendering - use native subpixel rendering */ +button, +input, +select, +textarea, +label { + -webkit-font-smoothing: subpixel-antialiased; + -moz-osx-font-smoothing: auto; + font-smooth: never; + -webkit-font-feature-settings: "liga" 0; + font-feature-settings: "liga" 0; +} + +/* Ensure buttons don't have filters or transforms that cause blur */ +button { + filter: none !important; + will-change: auto; + image-rendering: crisp-edges; + image-rendering: -moz-crisp-edges; + image-rendering: -webkit-optimize-contrast; +} + body { background: teal; padding: 0;