0
0

Disabled font smoothing on light mode

This commit is contained in:
Opnxng 2024-05-10 08:53:40 +08:00
parent 51e6628cf5
commit 90521ad706

View File

@ -32,7 +32,9 @@
--background-color: #0E0E0F; --background-color: #0E0E0F;
--primary-color: #1860A3; --primary-color: #1860A3;
--secondary-color: #1860A3; --secondary-color: #1860A3;
} -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
} }
/*----------------------------------------------------------------------------------------------------*/ /*----------------------------------------------------------------------------------------------------*/
@media (orientation: landscape) {:root {--font-size: 1.42rem;}} @media (orientation: landscape) {:root {--font-size: 1.42rem;}}
@ -51,8 +53,6 @@ body {
font-stretch: normal; font-stretch: normal;
font-weight: normal; font-weight: normal;
text-rendering: optimizeLegibility; text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-moz-font-feature-settings: "liga", "calt", "kern", "onum"; -moz-font-feature-settings: "liga", "calt", "kern", "onum";
-webkit-font-feature-settings: "liga", "calt", "kern", "onum"; -webkit-font-feature-settings: "liga", "calt", "kern", "onum";
-ms-font-feature-settings: "liga", "calt", "kern", "onum"; -ms-font-feature-settings: "liga", "calt", "kern", "onum";
@ -119,6 +119,8 @@ span.last {
/*----------------------------------------------------------------------------------------------------*/ /*----------------------------------------------------------------------------------------------------*/
p:first-child:first-letter { p:first-child:first-letter {
font-family: eb_garamond_initials, Times, serif; font-family: eb_garamond_initials, Times, serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
float: left; float: left;
color: var(--primary-color); color: var(--primary-color);
display: inline; display: inline;