diff --git a/layout/_partial/header.ejs b/layout/_partial/header.ejs index 46b8104..4344620 100755 --- a/layout/_partial/header.ejs +++ b/layout/_partial/header.ejs @@ -8,7 +8,7 @@ <% (config.nav_menu || []).forEach(function(value){ %>
  • + class="nav<%= is_current(value.url) ? ' current2 ' : ' ' %>flat-box" href="<%= url_for(value.url) %>">  <%=value.name%>
  • diff --git a/source/less/_header.less b/source/less/_header.less index 1ff9e5a..ddf908e 100755 --- a/source/less/_header.less +++ b/source/less/_header.less @@ -72,7 +72,7 @@ .enable-trans(); display: block; font-size: @fontsize_base; - color: fade(@theme_text_in_header,60%); + color: fade(@theme_text_in_header, 70%); padding: 0 8px; &.current{ border-bottom: 4px solid fade(@theme_base_card_bg, 80%); @@ -218,7 +218,7 @@ box-shadow: @boxshadow_card_normal; // 适合白色导航栏背景 .menu{ ul > li > a{ - color: fade(@theme_base_tint,60%); + color: fade(@theme_base_tint, 70%); &.current{ border-bottom: 4px solid fade(@theme_base_tint, 80%); }