Skip to content

Commit

Permalink
UI design update
Browse files Browse the repository at this point in the history
  • Loading branch information
EdiWang committed Sep 27, 2023
1 parent eae311d commit 26fc512
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Moonglade.Web/Pages/ArchiveList.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
@model Moonglade.Web.Pages.ArchiveListModel
@{
ViewBag.TitlePrefix = $"All Posts in {Model.ArchiveInfo}";
ViewBag.BodyClass = "body-archive-list bg-gray-1";
}

<h3>
Expand Down
1 change: 1 addition & 0 deletions src/Moonglade.Web/Pages/CategoryList.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
@model Moonglade.Web.Pages.CategoryListModel
@{
ViewBag.TitlePrefix = Model.Cat.DisplayName;
ViewBag.BodyClass = "body-cat-list bg-gray-1";
ViewBag.ActionName = "list";
}

Expand Down
5 changes: 5 additions & 0 deletions src/Moonglade.Web/Pages/Featured.cshtml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
@page "/archive/featured"
@model Moonglade.Web.Pages.FeaturedModel

@{
ViewBag.TitlePrefix = "Featured Posts";
ViewBag.BodyClass = "body-featured-list bg-gray-1";
}

<h3>
@SharedLocalizer["Featured Posts"]
</h3>
Expand Down
3 changes: 2 additions & 1 deletion src/Moonglade.Web/wwwroot/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,8 @@ h3 small {
.post-date-day {
color: var(--accent-color1);
font-size: 46px;
margin: 0;
height: 55px;
margin-top: -12px;
text-align: right;
}

Expand Down

0 comments on commit 26fc512

Please sign in to comment.