fix
This commit is contained in:
@ -1048,14 +1048,28 @@ table {
|
||||
table {
|
||||
border-spacing: 2px;
|
||||
}
|
||||
|
||||
|
||||
li.blog-list {
|
||||
li.blog-list-first {
|
||||
background-color: #fff;
|
||||
padding:10px 40px;;
|
||||
border: solid 1px #eee;
|
||||
display: block;
|
||||
}
|
||||
|
||||
li.blog-list span.blog-date {
|
||||
li.blog-list-first span.blog-date {
|
||||
float:left;
|
||||
padding: 0 20px;
|
||||
}
|
||||
|
||||
li.blog-list-all {
|
||||
background-color: #fff;
|
||||
padding:10px 40px;;
|
||||
border: solid 1px #eee;
|
||||
display: none;
|
||||
}
|
||||
|
||||
li.blog-list-all span.blog-date {
|
||||
float:left;
|
||||
padding: 0 20px;
|
||||
}
|
||||
|
11
static/js/index.js
Normal file
11
static/js/index.js
Normal file
@ -0,0 +1,11 @@
|
||||
function blog_list_open() {
|
||||
var b = document.querySelectorAll("li.blog-list-all");
|
||||
var index = 0, length = b.length;
|
||||
for ( ; index < length; index++) {
|
||||
if (b[index].style.display == 'none') {
|
||||
b[index].style.display = 'block';
|
||||
} else {
|
||||
b[index].style.display = 'none';
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user