Check out Omega Chess, our featured variant for September, 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

Featured Chess Variants. Chess Variants Featured in our Page Headers.[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Mon, Nov 6, 2023 10:06 PM UTC in reply to H. G. Muller from Fri Nov 3 08:20 AM:

The announcement on some pages (including the Featured Variants page) uses black font in the black box, which doesn't make it very readable.

This is a problem with pages that use /g/globalindex.css instead of /g/global.css. In examining the two files, the relevant CSS seems to be the same. And when using Web Developer Tools in Firefox to examine the actual CSS in use, the page with /g/globalindex.css says the color is rgb(0, 0, 0), and the one that works right says the color is rgb(245, 245, 220). When I double-click on each color value, I get the same results with just a difference in file name and line numbers. Each says that the best match is beige for .blackbox, and the parent match is plum for .notice. When I added an !important to the plum color in notice, it said the best match was plum in .notice, but it still displayed the text as black. So, I don't know why it is displaying the text as black. While switching pages to /g/global.css would fix the problem on a page-by-page level, I would like to fix it in the CSS file, which I don't know how to do short of making both files identical.