mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
* Prevent hovering on tabs from causing text flicker For some reason, geometricPrecision was causing text to flicker on non-retina screens when hovering over the tabs * Use a pixel ratio media query for text-rendering on retina displays
33 lines
700 B
HTML
33 lines
700 B
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<title>HyperTerm</title>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="initial-scale=1.0" />
|
|
<style>
|
|
body {
|
|
color: #fff;
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
text-rendering: optimizeLegibility;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
@media (min-resolution: 2dppx) {
|
|
* {
|
|
text-rendering: geometricPrecision;
|
|
}
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<div id="mount"></div>
|
|
<script>start = performance.now();</script>
|
|
<script src="dist/bundle.js"></script>
|
|
<script>console.log('total init time', performance.now() - start);</script>
|
|
</body>
|
|
</html>
|