1
0
mirror of https://github.com/actix/actix-website synced 2025-06-27 07:29:02 +02:00

clean code add new cn site

This commit is contained in:
krircc
2018-06-25 22:52:00 +08:00
parent cf8f8c9b3e
commit bc5989fa38
38 changed files with 3 additions and 3349 deletions

View File

@ -171,9 +171,7 @@ img {
padding-top: 0;
list-style: none;
}
.navbar-nav #nav-blog {
display: none;
}
.navbar-nav .language-selector {
position: relative;
}
@ -405,22 +403,6 @@ img {
text-decoration: none;
}
/*
*
* ===== blog =====
*
*/
#collapsing-docnav details {
border: none;
}
#collapsing-docnav details summary {
font-size: 1.2rem;
font-weight: bold;
margin-bottom: 0.8rem;
}
#collapsing-docnav details ul {
margin: 1rem;
}
/*
*

View File

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