Update tricks.md

This commit is contained in:
thhsh-local 2025-06-26 13:15:36 -04:00
parent 10ecf2462c
commit 771c56e601
Signed by: thhsh-local
SSH key fingerprint: SHA256:bLOq3d7dN1v5+W5U6pQekP0rBm0YUtC9qvh3TDYyAsg

View file

@ -15,7 +15,7 @@ To hide the title on a page (like on the [:octicons-arrow-right-16: Home page](.
## Images
### Logo Size
When embedding a site logo in a page (like on the [:octicons-arrow-right-16: Home page](../../support/index.md)), the sweet spot seems to be `300px` for the image width so that it doesn't look "off".
When embedding a site logo in a page (like on the [:octicons-arrow-right-16: Home page](../../support/index.md)), the sweet spot seems to be `300px` for the image width so that it doesn't look "off". Or, it may be that the image height is `150px`. Need to experiment with other logos on pages.
### Different images for dark/light mode
You can use `#only-dark` to only show an image in dark mode, and `#only-light` to only show an image in light mode. For example: