update navbar

i18n
xaoxuu 6 years ago
parent 272ed8d53c
commit 2f15cbe514
  1. 2
      source/less/_defines.less
  2. 12
      source/less/_header.less

@ -108,7 +108,7 @@
// start: 导航栏 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// 导航栏高度
@height_navbar: 54px;
@fontsize_logo: 1.3em;
@fontsize_logo: @fontsize_base * 1.2;
@fontsize_header_switcher: 1.3em;
@fontsize_header: 1em;
// end: 导航栏 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

@ -19,7 +19,7 @@
// padding-left: 0;
@media(max-width: @on_phone){
padding-left: @gap;
padding-right: @gap/2;
padding-right: 0;
font-size: @fontsize_base;
}
}
@ -44,7 +44,7 @@
}
.logo {
padding: 0 @gap;
font-size: @fontsize_base * 1.2;
font-size: @fontsize_logo;
font-family: @fontfamily_logo;
@media(max-width: @on_phone){
flex: auto;
@ -59,7 +59,7 @@
ul > li > a{
.enable-trans();
display: block;
font-size: @fontsize_base * .95;
font-size: @fontsize_base;
color: fade(@theme_text_in_header,60%);
padding: 0 8px;
&:hover,&.active{
@ -117,6 +117,7 @@
}
@media(max-width: @on_phone){
display: flex;
padding-left: @gap/2;
padding-right: @gap;
}
}
@ -142,6 +143,7 @@
}
}
}
.m_search {
position: relative;
height: @height_navbar - @gap;
@ -167,7 +169,6 @@
top: 0;
left: @gap/2;
font-size: @fontsize_small;
}
.input {
display:block;
@ -207,7 +208,6 @@
color: @black;
}
}
}
.menu-phone{
@ -247,7 +247,7 @@
position: relative;
display: block;
color: @black;
font-size: 0.8125em;
// font-size: 0.8125em;
padding: 2px 20px;
border-left: 2px solid transparent;
&:hover{

Loading…
Cancel
Save