mirror of
https://git.acl.cool/al/pages.git
synced 2025-12-14 19:51:16 -05:00
hidipi exclusive bound
This commit is contained in:
parent
bf79e360b6
commit
db63d6efda
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@
|
|||
<link rel="stylesheet" href="/css/code.css">
|
||||
<link rel="icon" type="image/png" href="/assets/favicon.png">
|
||||
<script>
|
||||
const class_ = `font-${window.devicePixelRatio >= 1.5 ? 'hidpi' : 'lodpi'}`;
|
||||
const class_ = `font-${window.devicePixelRatio > 1.5 ? 'hidpi' : 'lodpi'}`;
|
||||
document.documentElement.className = class_;
|
||||
// document.documentElement.className += ' invert'; // 'invert' to swap colors
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue