From 6df4c87dbed92bb6c63203337039a585f5be716e Mon Sep 17 00:00:00 2001 From: Tdxdxoz Date: Sun, 15 Nov 2020 22:12:25 +0800 Subject: [PATCH] =?UTF-8?q?=E8=88=8D=E5=BC=83=E6=B5=B7=E6=8A=A5=20?= =?UTF-8?q?=E8=83=8C=E6=99=AF=E5=85=A8=E8=A6=86=E7=9B=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/list.html | 41 ++++------------------------------------- 1 file changed, 4 insertions(+), 37 deletions(-) diff --git a/templates/list.html b/templates/list.html index e08a920..a045899 100644 --- a/templates/list.html +++ b/templates/list.html @@ -80,17 +80,12 @@ color: white; } - .twin.new .qbox input, - .twin.new .qbox textarea { + .new .qbox input, + .new .qbox textarea { + border: none; border-bottom: 2px solid; background: black; color: white; - } - - .twin .qbox input, - .twin .qbox textarea { - border: none; - border-bottom: 1px solid; border-radius: 0; } @@ -135,14 +130,6 @@ transition-duration: 0.5s; } - .poster { - position: absolute; - top: 0; - right: 0; - margin: 0 0 30px 20px; - width: 90%; - border: 2px black solid; - } .twin { overflow: hidden; } @@ -182,7 +169,7 @@ - +
@@ -212,12 +199,6 @@
-
- - - -
- @@ -337,20 +318,6 @@ $(document).ready(function(){ if(window.innerWidth > 1000) showNew(); $('.timeago').timeago(); - - $('.twin').click((e) => { - showNew(); - if($(e.currentTarget).hasClass('front')) - return; - let behind_box = $('.behind'); - let front_box = $('.front'); - behind_box.toggleClass('behind front'); - front_box.toggleClass('front behind'); - setTimeout(() => { - $('.poster.front a').attr('href', '/img/ord_fudan/poster.jpg'); - $('.poster.behind a').removeAttr('href'); - }, 300); - }); });