From 437675b9aaa7e817b2e2c8fe66ae0971d67ed2fa Mon Sep 17 00:00:00 2001 From: Eliseu Amaro Date: Mon, 25 Jul 2022 17:21:00 +0100 Subject: [PATCH] [RESET] Removed text shadow, added optimizeLegibility --- assets/css/blog.css | 2 +- assets/css/reset.css | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/assets/css/blog.css b/assets/css/blog.css index 409ee8a..e3c0f6b 100644 --- a/assets/css/blog.css +++ b/assets/css/blog.css @@ -94,7 +94,7 @@ header .menu-list { .content-wrapper { /* Trust me */ - padding: 2.11rem 22vw 11vw 4rem; + padding: 2.11rem 22vw 11vw 5rem; height: max-content; } diff --git a/assets/css/reset.css b/assets/css/reset.css index b3955a8..ffa804e 100644 --- a/assets/css/reset.css +++ b/assets/css/reset.css @@ -4,6 +4,13 @@ } } +@media (pointer:fine) { + body { + font-kerning: auto; + text-rendering: optimizeLegibility; + } +} + * { box-sizing: border-box; } @@ -50,8 +57,6 @@ body, html { -webkit-font-smoothing: subpixel-antialiased; -moz-osx-font-smoothing: grayscale; - text-shadow: 0px 1px 1px rgba(140, 140, 140, 0.666); - font-family: "open_sansregular", sans-serif; font-weight: 400; line-height: 1.75;