style: modified some style

This commit is contained in:
XPoet 2020-09-09 16:30:18 +08:00
parent 9eb8dc941d
commit 532d796bc9
2 changed files with 6 additions and 8 deletions

View File

@ -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;

View File

@ -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 {