Note however that this method is quite limited since it can only change the styles attached to the root element of generated chessboards. You can specify inline style to be applied to a single chessboard using the style attribute. Each style element that can be changed is clearly commented in the file. You can adapt the definitions of the custom stylesheet either by editing this file directly, or by overriding the definitions with another external stylesheet or with an internal stylesheet. The custom stylesheet however can be freely edited to for instance change the size of the font, the color of squares, etc. Doing so may break the rendering of chessboards. The base stylesheet contains definition that shouldn't be changed or overridden. This file is split in two parts: a base stylesheet and a custom stylesheet. The default styles used for color-mode and B&W-mode output are defined in the CSS file FenTT.css.
0 Comments
Leave a Reply. |