1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-20 09:04:24 +00:00
gitea/templates/package/content
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
..
cargo.tmpl Move links out of translation (#24446) 2023-05-01 09:17:27 +02:00
chef.tmpl Move links out of translation (#24446) 2023-05-01 09:17:27 +02:00
composer_dependencies.tmpl Refactor i18n to locale (#20153) 2022-06-27 15:58:46 -05:00
composer.tmpl Move links out of translation (#24446) 2023-05-01 09:17:27 +02:00
conan.tmpl Move links out of translation (#24446) 2023-05-01 09:17:27 +02:00
conda.tmpl Move links out of translation (#24446) 2023-05-01 09:17:27 +02:00
container.tmpl Clean up polluted styles and remove dead CSS code (#24497) 2023-05-03 14:32:10 -04:00
debian.tmpl Add Debian package registry (#24426) 2023-05-02 12:31:35 -04:00
generic.tmpl Move links out of translation (#24446) 2023-05-01 09:17:27 +02:00
helm.tmpl Move links out of translation (#24446) 2023-05-01 09:17:27 +02:00
maven.tmpl Move links out of translation (#24446) 2023-05-01 09:17:27 +02:00
npm_dependencies.tmpl Refactor i18n to locale (#20153) 2022-06-27 15:58:46 -05:00
npm.tmpl Move links out of translation (#24446) 2023-05-01 09:17:27 +02:00
nuget.tmpl Move links out of translation (#24446) 2023-05-01 09:17:27 +02:00
pub.tmpl Move links out of translation (#24446) 2023-05-01 09:17:27 +02:00
pypi.tmpl Move links out of translation (#24446) 2023-05-01 09:17:27 +02:00
rubygems_dependencies.tmpl Refactor i18n to locale (#20153) 2022-06-27 15:58:46 -05:00
rubygems.tmpl Move links out of translation (#24446) 2023-05-01 09:17:27 +02:00
swift.tmpl Move links out of translation (#24446) 2023-05-01 09:17:27 +02:00
vagrant.tmpl Move links out of translation (#24446) 2023-05-01 09:17:27 +02:00