master
xaoxuu 4 years ago
parent b60b957b8b
commit 862bbda21d
  1. 22
      _config.yml
  2. 13
      layout/_partial/article.ejs
  3. 2
      source/css/_layout/article.styl
  4. 5
      source/css/_layout/main.styl
  5. 2
      source/css/_third-party/valine.styl

@ -1,15 +1,6 @@
############################### Theme Information ###############################
info:
name: Volantis # This is theme's name, not your blog's name.
version: '2.6.2' # This is theme's version.
docs: https://volantis.js.org/ # This is theme's URL.
cdn:
css:
js:
############################### Style ###############################
style:
font_smoothing: false # font-smoothing for webkit
max_width: 1080px # Sum of body width and sidebar width (This limit will be exceeded when the device width is greater than 2000px, reaching 75% of the total width)
scrollbar:
size: 4px
@ -554,3 +545,14 @@ search:
queryKey:
baidu:
apiId:
############################### Theme Information ###############################
info:
name: Volantis # This is theme's name. ⚠ NOT FOR YOUR BLOG'S INFO. 这不是博客的信息,请勿修改。
version: '2.6.3' # This is theme's version. ⚠ NOT FOR YOUR BLOG'S INFO. 这不是博客的信息,请勿修改。
docs: https://volantis.js.org/ # This is theme's URL. ⚠ NOT FOR YOUR BLOG'S INFO. 这不是博客的信息,请勿修改。
cdn:
css:
js:

@ -10,12 +10,13 @@
<% }) %>
<%- post.content %>
<% if ((page.meta && page.meta.article_footer && page.meta.article_footer.length > 0) || (theme.layout.on_post.article_footer && (page.layout == 'post'))) { %>
<br>
<% if (page.meta && page.meta.article_footer && page.meta.article_footer.length > 0) { %>
<%- partial('../_widget/load', {widgets: page.meta.article_footer, where: 'article'}) %>
<% } else { %>
<%- partial('../_widget/load', {widgets: theme.layout.on_post.article_footer, where: 'article'}) %>
<% } %>
<div class='article_footer'>
<% if (page.meta && page.meta.article_footer && page.meta.article_footer.length > 0) { %>
<%- partial('../_widget/load', {widgets: page.meta.article_footer, where: 'article'}) %>
<% } else { %>
<%- partial('../_widget/load', {widgets: theme.layout.on_post.article_footer, where: 'article'}) %>
<% } %>
</div>
<% } %>
</div>
<% if(post.layout == 'post' || post.layout == 'page'){ %>

@ -322,6 +322,8 @@
margin-bottom: 4px
.article_footer
margin-top: $gap * 4
.widget-blur
backdrop-filter: none

@ -1,8 +1,9 @@
.l_body
position: relative
margin: $gap
-webkit-font-smoothing: antialiased
-moz-osx-font-smoothing: grayscale
if hexo-config('style.font_smoothing') == true
-webkit-font-smoothing: antialiased
-moz-osx-font-smoothing: grayscale
&.nocover
margin-top: $navbar-height
@media screen and (max-width: $device-mobile-l)

@ -74,7 +74,7 @@
background: bgcolor($color-hover)
&.vmore
width: 100%
padding: $gap-paragraph 2rem
padding: 8px 2rem
.vcards
.vquote
border-left: none

Loading…
Cancel
Save