You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
1 year ago
..
admin Replace `N/A` with `-` everywhere (#24474) 1 year ago
api/packages/pypi Remove incorrect HTML self close tag (#23748) 1 year ago
base Clean up polluted styles and remove dead CSS code (#24497) 1 year ago
code Use data-tooltip-content for tippy tooltip (#23649) 1 year ago
custom Add footer extra links template (#9576) 5 years ago
devtest Improve some modal action buttons (#24289) 1 year ago
explore Improve "new-menu" (#24465) 1 year ago
mail Remove incorrect HTML self close tag (#23748) 1 year ago
org Fix invite display (#24447) 1 year ago
package Clean up polluted styles and remove dead CSS code (#24497) 1 year ago
projects Rework header bar on issue, pull requests and milestone (#24420) 1 year ago
repo Clean up polluted styles and remove dead CSS code (#24497) 1 year ago
shared Improve template helper (#24417) 1 year ago
status Fix template function DateTime (#24317) 1 year ago
swagger Add Debian package registry (#24426) 1 year ago
user Improve "new-menu" (#24465) 1 year ago
home.tmpl Improve home page template, fix Sort dropdown menu flash (#23856) 1 year ago
install.tmpl Remove incorrect HTML self close tag (#23748) 1 year ago
post-install.tmpl Remove incorrect HTML self close tag (#23748) 1 year ago