forked from rDrama/rDrama
Merge branch 'master' of https://github.com/Aevann1/Drama
commit
9f8a398e74
|
@ -1,26 +1,4 @@
|
|||
<style>
|
||||
.anchor::before {
|
||||
display: block;
|
||||
content: " ";
|
||||
height: 110px;
|
||||
visibility: hidden;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.anchor:target {
|
||||
background-color: #ffa;
|
||||
animation: highlight 2s;
|
||||
}
|
||||
|
||||
@keyframes highlight {
|
||||
0% {
|
||||
background-color: #ffa;
|
||||
}
|
||||
50% {
|
||||
background-color: initial;
|
||||
}
|
||||
}
|
||||
|
||||
a.comment-anchor {
|
||||
display: block;
|
||||
position: relative;
|
||||
|
@ -182,6 +160,8 @@
|
|||
|
||||
<div id="comment-{{c.id}}" class="anchor {% if c.unread %}context{% endif %} comment {% if standalone and level==1 %} mt-0{% endif %}{% if c.collapse_for_user(v) or (standalone and c.over_18 and not (v and v.over_18)) %} collapsed{% endif %}" style="border-left: 2px solid #{{c.author.namecolor}}; {% if c.unread %}padding: 10px 10px 10px !important;{% endif %}">
|
||||
|
||||
<a class="comment-anchor" id="comment-{{c.id}}"></a>
|
||||
|
||||
<span class="comment-collapse-desktop d-none d-md-block" {% if not c.unread %}style="border-left: 2px solid #{{c.author.namecolor}};"{% endif %} onclick="collapse_comment('{{c.id}}')"></span>
|
||||
<div class="comment-body">
|
||||
|
||||
|
|
Loading…
Reference in New Issue