1
0
mirror of https://github.com/actix/actix-website synced 2024-11-27 18:12:57 +01:00

detail Adjustment

This commit is contained in:
krircc 2018-06-25 15:48:52 +08:00
parent 19be3bbf89
commit cf8f8c9b3e
2 changed files with 5 additions and 3 deletions

View File

@ -171,7 +171,9 @@ img {
padding-top: 0;
list-style: none;
}
.navbar-nav #nav-blog {
display: none;
}
.navbar-nav .language-selector {
position: relative;
}

View File

@ -39,7 +39,7 @@
window.onload = function(){
if (window.location.href.search("cn") == -1) {
document.getElementById("nav-blog").style.display = "none"
if (window.location.href.search("cn") != -1) {
document.getElementById("nav-blog").style.display = "inline"
}
}