From 0d7c42b25a4af7e6061fcdfd79d246fc875d9ae9 Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Tue, 6 Nov 2018 10:51:29 +0800 Subject: [PATCH] update --- source/less/_article.less | 30 +++++++++++++++--------------- source/less/_defines.less | 6 +++--- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/source/less/_article.less b/source/less/_article.less index ae4125b..0223e87 100755 --- a/source/less/_article.less +++ b/source/less/_article.less @@ -364,7 +364,7 @@ margin-left: 0; background-color: darken(@theme_bg_code_block, 3%); pre{ - color: fade(@theme_text_main, 35%); + color: fade(@theme_text_main, 80%); } &:hover{ @@ -379,7 +379,7 @@ position: absolute; top: 0; right: 0; - color: fade(@theme_text_main, 60%); + color: fade(@theme_text_main, 80%); font-size: @fontsize_footnote; padding: 4px 8px 0; line-height: @lineheight_base; @@ -387,37 +387,37 @@ } &.html .code:before{ - content: "html"; + content: "HTML"; } &.js .code:before{ - content: "js"; + content: "JS"; } &.bash .code:before{ - content: "bash"; + content: "BASH"; } &.shell .code:before{ - content: "shell"; + content: "SHELL"; } &.css .code:before{ - content: "css"; + content: "CSS"; } &.less .code:before{ - content: "less"; + content: "LESS"; } &.swift .code:before{ - content: "swift"; + content: "SWIFT"; } &.objc .code:before{ - content: "objc"; + content: "OBJC"; } &.c .code:before{ - content: "c"; + content: "C"; } &.java .code:before{ - content: "java"; + content: "JAVA"; } &.python .code:before{ - content: "python"; + content: "PYTHON"; } &.plain .code:before{ content: ""; @@ -501,13 +501,13 @@ pre{ } // 注释 .comment, .title{ - color: fade(@theme_text_main, 50%); + color: fade(@theme_text_main, 60%); } .keyword, .javascript .function, .attr { color: @hl_keyword; } .type, .built_in, .tag .name{ - color: @hl_blue; + color: #e96900; } .variable, .attribute, .regexp, .ruby .constant, .xml .tag .title, .xml .pi, .xml .doctype, .html .doctype, .css .id, .css .class, .css .pseudo { color: @hl_amber; diff --git a/source/less/_defines.less b/source/less/_defines.less index 04bb685..5381933 100755 --- a/source/less/_defines.less +++ b/source/less/_defines.less @@ -26,7 +26,7 @@ @color_grey: #828282; @white: #ffffff; @light: #eeeeee; -@dark: #666666; +@dark: #555555; // mac @color_mac_maximize: #3DC550; @color_mac_minimize: #FFBD2B; @@ -144,9 +144,9 @@ // 卡片标题栏背景 @theme_bg_card_header: @theme_bg_navbar; // 代码的背景色 -@theme_bg_code: fade(@color_mac_maximize, 6%); +@theme_bg_code: fade(@color_mac_minimize, 6%); // 代码块的背景色 -@theme_bg_code_block: fade(@theme_base_main, 70%); +@theme_bg_code_block: fade(@color_mac_minimize, 12%); // 引用的颜色以及分类、归档的 hover 时颜色 @theme_bg_quote: @theme_base_tint; // 文字颜色 ----------------