Browse Source

fix style and favicon

pull/8398/head
ddcat1115 7 years ago
parent
commit
5458c6a40c
  1. 13
      site/theme/static/header.less
  2. 2
      site/theme/static/template.html

13
site/theme/static/header.less

@ -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;
}

2
site/theme/static/template.html

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

Loading…
Cancel
Save