Browse Source

舍弃海报 背景全覆盖

fudan
欧醚 4 years ago
parent
commit
6df4c87dbe
Signed by: OmmyZhang GPG Key ID: 757D312E7C9D13F7
1 changed files with 4 additions and 37 deletions
  1. +4
    -37
      templates/list.html

+ 4
- 37
templates/list.html View File

@ -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 @@
</style>
</head>
<body style="background: #fff url('/img/ord_fudan/bg_sm.jpg') repeat-x fixed center top / 190px">
<body style="background: #fff url('/img/ord_fudan/bg_sm.jpg') repeat fixed center top / 250px">
<div class="container" style="overflow: hidden;min-height: 100vh">
<div style='padding:15px'>
<img src="/img/ord_fudan/logo_sm.png" width="200px" />
@ -212,12 +199,6 @@
</div>
<div class="poster twin-collapse twin behind">
<a target="_blank">
<img src="/img/ord_fudan/poster_sm.jpg" width="100%">
</a>
</div>
<a href="##" onclick="showNew()" class="show-mask">
<span>
<svg fill="#fff" viewBox="0 12 24 48" width="24">
@ -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);
});
});
</script>

Loading…
Cancel
Save