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


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
..
actions Remove font-awesome and fomantic icon module () 2023-05-01 13:25:54 -04:00
branch Move Rename branch from repo settings page to the page of branches list () 2023-04-30 23:08:51 +08:00
cite Start cleaning the messy ".ui.left / .ui.right", improve label list page, fix stackable menu () 2023-04-29 07:35:59 -04:00
diff Improve "new-menu" () 2023-05-01 12:08:37 -04:00
editor Remove fomantic breadcrumb module () 2023-05-01 11:40:02 -04:00
find
graph Improve commit date in commit graph () 2023-04-28 14:58:59 -04:00
issue Clean up polluted styles and remove dead CSS code () 2023-05-03 14:32:10 -04:00
migrate Clean up polluted styles and remove dead CSS code () 2023-05-03 14:32:10 -04:00
projects Rework header bar on issue, pull requests and milestone () 2023-04-29 23:33:25 -04:00
pulls Replace N/A with - everywhere () 2023-05-02 05:54:29 -04:00
release Improve template helper () 2023-04-29 08:02:29 -04:00
settings Clean up polluted styles and remove dead CSS code () 2023-05-03 14:32:10 -04:00
tag Add tags list for repos whose release setting is disabled () 2023-04-25 18:29:00 +02:00
wiki Improve some modal action buttons () 2023-04-24 07:08:59 -04:00
activity.tmpl Fix template function DateTime () 2023-04-25 15:48:30 -04:00
blame.tmpl
branch_dropdown.tmpl Improve RSS () 2023-04-25 22:53:44 -04:00
clone_buttons.tmpl Clean template/helper.go () 2023-04-07 03:31:41 -04:00
clone_script.tmpl Clean template/helper.go () 2023-04-07 03:31:41 -04:00
commit_page.tmpl Improve some modal action buttons () 2023-04-24 07:08:59 -04:00
commit_status.tmpl
commit_statuses.tmpl
commits.tmpl
commits_list.tmpl
commits_list_small.tmpl Use a general Eval function for expressions in templates. () 2023-04-07 21:25:49 +08:00
commits_table.tmpl
create.tmpl Make label templates have consistent behavior and priority () 2023-04-10 16:44:02 +08:00
create_helper.tmpl
empty.tmpl Display when a repo was archived () 2023-04-26 10:46:26 -04:00
file_info.tmpl
forks.tmpl Remove fomantic ".link" selector and styles () 2023-04-03 20:47:23 -04:00
graph.tmpl Replace remaining fontawesome dropdown icons with SVG () 2023-05-01 05:35:02 -04:00
header.tmpl Start cleaning the messy ".ui.left / .ui.right", improve label list page, fix stackable menu () 2023-04-29 07:35:59 -04:00
home.tmpl Remove fomantic breadcrumb module () 2023-05-01 11:40:02 -04:00
icon.tmpl
packages.tmpl
search.tmpl
search_name.tmpl Clean template/helper.go () 2023-04-07 03:31:41 -04:00
shabox_badge.tmpl
sub_menu.tmpl Make repo size style matches others (commits/branches/tags) () 2023-04-28 17:23:19 -04:00
sub_menu_release_tag.tmpl Rework header bar on issue, pull requests and milestone () 2023-04-29 23:33:25 -04:00
unicode_escape_prompt.tmpl
upload.tmpl
user_cards.tmpl Fix user-cards format () 2023-04-29 15:43:01 -04:00
view_file.tmpl Improve RSS () 2023-04-25 22:53:44 -04:00
view_list.tmpl Improve template helper () 2023-04-29 08:02:29 -04:00
watchers.tmpl Fix user-cards format () 2023-04-29 15:43:01 -04:00