diff --git a/files/assets/css/main.css b/files/assets/css/main.css index 2e0d5ca0f..5113ae3b5 100644 --- a/files/assets/css/main.css +++ b/files/assets/css/main.css @@ -5008,14 +5008,15 @@ img[glow]:not([data-src]) { text-align: center; font-weight: bold; white-space: nowrap; - font-size: 1.3rem; + color: white; + font-size: min(3vw,16px); } @media (max-width: 768px) { .srd { font-size: 1rem; } } -.srd > a { +.srd * { color: white; } #srd-discuss { diff --git a/files/templates/header.html b/files/templates/header.html index 0a6dff6ae..59d806262 100644 --- a/files/templates/header.html +++ b/files/templates/header.html @@ -13,18 +13,45 @@ } -{% if SITE_NAME == 'rDrama' %} -
- {% include "journoid_banner.html" %} -
-{% elif g.loggedin_counter and not err and (SITE_NAME == 'PCM' or g.loggedin_counter+g.loggedout_counter > 100) %} +{% if g.loggedin_counter and not err and (SITE_NAME in ('PCM','rDrama') or g.loggedin_counter+g.loggedout_counter > 100) %}
- {% if v and v.admin_level > 1 %} + {% if v and v.admin_level > 1 and (SITE != 'rdrama.net' or v.id == AEVANN_ID) %} People here now: {{g.loggedin_counter}} logged in, {{g.loggedout_counter}} logged out {% else %} - {{g.loggedin_counter+g.loggedout_counter}} people here now ({{g.loggedin_counter}} logged in) + {% if SITE_NAME == 'rDrama' %} + {% if range(1,3) | random == 1 %} + {% include "journoid_banner.html" %} + {% else %} + {%- + set VISITORS_HERE_FLAVOR = [ + ' incels currently stalking roasties', + ' gooners currently edging to ', + ' fanboys currently obsessing over Carp', + ' postmodern obscurantists currently whistling for dogs', + ' NEETs currently LDARmaxxing', + ' valid women currently dilating ', + ' stochastic terrorists currently writing manifestos', + ' negholes currently being pozzed', + ' bussies currently on standby', + ' gamers currently harassing women', + ' dramanauts hurtling through Safe Space™', + ' Soros shills currently plotting the mayocide', + ' furries currently yiffing', + ' incels currently harassing women ', + ' chuds currently agendaposting', + ' coomers currently gooning', + ' oopsie woopsie fucko boingos narwhaling bacons', + ' well-behaved rule following goodthinkers', + ' throwing shade right now', + ] + -%} + {{g.loggedin_counter+g.loggedout_counter}} {{ VISITORS_HERE_FLAVOR|random|safe }} ({{ g.loggedin_counter }} logged in) + {% endif %} + {% else %} + {{g.loggedin_counter+g.loggedout_counter}} people here now ({{g.loggedin_counter}} logged in) + {% endif %} {% endif %}
{% else %} diff --git a/files/templates/journoid_banner.html b/files/templates/journoid_banner.html index 7cbe760ab..c4aca1664 100644 --- a/files/templates/journoid_banner.html +++ b/files/templates/journoid_banner.html @@ -29,6 +29,6 @@ set JOURNOID_BANNERS = [ -%} {% set journoid = JOURNOID_BANNERS|random %} -{{ journoid[0] }} +{{ journoid[0] }} -(discuss) +(discuss) diff --git a/files/templates/sidebar_rDrama.html b/files/templates/sidebar_rDrama.html index ea12cfa08..a2986326e 100644 --- a/files/templates/sidebar_rDrama.html +++ b/files/templates/sidebar_rDrama.html @@ -1,26 +1,3 @@ -{%- -set VISITORS_HERE_FLAVOR = [ - ' incels currently stalking roasties', - ' gooners currently edging to ', - ' fanboys currently obsessing over Carp', - ' postmodern obscurantists currently whistling for dogs', - ' NEETs currently LDARmaxxing', - ' valid women currently dilating ', - ' stochastic terrorists currently writing manifestos', - ' negholes currently being pozzed', - ' bussies currently on standby', - ' gamers currently harassing women', - ' dramanauts hurtling through Safe Space™', - ' Soros shills currently plotting the mayocide', - ' furries currently yiffing', - ' incels currently harassing women ', - ' chuds currently agendaposting', - ' coomers currently gooning', - ' oopsie woopsie fucko boingos narwhaling bacons', - ' well-behaved rule following goodthinkers', - ' throwing shade right now', -] --%}