fix zozbot animation
parent
515db1e41c
commit
16af15fd96
|
@ -280,7 +280,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.zozbot, [pride_username], :not(td) > a[href="/h/countryclub"]:not(.hole-flair) {
|
.zozbot, [pride_username], :not(td) > a[href="/h/countryclub"]:not(.hole-flair) {
|
||||||
color: red;
|
color: red !important;
|
||||||
animation: lgbt 3s linear infinite;
|
animation: lgbt 3s linear infinite;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -311,7 +311,7 @@ def execute_zozbot(c, level, post, v):
|
||||||
level=level+1,
|
level=level+1,
|
||||||
is_bot=True,
|
is_bot=True,
|
||||||
body="zoz",
|
body="zoz",
|
||||||
body_html='<p class="zozbot">zoz</p>',
|
body_html='<p>zoz</p>',
|
||||||
top_comment_id=c.top_comment_id,
|
top_comment_id=c.top_comment_id,
|
||||||
ghost=c.ghost,
|
ghost=c.ghost,
|
||||||
distinguished=True
|
distinguished=True
|
||||||
|
@ -329,7 +329,7 @@ def execute_zozbot(c, level, post, v):
|
||||||
level=level+2,
|
level=level+2,
|
||||||
is_bot=True,
|
is_bot=True,
|
||||||
body="zle",
|
body="zle",
|
||||||
body_html='<p class="zozbot">zle</p>',
|
body_html='<p>zle</p>',
|
||||||
top_comment_id=c.top_comment_id,
|
top_comment_id=c.top_comment_id,
|
||||||
ghost=c.ghost,
|
ghost=c.ghost,
|
||||||
distinguished=True
|
distinguished=True
|
||||||
|
@ -346,7 +346,7 @@ def execute_zozbot(c, level, post, v):
|
||||||
level=level+3,
|
level=level+3,
|
||||||
is_bot=True,
|
is_bot=True,
|
||||||
body="zozzle",
|
body="zozzle",
|
||||||
body_html='<p class="zozbot">zozzle</p>',
|
body_html='<p>zozzle</p>',
|
||||||
top_comment_id=c.top_comment_id,
|
top_comment_id=c.top_comment_id,
|
||||||
ghost=c.ghost,
|
ghost=c.ghost,
|
||||||
distinguished=True
|
distinguished=True
|
||||||
|
|
|
@ -200,7 +200,8 @@ def inject_constants():
|
||||||
"CHUD_PHRASES":CHUD_PHRASES, "hasattr":hasattr, "calc_users":calc_users, "HOLE_INACTIVITY_DELETION":HOLE_INACTIVITY_DELETION, "LIGHT_THEMES":LIGHT_THEMES, "NSFW_EMOJIS":NSFW_EMOJIS, "HOLES":HOLES,
|
"CHUD_PHRASES":CHUD_PHRASES, "hasattr":hasattr, "calc_users":calc_users, "HOLE_INACTIVITY_DELETION":HOLE_INACTIVITY_DELETION, "LIGHT_THEMES":LIGHT_THEMES, "NSFW_EMOJIS":NSFW_EMOJIS, "HOLES":HOLES,
|
||||||
"MAX_IMAGE_AUDIO_SIZE_MB":MAX_IMAGE_AUDIO_SIZE_MB, "MAX_IMAGE_AUDIO_SIZE_MB_PATRON":MAX_IMAGE_AUDIO_SIZE_MB_PATRON,
|
"MAX_IMAGE_AUDIO_SIZE_MB":MAX_IMAGE_AUDIO_SIZE_MB, "MAX_IMAGE_AUDIO_SIZE_MB_PATRON":MAX_IMAGE_AUDIO_SIZE_MB_PATRON,
|
||||||
"MAX_VIDEO_SIZE_MB":MAX_VIDEO_SIZE_MB, "MAX_VIDEO_SIZE_MB_PATRON":MAX_VIDEO_SIZE_MB_PATRON,
|
"MAX_VIDEO_SIZE_MB":MAX_VIDEO_SIZE_MB, "MAX_VIDEO_SIZE_MB_PATRON":MAX_VIDEO_SIZE_MB_PATRON,
|
||||||
"CURSORMARSEY_DEFAULT":CURSORMARSEY_DEFAULT, "SNAPPY_ID":SNAPPY_ID, "get_running_orgy":get_running_orgy,
|
"CURSORMARSEY_DEFAULT":CURSORMARSEY_DEFAULT, "SNAPPY_ID":SNAPPY_ID, "ZOZBOT_ID":ZOZBOT_ID, "get_running_orgy":get_running_orgy,
|
||||||
"bar_position":bar_position, "datetime":datetime, "CSS_LENGTH_LIMIT":CSS_LENGTH_LIMIT, "cache":cache, "emoji_count":emoji_count, "HOLE_SIDEBAR_COLUMN_LENGTH":HOLE_SIDEBAR_COLUMN_LENGTH, "HOLE_SNAPPY_QUOTES_LENGTH":HOLE_SNAPPY_QUOTES_LENGTH,
|
"bar_position":bar_position, "datetime":datetime, "CSS_LENGTH_LIMIT":CSS_LENGTH_LIMIT, "cache":cache, "emoji_count":emoji_count, "HOLE_SIDEBAR_COLUMN_LENGTH":HOLE_SIDEBAR_COLUMN_LENGTH, "HOLE_SNAPPY_QUOTES_LENGTH":HOLE_SNAPPY_QUOTES_LENGTH,
|
||||||
"SIDEBAR_REQUEST_THREAD":SIDEBAR_REQUEST_THREAD, "BANNER_REQUEST_THREAD":BANNER_REQUEST_THREAD, "poster_of_the_day":poster_of_the_day,
|
"SIDEBAR_REQUEST_THREAD":SIDEBAR_REQUEST_THREAD, "BANNER_REQUEST_THREAD":BANNER_REQUEST_THREAD, "poster_of_the_day":poster_of_the_day,
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -278,7 +278,7 @@
|
||||||
|
|
||||||
{% set realbody = c.realbody(v) %}
|
{% set realbody = c.realbody(v) %}
|
||||||
{% set tilt = c.award_count('tilt', v) %}
|
{% set tilt = c.award_count('tilt', v) %}
|
||||||
<div id="comment-text-{{c.id}}" class="{{c.award_classes(v)}} comment-text mb-0" {% if tilt %}style="transform: rotate({{tilt}}deg); padding: {{tilt*4}}px min(10vw,{{tilt*10}}px)"{% endif %}>
|
<div id="comment-text-{{c.id}}" class="{{c.award_classes(v)}} comment-text mb-0 {% if c.author_id == ZOZBOT_ID %}zozbot{% endif %}" {% if tilt %}style="transform: rotate({{tilt}}deg); padding: {{tilt*4}}px min(10vw,{{tilt*10}}px)"{% endif %}>
|
||||||
{{realbody | safe}}
|
{{realbody | safe}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue