style: modified some style
This commit is contained in:
parent
9eb8dc941d
commit
532d796bc9
|
@ -52,9 +52,8 @@ $z-index-8 = 1008;
|
||||||
// ===================================
|
// ===================================
|
||||||
// normal mode color
|
// normal mode color
|
||||||
$primary-color = rgba(30, 88, 217, 0.96); // 主题颜色
|
$primary-color = rgba(30, 88, 217, 0.96); // 主题颜色
|
||||||
//$primary-color = hexo-config('theme_color');
|
|
||||||
$background-color = #fff; // normal 风格 背景颜色
|
$background-color = #fff; // normal 风格 背景颜色
|
||||||
$magic-background-color = #f5f5f5; // magic 风格 背景颜色
|
$magic-background-color = #fafafa; // magic 风格 背景颜色
|
||||||
$normal-text-color = #43404d; // 通用文本颜色(默认字体颜色)
|
$normal-text-color = #43404d; // 通用文本颜色(默认字体颜色)
|
||||||
$first-text-color = darken($normal-text-color, 8%); // 第一文本颜色
|
$first-text-color = darken($normal-text-color, 8%); // 第一文本颜色
|
||||||
$second-text-color = darken($normal-text-color, 4%); // 第二文本颜色
|
$second-text-color = darken($normal-text-color, 4%); // 第二文本颜色
|
||||||
|
@ -84,7 +83,7 @@ $dark-selection-color = $selection-color;
|
||||||
// 'Microsoft YaHei', 'SimHei', 'WenQuanYi Micro Hei', sans-serif;
|
// 'Microsoft YaHei', 'SimHei', 'WenQuanYi Micro Hei', sans-serif;
|
||||||
// "Exo 2", "Trebuchet MS", "Helvetica", "Arial";
|
// "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-family = Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, 'PingFang SC', Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
|
||||||
$default-font-size = 16px;
|
$default-font-size = 15.2px;
|
||||||
$default-font-line-height = 20px;
|
$default-font-line-height = 20px;
|
||||||
$default-font-weight = 400;
|
$default-font-weight = 400;
|
||||||
|
|
||||||
|
|
|
@ -41,8 +41,8 @@
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
||||||
if (hexo-config('magic.enable')) {
|
if (hexo-config('magic.enable')) {
|
||||||
padding-bottom: 20px;
|
//TODO: ....
|
||||||
border-bottom: 1px solid var(--border-color);
|
|
||||||
} else {
|
} else {
|
||||||
a {
|
a {
|
||||||
color: var(--second-text-color);
|
color: var(--second-text-color);
|
||||||
|
@ -51,26 +51,25 @@
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.home-article-content {
|
.home-article-content {
|
||||||
|
|
||||||
text-align: justify;
|
text-align: justify;
|
||||||
|
|
||||||
if (hexo-config('magic.enable') == true) {
|
if (hexo-config('magic.enable') == true) {
|
||||||
margin: 30px 0 45px 0;
|
margin: 20px 0;
|
||||||
} else {
|
} else {
|
||||||
margin: 30px 0;
|
margin: 30px 0;
|
||||||
}
|
}
|
||||||
line-height: 2em;
|
line-height: 2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.home-article-meta-info {
|
.home-article-meta-info {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
color: var(--third-text-color);
|
color: var(--third-text-color);
|
||||||
|
|
||||||
|
|
||||||
if (hexo-config('magic.enable') == true) {
|
if (hexo-config('magic.enable') == true) {
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue