diff --git a/CHANGELOG.md b/CHANGELOG.md index c9e94986db..4f5ca9d9a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ == HEAD +* Add a HiDPI example media query (#1127). * Add bundled docs (#1154). * Add MIT license (#1139). * Separate normalize.css from the rest of the CSS (#1160). diff --git a/css/main.css b/css/main.css index 7ae155b38c..ef363f000e 100644 --- a/css/main.css +++ b/css/main.css @@ -218,6 +218,11 @@ textarea { /* Style adjustments for viewports that meet the condition */ } +@media only screen and (-webkit-min-device-pixel-ratio: 1.5), + only screen and (min-resolution: 144dpi) { + /* Style adjustments for high resolution devices */ +} + /* ========================================================================== Print styles. Inlined to avoid required HTTP connection: h5bp.com/r