style: some file styles have been updated
This commit is contained in:
parent
2f1f0d62e3
commit
83b147499b
16
_config.yml
16
_config.yml
|
@ -24,24 +24,24 @@ comments:
|
|||
# Valine.
|
||||
# more info please open https://github.com/xCss/Valine
|
||||
valine:
|
||||
enable: false
|
||||
appid: # your leancloud application appid
|
||||
appkey: # your leancloud application appkey
|
||||
enable: true
|
||||
appid: ih2nzG3ilVNdLgJK4kBXTjOq-gzGzoHsz
|
||||
appkey: gdf6tXXLBTLg9qpjS2y6Tbw7
|
||||
notify: false # mail notifier, https://github.com/xCss/Valine/wiki
|
||||
verify: false # Verification code
|
||||
placeholder: your placeholder
|
||||
placeholder: 填写昵称和邮箱才能收到回复通知哦 ~
|
||||
|
||||
# Show PV/UV of the website/page with busuanzi.
|
||||
# Get more information on http://ibruce.info/2015/04/04/busuanzi/
|
||||
busuanzi_count:
|
||||
# count values only if the other configs are false
|
||||
enable: false
|
||||
enable: true
|
||||
# custom uv span for the whole site
|
||||
site_uv: false
|
||||
site_uv: true
|
||||
# custom pv span for the whole site
|
||||
site_pv: false
|
||||
site_pv: true
|
||||
# custom pv span for one page only
|
||||
page_pv: false
|
||||
page_pv: true
|
||||
|
||||
# Local Search
|
||||
# Dependencies: https://github.com/theme-next/hexo-generator-searchdb
|
||||
|
|
|
@ -0,0 +1,58 @@
|
|||
# theme basic info
|
||||
theme_info:
|
||||
name: ILS
|
||||
version: 1.0.0
|
||||
author: XPoet
|
||||
repository: https://github.com/XPoet/hexo-theme-ils
|
||||
|
||||
# navigation menu
|
||||
menu:
|
||||
Home: /
|
||||
Archives: /archives
|
||||
About: /about
|
||||
# Links: /links
|
||||
# ...
|
||||
|
||||
# RSS
|
||||
rss: /atom.xml
|
||||
|
||||
# favicon
|
||||
favicon: images/favicon.png
|
||||
|
||||
# comment plugin
|
||||
comments:
|
||||
# Valine.
|
||||
# more info please open https://github.com/xCss/Valine
|
||||
valine:
|
||||
enable: false
|
||||
appid: # your leancloud application appid
|
||||
appkey: # your leancloud application appkey
|
||||
notify: false # mail notifier, https://github.com/xCss/Valine/wiki
|
||||
verify: false # Verification code
|
||||
placeholder: your placeholder
|
||||
|
||||
# Show PV/UV of the website/page with busuanzi.
|
||||
# Get more information on http://ibruce.info/2015/04/04/busuanzi/
|
||||
busuanzi_count:
|
||||
# count values only if the other configs are false
|
||||
enable: false
|
||||
# custom uv span for the whole site
|
||||
site_uv: false
|
||||
# custom pv span for the whole site
|
||||
site_pv: false
|
||||
# custom pv span for one page only
|
||||
page_pv: false
|
||||
|
||||
# Local Search
|
||||
# Dependencies: https://github.com/theme-next/hexo-generator-searchdb
|
||||
local_search:
|
||||
enable: false
|
||||
# If auto, trigger search by changing input.
|
||||
# If manual, trigger search by pressing enter key or search button.
|
||||
trigger: auto
|
||||
# Show top n results per article, show all results by setting to -1
|
||||
top_n_per_article: 1
|
||||
# Unescape html strings to the readable one.
|
||||
unescape: false
|
||||
# Preload the search data when the page loads.
|
||||
preload: false
|
|
@ -1,6 +1,5 @@
|
|||
<% if(page.title == 'about') { %>
|
||||
<div class="about-container">
|
||||
<div class="about-content markdown">
|
||||
<div class="about-container">
|
||||
<div class="about-content markdown-body">
|
||||
<%- page.content %>
|
||||
</div>
|
||||
<div class="about-comments">
|
||||
|
@ -8,5 +7,4 @@
|
|||
<%- partial('_partial/valine') %>
|
||||
<% } %>
|
||||
</div>
|
||||
</div>
|
||||
<% } %>
|
||||
</div>
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
font-weight: bold;
|
||||
letter-spacing: 1px;
|
||||
color: var(--first-text-color);
|
||||
transform-origin: left center;
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
|
||||
|
@ -222,7 +222,6 @@
|
|||
|
||||
|
||||
.header-wrapper-shrink {
|
||||
//background: var(--background-color);
|
||||
box-shadow: 0 1px 2px var(--border-color);
|
||||
|
||||
.header-content {
|
||||
|
|
|
@ -95,7 +95,9 @@
|
|||
|
||||
.info {
|
||||
.txt-right {
|
||||
display none
|
||||
//display: none;
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.about-container {
|
||||
|
||||
.about-content {
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
}
|
|
@ -25,14 +25,14 @@ $z-index-6 = 1006;
|
|||
// color
|
||||
// ===============================
|
||||
// normal mode color
|
||||
$primary-color = #f05026; // 主题颜色
|
||||
$primary-color = #0b6ff0; // 主题颜色
|
||||
$background-color = #fdfdfd; // 背景颜色
|
||||
$normal-text-color = #535163; // 通用文本颜色(默认字体颜色)
|
||||
$first-text-color = darken($normal-text-color, 20%); // 第一文本颜色
|
||||
$second-text-color = darken($normal-text-color, 10%); // 第二文本颜色
|
||||
$normal-text-color = #44424e; // 通用文本颜色(默认字体颜色)
|
||||
$first-text-color = darken($normal-text-color, 15%); // 第一文本颜色
|
||||
$second-text-color = darken($normal-text-color, 5%); // 第二文本颜色
|
||||
$third-text-color = lighten($normal-text-color, 30%); // 第三文本颜色
|
||||
$border-color = darken($background-color, 15%); // 边框颜色
|
||||
$selection-color = lighten($primary-color, 8%);
|
||||
$selection-color = lighten($primary-color, 20%);
|
||||
|
||||
// dark mode color
|
||||
$dark-primary-color = $primary-color;
|
||||
|
@ -53,7 +53,7 @@ $dark-selection-color = $selection-color;
|
|||
//$default-font-family = 'Microsoft YaHei', 'SimHei', 'WenQuanYi Micro Hei', sans-serif;
|
||||
//$default-font-family = "Exo 2", "Trebuchet MS", "Helvetica", "Arial";
|
||||
$default-font-family = Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, 'PingFang SC', Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
|
||||
$default-font-size = 14px;
|
||||
$default-font-size = 15px;
|
||||
$default-font-line-height = 20px;
|
||||
$default-font-weight = 400;
|
||||
|
||||
|
|
|
@ -12,17 +12,17 @@
|
|||
.home-article-title {
|
||||
position: relative;
|
||||
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
left: -16px;
|
||||
width: 3px;
|
||||
height: 22px;
|
||||
background: $primary-color;
|
||||
transition: all 0.5s ease;
|
||||
}
|
||||
//&::before {
|
||||
// content: '';
|
||||
// position: absolute;
|
||||
// top: 50%;
|
||||
// transform: translateY(-50%);
|
||||
// left: -12px;
|
||||
// width: 3px;
|
||||
// height: 22px;
|
||||
// background: var(--primary-color);
|
||||
// transition: all 0.5s ease;
|
||||
//}
|
||||
|
||||
font-weight: 600;
|
||||
color: var(--second-text-color);
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
@import "layout/_partial/header.styl"
|
||||
@import "layout/_partial/tools.styl"
|
||||
@import "layout/_partial/footer.styl"
|
||||
@import "layout/about.styl"
|
||||
@import "layout/_partial/article-meta-info.styl"
|
||||
@import "layout/home-content.styl"
|
||||
@import "layout/archive-content.styl"
|
||||
|
|
Loading…
Reference in New Issue