fix style and favicon

This commit is contained in:
ddcat1115 2017-12-01 11:24:05 +08:00
parent 071149cfbb
commit 5458c6a40c
2 changed files with 8 additions and 7 deletions

View File

@ -1,4 +1,5 @@
@header-height: 64px;
@menu-item-border: 2px;
#header {
transition: opacity 0.5s;
@ -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;
}

View File

@ -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"/>