diff --git a/source/css/layout/common/variables.styl b/source/css/layout/common/variables.styl index 646a387..74b726e 100644 --- a/source/css/layout/common/variables.styl +++ b/source/css/layout/common/variables.styl @@ -52,9 +52,8 @@ $z-index-8 = 1008; // =================================== // normal mode color $primary-color = rgba(30, 88, 217, 0.96); // 主题颜色 -//$primary-color = hexo-config('theme_color'); $background-color = #fff; // normal 风格 背景颜色 -$magic-background-color = #f5f5f5; // magic 风格 背景颜色 +$magic-background-color = #fafafa; // magic 风格 背景颜色 $normal-text-color = #43404d; // 通用文本颜色(默认字体颜色) $first-text-color = darken($normal-text-color, 8%); // 第一文本颜色 $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; // "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 = 16px; +$default-font-size = 15.2px; $default-font-line-height = 20px; $default-font-weight = 400; diff --git a/source/css/layout/home-content.styl b/source/css/layout/home-content.styl index fcf449e..5cf24ac 100644 --- a/source/css/layout/home-content.styl +++ b/source/css/layout/home-content.styl @@ -41,8 +41,8 @@ margin: 0; if (hexo-config('magic.enable')) { - padding-bottom: 20px; - border-bottom: 1px solid var(--border-color); + //TODO: .... + } else { a { color: var(--second-text-color); @@ -51,26 +51,25 @@ } + .home-article-content { text-align: justify; if (hexo-config('magic.enable') == true) { - margin: 30px 0 45px 0; + margin: 20px 0; } else { margin: 30px 0; } line-height: 2em; } - .home-article-meta-info { display: flex; justify-content: space-between; align-items: center; color: var(--third-text-color); - if (hexo-config('magic.enable') == true) { font-size: 1em; } else {