From 0d02e55abbe9da24130e1cad9ea16b6b11d3938b Mon Sep 17 00:00:00 2001 From: Tdxdxoz Date: Sun, 12 Dec 2021 23:51:34 +0800 Subject: [PATCH] grey theme --- static/index.html | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/static/index.html b/static/index.html index b7f6efe..845b9ef 100644 --- a/static/index.html +++ b/static/index.html @@ -129,7 +129,7 @@ } .comment-list { - background: #f0f0f0; + background: #3333; padding-left: 30px; font-size: 80%; } @@ -170,6 +170,7 @@

本站

+
加载中.. @@ -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") + }); + });