Check out Symmetric Chess, our featured variant for March, 2024.


[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Single Comment

Home page of The Chess Variant Pages. Homepage of The Chess Variant Pages.[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Thu, Mar 30, 2023 11:29 PM UTC:

I added a special media query to this page to recognize the browser available on the Kindle. Recent Kindles have a 300ppi screen, which results in displaying 300 pixels as an inch. Since most screens would display 300 pixels in a larger physical size, this can lead to images and text being too small in the Kindle browser. While it's Article mode can make a page more readable, it's best to not make readers need to rely on it. The query checks whether there are lots of pixels on a small screen. The idea is to check that the width is at least the width in pixels of the 6 inch Paperwhite and no more than the width of the 10.2 inch Scribe in inches. With some margin for error, the query looks like this:

@media (min-width: 1060px) and (max-width: 7in) {
}

Besides the size issue, the Kindle browser has hardly been updated in years, and it does not support many features that have become commonly supported in other browsers. For example, this page uses a flex display, but since the Kindle browers do not support this, I have provided some fallback CSS for putting some sections in columns.