From d9c0839082accac7b54391bea7788a5494a0b200 Mon Sep 17 00:00:00 2001 From: Tdxdxoz Date: Fri, 9 Oct 2020 16:18:13 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=E4=BF=AE=E6=94=B9=E7=82=B9=E8=B5=9E?= =?UTF-8?q?=E6=8C=89=E9=92=AE"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 3af0184732f28e1c063a27021819fd3c66f8dca1. --- templates/list.html | 42 ++++++++++++++++++++---------------------- 1 file changed, 20 insertions(+), 22 deletions(-) diff --git a/templates/list.html b/templates/list.html index ad5a99a..0b48eac 100644 --- a/templates/list.html +++ b/templates/list.html @@ -91,24 +91,12 @@ white-space: pre-wrap; } - .like-button { - font-size: 16px; - font-family: 'Noto Serif SC', serif; - margin: 0 5px; - } - - .like-button a { - padding: 1px 3px; - margin-right: 0px; - border: 2px #000 solid; + .like { + fill: #fff; } - .liked, - .liked:hover { - background: #000; - color: #fff; - text-decoration: none; - pointer-events: none; + .liked { + fill: #000; } .timeago { @@ -240,10 +228,20 @@ {% endif %}
- + + + + + + {{c.likeNum}} + +