Skip to content

Commit

Permalink
fix style and favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
ddcat1115 committed Dec 1, 2017
1 parent 071149c commit 5458c6a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
13 changes: 7 additions & 6 deletions site/theme/static/header.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@header-height: 64px;
@menu-item-border: 2px;

#header {
transition: opacity 0.5s;
Expand Down Expand Up @@ -91,19 +92,19 @@

& > .ant-menu-item {
height: @header-height;
line-height: @header-height;
line-height: @header-height - @menu-item-border * 2;
min-width: 72px;
border-top: 2px solid transparent;
border-top: @menu-item-border solid transparent;

&:hover {
border-top: 2px solid @primary-color;
border-bottom: 2px solid transparent;
border-top: @menu-item-border solid @primary-color;
border-bottom: @menu-item-border solid transparent;
}
}

& > .ant-menu-item-selected {
border-top: 2px solid @primary-color;
border-bottom: 2px solid transparent;
border-top: @menu-item-border solid @primary-color;
border-bottom: @menu-item-border solid transparent;
a {
color: @primary-color;
}
Expand Down
2 changes: 1 addition & 1 deletion site/theme/static/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
document.documentElement.className += isZhCN(pathname) ? 'zh-cn' : 'en-us';
})()
</script>
<link rel="icon" href="https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg" type="image/x-icon">
<link rel="icon" href="https://gw.alipayobjects.com/zos/rmsportal/rlpTLlbMzTNYuZGGCVYM.png" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="{{ root }}index-1.css"/>
<link rel="stylesheet" type="text/css" href="{{ root }}index-2.css"/>
<link rel="stylesheet/less" type="text/css" href="{{ root }}color.less"/>
Expand Down

0 comments on commit 5458c6a

Please sign in to comment.