Update tricks.md
This commit is contained in:
parent
10ecf2462c
commit
771c56e601
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue