The mdbook template adds a box shadow to the styling of each items wrapping div. This is fine for light themes, but when darker themes are used it is hard to tell where the start and where the end of these areas are.
Adding a border using the --theme-hover variable for the color adds a separation that matches the current theme and makes the distinction between items more visible.
Here is a screen shot of the styling being applied with the ayu theme.
The mdbook template adds a box shadow to the styling of each items wrapping div. This is fine for light themes, but when darker themes are used it is hard to tell where the start and where the end of these areas are.
Adding a border using the
--theme-hover
variable for the color adds a separation that matches the current theme and makes the distinction between items more visible.Here is a screen shot of the styling being applied with the
ayu
theme.