diff --git a/YaeBlog/Components/Foonter.razor b/YaeBlog/Components/Foonter.razor new file mode 100644 index 0000000..d3f9910 --- /dev/null +++ b/YaeBlog/Components/Foonter.razor @@ -0,0 +1,14 @@ +
+
+

+ 2021 - @(DateTimeOffset.Now.Year) © Ricardo Ren, + 由 .NET @(Environment.Version) 驱动。 +

+
+ +
+

+ 蜀ICP备2022004429号-1 +

+
+
diff --git a/YaeBlog/Components/Foonter.razor.css b/YaeBlog/Components/Foonter.razor.css new file mode 100644 index 0000000..e69de29 diff --git a/YaeBlog/Layout/BlogLayout.razor b/YaeBlog/Layout/BlogLayout.razor index ea34e77..59f5cba 100644 --- a/YaeBlog/Layout/BlogLayout.razor +++ b/YaeBlog/Layout/BlogLayout.razor @@ -1,9 +1,47 @@ @inherits LayoutComponentBase -
- @Body -
+
+
+ -@code { + +
+ +
+ @Body +
+ + +
diff --git a/YaeBlog/Layout/MainLayout.razor b/YaeBlog/Layout/MainLayout.razor index 9812427..5c5f7ec 100644 --- a/YaeBlog/Layout/MainLayout.razor +++ b/YaeBlog/Layout/MainLayout.razor @@ -1,45 +1,25 @@ @inherits LayoutComponentBase -
-
-
- - - +
+
+ -
-
- @Body -
-
- -
-
-

2021 - 2024 By Ricardo Ren

-
- - +
-
-@code { +
+
+ @Body +
+
-} + + diff --git a/YaeBlog/Layout/MainLayout.razor.css b/YaeBlog/Layout/MainLayout.razor.css index ddff9ef..8f55588 100644 --- a/YaeBlog/Layout/MainLayout.razor.css +++ b/YaeBlog/Layout/MainLayout.razor.css @@ -1,6 +1,5 @@ .center { margin: 0 auto; - min-height: 100vh; max-width: 48em; position: relative; display: flex; diff --git a/YaeBlog/Pages/BlogIndex.razor b/YaeBlog/Pages/BlogIndex.razor new file mode 100644 index 0000000..59d0b77 --- /dev/null +++ b/YaeBlog/Pages/BlogIndex.razor @@ -0,0 +1,3 @@ +@page "/blog" + + diff --git a/YaeBlog/Pages/BlogIndex.razor.css b/YaeBlog/Pages/BlogIndex.razor.css new file mode 100644 index 0000000..e69de29 diff --git a/YaeBlog/Pages/Index.razor b/YaeBlog/Pages/Index.razor index a1ad2c6..2ba5cc8 100644 --- a/YaeBlog/Pages/Index.razor +++ b/YaeBlog/Pages/Index.razor @@ -34,12 +34,12 @@

- 如果您想四处看看,了解一下屏幕对面的人,可以在我的 博客 看看。 + 如果您想四处看看,了解一下屏幕对面的人,可以在我的 博客 看看。 如果您对于明光村幼儿园某附属技校的计算机教学感兴趣,您可以移步到 我的学习笔记虽然这笔记我自己也木有看过。 如果您想批判一下我的代码,在 Github 和 - Gitea 都可以看见。 + Gitea 都可以找到。

如果您真的很闲,也可以四处搜寻一下,也许存在着一些不为人知的彩蛋。 diff --git a/YaeBlog/wwwroot/fonts/bootstrap-icons.woff b/YaeBlog/wwwroot/fonts/bootstrap-icons.woff new file mode 100644 index 0000000..51204d2 Binary files /dev/null and b/YaeBlog/wwwroot/fonts/bootstrap-icons.woff differ diff --git a/YaeBlog/wwwroot/fonts/bootstrap-icons.woff2 b/YaeBlog/wwwroot/fonts/bootstrap-icons.woff2 new file mode 100644 index 0000000..cf957a1 --- /dev/null +++ b/YaeBlog/wwwroot/fonts/bootstrap-icons.woff2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:476adf42b40325098fcfa8b36ab3e769186bb4f6ce6a249753e2e1a9c22bf99e +size 130396 diff --git a/YaeBlog/wwwroot/globals.css b/YaeBlog/wwwroot/globals.css index 7a7f4e5..f655aa1 100644 --- a/YaeBlog/wwwroot/globals.css +++ b/YaeBlog/wwwroot/globals.css @@ -2,33 +2,6 @@ body a { text-decoration: none; } -html, body { - height: 100%; -} - -p { - font-size: 1rem; - line-height: 1.6; -} - -*::-webkit-scrollbar { - width: 8px; - height: 8px; -} - -*::-webkit-scrollbar-thumb { - background-color: #80c8f8; -} - -*::-webkit-scrollbar-track { - background-color: transparent; -} - -* { - scrollbar-width: thin; - scrollbar-color: #80c8f8 transparent; -} - @font-face { font-family: "Font Awesome 6 Free"; font-style: normal;