Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
3207aa4feb
|
@ -48,6 +48,7 @@ style:
|
|||
enable: false
|
||||
background_img: /images/bg.svg # You can use local image or image external link
|
||||
description: Keep writing and Keep loving.
|
||||
hitokoto: # Hitokoto api. https://v1.hitokoto.cn/?encode=js
|
||||
|
||||
# Scroll style settings
|
||||
scroll:
|
||||
|
@ -225,6 +226,7 @@ footer:
|
|||
since: 2020 # the starting year of your website, Can be null
|
||||
icp: # ICP record number of your website, Can be null
|
||||
upyun: # url
|
||||
code: # Statistical codes of your website, Can be null
|
||||
|
||||
# ---------------------------------------------------------------------------------------
|
||||
# Keep version (Please don't modify)
|
||||
|
|
|
@ -1,8 +1,11 @@
|
|||
<div class="first-screen-container flex-center fade-in-down-animation">
|
||||
<div class="content flex-center">
|
||||
<div class="description">
|
||||
<div class="description hitokoto">
|
||||
<%= theme.style.first_screen.description || config.description %>
|
||||
</div>
|
||||
<% if (theme.style.first_screen.hitokoto) { %>
|
||||
<script data-pjax="" src="<%- theme.style.first_screen.hitokoto %>"></script>
|
||||
<% } %>
|
||||
<% if (theme.social_contact.enable) { %>
|
||||
<div class="s-icon-list">
|
||||
<% for (const key in theme.social_contact.links) { %>
|
||||
|
|
|
@ -34,5 +34,10 @@
|
|||
<img src="/images/upyun.png" alt="upyun" srcset="" height="24" style="position:relative; top:6px">
|
||||
提供CDN加速/云存储服务</a></div>
|
||||
<% } %>
|
||||
<% if (theme.footer.hasOwnProperty('code') && theme.footer.code) { %>
|
||||
<div class="code-info info-item">
|
||||
<%- theme.footer.code %>
|
||||
</div>
|
||||
<% } %>
|
||||
</div>
|
||||
</footer>
|
||||
|
|
|
@ -210,6 +210,12 @@
|
|||
width: 100%;
|
||||
overflow: auto;
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
& {
|
||||
table-layout: fixed;
|
||||
}
|
||||
}
|
||||
|
||||
td,
|
||||
th {
|
||||
padding: 0;
|
||||
|
|
|
@ -329,7 +329,7 @@ KEEP.initUtils = () => {
|
|||
}, 200);
|
||||
|
||||
}, 200);
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
// init scroll
|
||||
|
|
Loading…
Reference in New Issue