From 234b3e970bb7b79be9759dc239f2f8d61edc3828 Mon Sep 17 00:00:00 2001 From: undefined Date: Fri, 14 Apr 2023 11:44:47 +0800 Subject: [PATCH] ui: update homepage style --- packages/ui-default/pages/homepage.page.styl | 12 ------------ .../templates/partials/homepage/contest.html | 6 +++--- .../templates/partials/homepage/discussion.html | 6 +++--- .../templates/partials/homepage/homework.html | 6 +++--- .../templates/partials/homepage/ranking.html | 6 +++--- .../templates/partials/homepage/training.html | 6 +++--- 6 files changed, 15 insertions(+), 27 deletions(-) delete mode 100644 packages/ui-default/pages/homepage.page.styl diff --git a/packages/ui-default/pages/homepage.page.styl b/packages/ui-default/pages/homepage.page.styl deleted file mode 100644 index 156852fd..00000000 --- a/packages/ui-default/pages/homepage.page.styl +++ /dev/null @@ -1,12 +0,0 @@ -.page--homepage - .more - text-align: center - a - color: #a7a7a7 - font-size: rem($font-size-secondary) - text-decoration: none - border-bottom: 2px solid $pager-border-color - transition: border-bottom .2s linear, color .2s linear - &:hover - color: #666; - border-color: #5f9fd6 \ No newline at end of file diff --git a/packages/ui-default/templates/partials/homepage/contest.html b/packages/ui-default/templates/partials/homepage/contest.html index e9b91520..6330e773 100644 --- a/packages/ui-default/templates/partials/homepage/contest.html +++ b/packages/ui-default/templates/partials/homepage/contest.html @@ -41,8 +41,8 @@ {%- endfor -%} - + {% endif %} \ No newline at end of file diff --git a/packages/ui-default/templates/partials/homepage/discussion.html b/packages/ui-default/templates/partials/homepage/discussion.html index 49b6f511..aedcb365 100644 --- a/packages/ui-default/templates/partials/homepage/discussion.html +++ b/packages/ui-default/templates/partials/homepage/discussion.html @@ -6,8 +6,8 @@

{{ _('Discussion') }}

{% include "partials/discussion_list.html" %} - + {% endif %} \ No newline at end of file diff --git a/packages/ui-default/templates/partials/homepage/homework.html b/packages/ui-default/templates/partials/homepage/homework.html index 5c95a938..ee1cd0cf 100644 --- a/packages/ui-default/templates/partials/homepage/homework.html +++ b/packages/ui-default/templates/partials/homepage/homework.html @@ -38,8 +38,8 @@ {%- endfor -%} - + {% endif %} \ No newline at end of file diff --git a/packages/ui-default/templates/partials/homepage/ranking.html b/packages/ui-default/templates/partials/homepage/ranking.html index 9027aa7b..bd2e29e4 100644 --- a/packages/ui-default/templates/partials/homepage/ranking.html +++ b/packages/ui-default/templates/partials/homepage/ranking.html @@ -34,8 +34,8 @@ - + {% endif %} \ No newline at end of file diff --git a/packages/ui-default/templates/partials/homepage/training.html b/packages/ui-default/templates/partials/homepage/training.html index c0bebdf2..45945829 100644 --- a/packages/ui-default/templates/partials/homepage/training.html +++ b/packages/ui-default/templates/partials/homepage/training.html @@ -43,8 +43,8 @@ {%- endfor -%} - + {% endif %} \ No newline at end of file