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

View File

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