This commit is contained in:
1 parent
3fe3846ad5
commit
17722acc69
1 file changed
+19
@@ -109,6 +109,8 @@ html.dark .article-img {
|
|||||||
|
|
||||||
html {
|
html {
|
||||||
scroll-behavior: smooth;
|
scroll-behavior: smooth;
|
||||||
|
-webkit-text-size-adjust: 100%;
|
||||||
|
text-size-adjust: 100%;
|
||||||
}
|
}
|
||||||
body {
|
body {
|
||||||
font-family: var(--font-family);
|
font-family: var(--font-family);
|
||||||
@@ -117,6 +119,23 @@ body {
|
|||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Mobile-friendly improvements for every screen */
|
||||||
|
button, a, input, select, textarea, summary, [role="button"], [role="menuitem"] {
|
||||||
|
touch-action: manipulation;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Momentum scrolling on iOS */
|
||||||
|
* {
|
||||||
|
-webkit-overflow-scrolling: touch;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Prevent iOS zoom on input focus */
|
||||||
|
@media (max-width: 48rem) {
|
||||||
|
input, select, textarea {
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* Semantic colors: safe across every complete light/dark preset. */
|
/* Semantic colors: safe across every complete light/dark preset. */
|
||||||
.theme-text-muted {
|
.theme-text-muted {
|
||||||
color: var(--color-text-muted-readable);
|
color: var(--color-text-muted-readable);
|
||||||
|
|||||||
Reference in new issue
Block a user