fix(site): some style

This commit is contained in:
afc163 2016-03-22 19:19:37 +08:00
parent 235de43605
commit 84f904d03c
2 changed files with 63 additions and 52 deletions

View File

@ -10,7 +10,7 @@ body {
}
body {
font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",SimSun,sans-serif;
font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",SimSun,sans-serif;
line-height: 1.5;
color: #666;
font-size: 14px;
@ -19,6 +19,10 @@ body {
overflow-x: hidden;
}
a {
transition: color .3s ease;
}
.main-wrapper {
background: #fff;
width: 92%;
@ -42,7 +46,9 @@ body {
.sidebar {
padding-bottom: 50px;
&.ant-menu-inline > .ant-menu-item {
&.ant-menu-inline .ant-menu-submenu-title h4,
&.ant-menu-inline > .ant-menu-item,
&.ant-menu-inline .ant-menu-item a {
font-size: 14px;
}

View File

@ -1,9 +1,7 @@
@header-height: 80px;
#header {
animation: xRightMatrix .5s ease-out;
transition: opacity 0.5S;
transition: opacity 0.5s;
background: #fff;
border-bottom: 1px solid #eee;
height: @header-height;
@ -13,23 +11,22 @@
}
#logo {
animation: xLeftMatrix .5s ease-out;
transition: margin 0.3s cubic-bezier(0.075, 0.82, 0.165, 1) 0s, width 0.3s cubic-bezier(0.075, 0.82, 0.165, 1) 0s, height 0.3s cubic-bezier(0.075, 0.82, 0.165, 1) 0s;
float: left;
height: 60px;
margin: 20px 45px 20px 0;
}
#logo img {
height: 40px;
width: 40px;
margin-right: 8px;
}
#logo span {
color: #6EB4E0;
float: right;
font-size: 14px;
font-family: "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", sans-serif;
font-family: "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
height: 40px;
line-height: 40px;
text-transform: uppercase;
@ -42,6 +39,7 @@
padding-left: 30px;
margin: 32px auto 0;
}
#search-box .ant-select {
font-size: 14px;
margin-top: -2px;
@ -58,11 +56,18 @@
float: right;
font-size: 14px;
}
#nav li {
height: @header-height;
line-height: @header-height;
width: 86px;
width: 72px;
text-align: center;
border-bottom-width: 3px;
&.ant-menu-item-selected a {
color: #2db7f5;
font-weight: bold;
}
}
.ant-component-decs {