Browse Source

grey theme

master
欧醚 2 years ago
parent
commit
0d02e55abb
1 changed files with 12 additions and 4 deletions
  1. +12
    -4
      static/index.html

+ 12
- 4
static/index.html View File

@ -129,7 +129,7 @@
}
.comment-list {
background: #f0f0f0;
background: #3333;
padding-left: 30px;
font-size: 80%;
}
@ -170,6 +170,7 @@
<div class="part2" id="part2">
<h1>本站</h1>
<button class="btn btn-link grey_theme">降低亮度</button>
<div id="statuses-list">
</div>
<span id="loading-span">加载中..</span>
@ -385,10 +386,17 @@
get_more_statuses();
$(window).scroll(() => {
if($('#loading-span').offset().top < $(window).scrollTop() + $(window).innerHeight() && !loading_statues) {
get_more_statuses();
}
});
get_more_statuses();
}
});
}
$('.grey_theme').click((e) => {
$('#statuses-list .qbox').css("background", "#b0b0b0");
$('body').css("background", "#909090");
$('#statuses-list textarea').css("background", "#b0b0b0")
});
});
</script>

Loading…
Cancel
Save