forked from gitea/gitea
1
0
Fork 0
gitea/docs/content/doc
Giteabot cc7a4f17e0
Don't set meta `theme-color` by default (#24340) (#24346)
Backport #24340 by @silverwind

Fixes https://github.com/go-gitea/gitea/issues/24321. By not setting
this meta tag, Safari will use body color for chrome and out-of-viewport
areas, which looks much better then static mismatching green.

As per
[MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta/name/theme-color)
it's really only Apple browsers who still support this tag, most others
have dropped support.
 
Before:
<img width="347" alt="Screenshot 2023-04-25 at 19 59 13"
src="https://user-images.githubusercontent.com/115237/234363180-0fe667ef-5469-4f5f-b31a-c9d73aff10ac.png">

After:
<img width="361" alt="Screenshot 2023-04-25 at 20 00 00"
src="https://user-images.githubusercontent.com/115237/234363185-e2d2b62f-0133-4316-944d-b614ffb84eb0.png">

Co-authored-by: silverwind <me@silverwind.io>
2023-04-26 01:33:15 -04:00
..
administration Don't set meta `theme-color` by default (#24340) (#24346) 2023-04-26 01:33:15 -04:00
contributing Update docs markdown file weight to make it clear (#23909) (#23921) 2023-04-04 11:27:38 -04:00
development Update docs markdown file weight to make it clear (#23909) (#23921) 2023-04-04 11:27:38 -04:00
help Update documentation to explain which projects allow Gitea to host static pages (#23993) (#24058) 2023-04-11 18:43:35 +02:00
installation Update documentation to explain which projects allow Gitea to host static pages (#23993) (#24058) 2023-04-11 18:43:35 +02:00
packages Update docs markdown file weight to make it clear (#23909) (#23921) 2023-04-04 11:27:38 -04:00
usage Merge `push to create`, `open PR from push`, and `push options` docs articles into one (#23744) (#23959) 2023-04-07 15:49:26 +08:00
administration.en-us.md Rename develop -> development, contribute -> contributing, administer -> administration (#23662) 2023-03-23 15:44:09 -05:00
administration.fr-fr.md Rename develop -> development, contribute -> contributing, administer -> administration (#23662) 2023-03-23 15:44:09 -05:00
administration.zh-cn.md Rename develop -> development, contribute -> contributing, administer -> administration (#23662) 2023-03-23 15:44:09 -05:00
administration.zh-tw.md Rename develop -> development, contribute -> contributing, administer -> administration (#23662) 2023-03-23 15:44:09 -05:00
contributing.en-us.md Rename develop -> development, contribute -> contributing, administer -> administration (#23662) 2023-03-23 15:44:09 -05:00
contributing.fr-fr.md Rename develop -> development, contribute -> contributing, administer -> administration (#23662) 2023-03-23 15:44:09 -05:00
contributing.zh-tw.md Rename develop -> development, contribute -> contributing, administer -> administration (#23662) 2023-03-23 15:44:09 -05:00
development.en-us.md Rename develop -> development, contribute -> contributing, administer -> administration (#23662) 2023-03-23 15:44:09 -05:00
development.zh-cn.md Rename develop -> development, contribute -> contributing, administer -> administration (#23662) 2023-03-23 15:44:09 -05:00
development.zh-tw.md Rename develop -> development, contribute -> contributing, administer -> administration (#23662) 2023-03-23 15:44:09 -05:00
help.en-us.md Rename develop -> development, contribute -> contributing, administer -> administration (#23662) 2023-03-23 15:44:09 -05:00
help.fr-fr.md Rename develop -> development, contribute -> contributing, administer -> administration (#23662) 2023-03-23 15:44:09 -05:00
help.zh-cn.md Rename develop -> development, contribute -> contributing, administer -> administration (#23662) 2023-03-23 15:44:09 -05:00
help.zh-tw.md Rename develop -> development, contribute -> contributing, administer -> administration (#23662) 2023-03-23 15:44:09 -05:00
installation.en-us.md Import docs into main repository (#2874) 2017-11-26 23:44:32 +02:00
installation.fr-fr.md General documentation cleanup (#3317) 2018-01-08 23:48:42 +01:00
installation.zh-cn.md Import docs into main repository (#2874) 2017-11-26 23:44:32 +02:00
installation.zh-tw.md Import docs into main repository (#2874) 2017-11-26 23:44:32 +02:00
packages.en-us.md Rename develop -> development, contribute -> contributing, administer -> administration (#23662) 2023-03-23 15:44:09 -05:00
usage.en-us.md Rename develop -> development, contribute -> contributing, administer -> administration (#23662) 2023-03-23 15:44:09 -05:00
usage.zh-cn.md Rename develop -> development, contribute -> contributing, administer -> administration (#23662) 2023-03-23 15:44:09 -05:00
usage.zh-tw.md Rename develop -> development, contribute -> contributing, administer -> administration (#23662) 2023-03-23 15:44:09 -05:00