diff --git a/package/hexo-theme-async/layout/_partial/main.ejs b/package/hexo-theme-async/layout/_partial/main.ejs index 0894d68d..cb76b3b7 100644 --- a/package/hexo-theme-async/layout/_partial/main.ejs +++ b/package/hexo-theme-async/layout/_partial/main.ejs @@ -17,7 +17,7 @@ <%- content %> -
+ <%- partial('./footer') %> diff --git a/package/hexo-theme-async/layout/_partial/page/about.ejs b/package/hexo-theme-async/layout/_partial/page/about.ejs index b7abc60e..7acd9dd0 100644 --- a/package/hexo-theme-async/layout/_partial/page/about.ejs +++ b/package/hexo-theme-async/layout/_partial/page/about.ejs @@ -12,7 +12,7 @@ <% if(theme.about.introduction) { %>
-
+
<%- __('title.author') %>
@@ -26,7 +26,7 @@ <% if(theme.about.introduction) { %>
-
+
<%- __('title.blog') %>
@@ -40,7 +40,7 @@ <% if(theme.about.introduction) { %>
-
+
<%- __('title.privacy') %>
diff --git a/package/hexo-theme-async/layout/_partial/page/archive.ejs b/package/hexo-theme-async/layout/_partial/page/archive.ejs index 0fd4c292..1264c319 100644 --- a/package/hexo-theme-async/layout/_partial/page/archive.ejs +++ b/package/hexo-theme-async/layout/_partial/page/archive.ejs @@ -26,7 +26,7 @@
-
+
<% if(page.archive){ %> <%- page.year ? page.year : __('title.all_archives') %> <% } else if (is_category()){ %> diff --git a/package/hexo-theme-async/layout/_partial/page/index.ejs b/package/hexo-theme-async/layout/_partial/page/index.ejs index fed62adb..0d4a47f8 100644 --- a/package/hexo-theme-async/layout/_partial/page/index.ejs +++ b/package/hexo-theme-async/layout/_partial/page/index.ejs @@ -29,7 +29,7 @@
-
+
<%-__('title.new_publish')%>
diff --git a/package/hexo-theme-async/layout/_partial/page/links.ejs b/package/hexo-theme-async/layout/_partial/page/links.ejs index 72c627f2..e56e95e8 100644 --- a/package/hexo-theme-async/layout/_partial/page/links.ejs +++ b/package/hexo-theme-async/layout/_partial/page/links.ejs @@ -10,7 +10,7 @@
-
<%-__('site.title')%>
+
<%-__('site.title')%>
@@ -27,7 +27,7 @@ <% if(Array.isArray(theme.links)){ %>
-
+
<%-__('title.links')%>
diff --git a/package/hexo-theme-async/layout/_partial/page/project.ejs b/package/hexo-theme-async/layout/_partial/page/project.ejs index 5fc5c3c7..31c0afe6 100644 --- a/package/hexo-theme-async/layout/_partial/page/project.ejs +++ b/package/hexo-theme-async/layout/_partial/page/project.ejs @@ -10,7 +10,7 @@ <% theme.projects.forEach((item,index)=>{ %>
-
<%- item.title %>
+
<%- item.title %>
<% item.children.forEach((project,index)=>{ %>
diff --git a/package/hexo-theme-async/layout/_partial/post/post-next-prev.ejs b/package/hexo-theme-async/layout/_partial/post/post-next-prev.ejs index 70270b6b..632ba7d1 100644 --- a/package/hexo-theme-async/layout/_partial/post/post-next-prev.ejs +++ b/package/hexo-theme-async/layout/_partial/post/post-next-prev.ejs @@ -1,7 +1,7 @@
-
+
<%- __('title.other_articles') %>
diff --git a/package/hexo-theme-async/layout/_widget/comment.ejs b/package/hexo-theme-async/layout/_widget/comment.ejs index c0b9f826..16366968 100644 --- a/package/hexo-theme-async/layout/_widget/comment.ejs +++ b/package/hexo-theme-async/layout/_widget/comment.ejs @@ -8,7 +8,7 @@ <% } else { %>
-
+
<%-__('title.comment')%>
@@ -29,7 +29,7 @@ <% } else { %>
-
+
<%-__('title.comment')%>
diff --git a/package/hexo-theme-async/source/css/_components/app-frame.less b/package/hexo-theme-async/source/css/_components/app-frame.less index 788d0f1b..00527f8d 100644 --- a/package/hexo-theme-async/source/css/_components/app-frame.less +++ b/package/hexo-theme-async/source/css/_components/app-frame.less @@ -65,4 +65,12 @@ padding : 0 0 40px; } } +} + +@media(max-width:768px) { + .trm-app-frame { + .trm-content { + margin-top: 20px; + } + } } \ No newline at end of file diff --git a/package/hexo-theme-async/source/css/_components/base.less b/package/hexo-theme-async/source/css/_components/base.less index bb8cfe7d..a284d263 100644 --- a/package/hexo-theme-async/source/css/_components/base.less +++ b/package/hexo-theme-async/source/css/_components/base.less @@ -207,12 +207,6 @@ html { margin-top: 40px } -.trm-divider { - height : 1px; - border-bottom: var(--border-dotted, dotted 2px rgba(225, 225, 235, 0.9)); - width : 100% -} - .trm-just-img { width : 100%; border-radius: 5px diff --git a/package/hexo-theme-async/source/css/_components/pagination.less b/package/hexo-theme-async/source/css/_components/pagination.less index 96f03c8f..f930218e 100644 --- a/package/hexo-theme-async/source/css/_components/pagination.less +++ b/package/hexo-theme-async/source/css/_components/pagination.less @@ -3,7 +3,7 @@ margin : 0; display : flex; justify-content: center; - margin-bottom : 40px; + margin-bottom : var(--card-bottom-card); &:first-child { margin-left: 0; diff --git a/package/hexo-theme-async/source/css/_components/title-divider.less b/package/hexo-theme-async/source/css/_components/title-divider.less index 950df441..12dcf166 100644 --- a/package/hexo-theme-async/source/css/_components/title-divider.less +++ b/package/hexo-theme-async/source/css/_components/title-divider.less @@ -1,7 +1,8 @@ .trm-title-with-divider { - display : flex; - align-items: center; - white-space: nowrap; + display : flex; + align-items : center; + white-space : nowrap; + margin-bottom: var(--card-bottom-card); span { position : relative; @@ -27,4 +28,14 @@ right : -35px; } } +} + +.trm-divider { + height : 1px; + border-bottom: var(--border-dotted, dotted 2px rgba(225, 225, 235, 0.9)); + width : 100%; + + &.footer-divider { + margin-bottom: var(--card-bottom-card); + } } \ No newline at end of file diff --git a/package/hexo-theme-async/source/css/_variables/index.less b/package/hexo-theme-async/source/css/_variables/index.less index 4d9a6dcb..b89f777c 100644 --- a/package/hexo-theme-async/source/css/_variables/index.less +++ b/package/hexo-theme-async/source/css/_variables/index.less @@ -66,4 +66,16 @@ :root { .dark() } -} */ \ No newline at end of file +} */ + +@media(max-width:768px) { + :root { + --card-padding : 20px; + --card-bottom-card : 20px; + --card-border-radius: 6px; + + blockquote:before { + top: 0; + } + } +} \ No newline at end of file