mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-23 21:02:09 +00:00
Disable text inflation
I respect whatever you're into, but that doesn't mean it belongs on my site. Disable the text inflation algorithm. Don't make landscape fonts comically large.
This commit is contained in:
parent
1a7cc7156c
commit
5b4832df15
1 changed files with 5 additions and 0 deletions
|
@ -33,6 +33,11 @@ html {
|
||||||
/* Nearly every page on my site is taller than the viewport.
|
/* Nearly every page on my site is taller than the viewport.
|
||||||
* Paint the scrollbar ASAP to prevent layout shifts. */
|
* Paint the scrollbar ASAP to prevent layout shifts. */
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
|
|
||||||
|
/* Site is already mobile optimized.
|
||||||
|
* Don't screw up landscape mode. */
|
||||||
|
-webkit-text-size-adjust: none;
|
||||||
|
text-size-adjust: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* This should not take effect on printouts, to save paper. */
|
/* This should not take effect on printouts, to save paper. */
|
||||||
|
|
Loading…
Reference in a new issue