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.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