forgejo/templates
wxiaoguang 48e3e38ee0
Clean up polluted styles and remove dead CSS code (#24497)
Follow #24393


The funny history:

* At the beginning, `.ui.message` was polluted by `text-align: center`
* Then people do `<div class="ui ... message text left">`
* But `.ui.left` is polluted by `float: left`
* Then people do `#xxx .ui.message { width: 100% !important;}`

The code just becomes more and more hacky.

After removing the pollution,  everything becomes clear and straight.


And, this PR also does:

1. Remove the `package.css`, its styles could be provided by `top
aligned`
2. Remove `#avatar-arrow`, dead code



Screenshot:


![image](https://user-images.githubusercontent.com/2114189/235862130-a9eb5d8f-7d01-457c-99f7-21d0abc3075e.png)


![image](https://user-images.githubusercontent.com/2114189/235862222-139709a7-95c2-4f89-a40f-100b2d76d9bb.png)

Co-authored-by: Giteabot <teabot@gitea.io>
2023-05-03 14:32:10 -04:00
..
admin Replace N/A with - everywhere (#24474) 2023-05-02 05:54:29 -04:00
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
base Clean up polluted styles and remove dead CSS code (#24497) 2023-05-03 14:32:10 -04:00
code Use data-tooltip-content for tippy tooltip (#23649) 2023-03-24 18:35:38 +08:00
custom
devtest Improve some modal action buttons (#24289) 2023-04-24 07:08:59 -04:00
explore Improve "new-menu" (#24465) 2023-05-01 12:08:37 -04:00
mail Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
org Fix invite display (#24447) 2023-05-02 09:59:31 +02:00
package Clean up polluted styles and remove dead CSS code (#24497) 2023-05-03 14:32:10 -04:00
projects Rework header bar on issue, pull requests and milestone (#24420) 2023-04-29 23:33:25 -04:00
repo Clean up polluted styles and remove dead CSS code (#24497) 2023-05-03 14:32:10 -04:00
shared Improve template helper (#24417) 2023-04-29 08:02:29 -04:00
status Fix template function DateTime (#24317) 2023-04-25 15:48:30 -04:00
swagger Add Debian package registry (#24426) 2023-05-02 12:31:35 -04:00
user Improve "new-menu" (#24465) 2023-05-01 12:08:37 -04:00
home.tmpl Improve home page template, fix Sort dropdown menu flash (#23856) 2023-04-01 13:47:54 +08:00
install.tmpl Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
post-install.tmpl Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00