提交 934a6d39 编写于 作者: L LiuYongFeng 提交者: GitHub

update menu style

上级 1d808a99
...@@ -2398,19 +2398,22 @@ header.site-header .top-nav .site-links > li > a { ...@@ -2398,19 +2398,22 @@ header.site-header .top-nav .site-links > li > a {
line-height: 60px; line-height: 60px;
padding: 0 20px; padding: 0 20px;
color: rgba(255, 255, 255, 0.7); color: rgba(255, 255, 255, 0.7);
/*&.active,*/
} }
header.site-header .top-nav .site-links > li > a.active,
header.site-header .top-nav .site-links > li > a:hover { header.site-header .top-nav .site-links > li > a:hover {
color: #fff; color: #0073eb;
background-color: #222222;
} }
header.site-header .top-nav .version-switcher { header.site-header .top-nav .version-switcher {
position: relative; position: relative;
display: inline-block; display: inline-block;
width: 100px;
height: 60px; height: 60px;
float: left; float: left;
} }
header.site-header .top-nav .version-switcher:hover > a { header.site-header .top-nav .version-switcher:hover > a {
color: #fff; color: #fff;
cursor: default;
} }
header.site-header .top-nav .version-switcher:hover > a .fa::before { header.site-header .top-nav .version-switcher:hover > a .fa::before {
content: "\F106"; content: "\F106";
...@@ -2427,10 +2430,10 @@ header.site-header .top-nav .version-switcher > a .fa::before { ...@@ -2427,10 +2430,10 @@ header.site-header .top-nav .version-switcher > a .fa::before {
} }
header.site-header .top-nav .version-switcher ul { header.site-header .top-nav .version-switcher ul {
display: none; display: none;
top: 50px; top: 60px;
width: 60px; width: 100px;
text-align: center; text-align: center;
line-height: 30px; line-height: 50px;
background: rgba(0, 0, 0, 0.85); background: rgba(0, 0, 0, 0.85);
color: #0073eb; color: #0073eb;
position: absolute; position: absolute;
...@@ -2438,9 +2441,13 @@ header.site-header .top-nav .version-switcher ul { ...@@ -2438,9 +2441,13 @@ header.site-header .top-nav .version-switcher ul {
} }
header.site-header .top-nav .version-switcher ul > li > a { header.site-header .top-nav .version-switcher ul > li > a {
color: #ababab; color: #ababab;
width: 99px;
height: 50px;
display: block;
} }
header.site-header .top-nav .version-switcher ul > li > a:hover { header.site-header .top-nav .version-switcher ul > li > a:hover {
color: #0073eb; color: #0073eb;
background-color: #222;
} }
header.site-header .top-nav .version-switcher:hover ul { header.site-header .top-nav .version-switcher:hover ul {
display: inline-block; display: inline-block;
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册