diff --git a/files/assets/css/awards.css b/files/assets/css/awards.css index 2fff07070..8907c0a2d 100644 --- a/files/assets/css/awards.css +++ b/files/assets/css/awards.css @@ -21,8 +21,8 @@ .emoji-award img, .emoji-hz-award img { width: min(60px, 13vw) !important; - height: min(90px, 19.5vw) !important; - object-fit: contain; + height: min(90px, 19.5vw) !important; + object-fit: contain; } .emoji-award:nth-child(even) { @@ -119,7 +119,7 @@ } .emoji-hz-award:nth-child(odd) img.reversed { - transform: scaleX(1); + transform: scaleX(1); } /*confetti*/ @@ -299,5 +299,5 @@ .author-bitten { filter: grayscale(100%) brightness(80%); - color: #a0a0a0 !important; + color: #a0a0a0 !important; } diff --git a/files/assets/css/chat.css b/files/assets/css/chat.css index 722547258..ea0a45a0e 100644 --- a/files/assets/css/chat.css +++ b/files/assets/css/chat.css @@ -153,7 +153,7 @@ lite-youtube { .quotes { max-width: 80%; - overflow-y: hidden; + overflow-y: hidden; } .resizable > video { @@ -183,8 +183,8 @@ img[alt^="![]("], .img { } h1, h2, h3, h4, h5, h6 { - margin-top: 0.3rem; - margin-bottom: 0.3rem; + margin-top: 0.3rem; + margin-bottom: 0.3rem; } @media (max-width: 768px) { @@ -201,7 +201,7 @@ h1, h2, h3, h4, h5, h6 { } #message *:not(#typing-indicator *) { - vertical-align: middle; + vertical-align: middle; } .patron[style*="background-color:#ffffff"] { @@ -222,5 +222,5 @@ h1, h2, h3, h4, h5, h6 { } *:target { - scroll-margin-top: 35vh; + scroll-margin-top: 35vh; } diff --git a/files/assets/css/dark_themes.css b/files/assets/css/dark_themes.css index 631b9d2da..860627320 100644 --- a/files/assets/css/dark_themes.css +++ b/files/assets/css/dark_themes.css @@ -17,9 +17,9 @@ lite-youtube, iframe { } code { - color: #f679b2; + color: #f679b2; } .dataTables_wrapper .dataTables_length select { - background-color: black !important; + background-color: black !important; } diff --git a/files/assets/css/datatables.css b/files/assets/css/datatables.css index 24d51ea39..ff0bd92c4 100644 --- a/files/assets/css/datatables.css +++ b/files/assets/css/datatables.css @@ -9,5 +9,5 @@ } .paginate_button.current { - background-color: var(--primary) !important; + background-color: var(--primary) !important; } diff --git a/files/assets/css/main.css b/files/assets/css/main.css index ba74498b8..b7172feed 100644 --- a/files/assets/css/main.css +++ b/files/assets/css/main.css @@ -5182,7 +5182,7 @@ span.green { .effortpost-flair { padding: 5px 5px 4px 5px !important; z-index: 2; - position: relative; + position: relative; } .patron[style*="background-color:#ffffff"] { color: black !important; @@ -7653,12 +7653,12 @@ blink { .admin-note + div + :not(.admin-note) { border-top: 2px solid var(--primary) !important; - margin-top: 4rem !important; - margin-bottom: 4rem !important; + margin-top: 4rem !important; + margin-bottom: 4rem !important; } details { - margin-bottom: 1rem; + margin-bottom: 1rem; } details:not([open]) { @@ -7678,7 +7678,7 @@ thead { margin-left: -5px; cursor: pointer; text-decoration: none !important; - z-index: -1; + z-index: -1; position: absolute; } @@ -7743,7 +7743,7 @@ img[alpha]:not([alt*="#"]) { margin-bottom: 4rem; border: 2px solid var(--gray-400); border-radius: 0.35rem; - overflow-y: scroll; + overflow-y: scroll; padding: 1rem; } @@ -7755,7 +7755,7 @@ img[alpha]:not([alt*="#"]) { .hole-settings-section textarea { height: 500px; - width: 100%; + width: 100%; resize: vertical !important; } @@ -7769,7 +7769,7 @@ img[alpha]:not([alt*="#"]) { } .hole-settings-section h4 { - margin-top: 0.25rem; + margin-top: 0.25rem; } td[data-time] { diff --git a/files/assets/css/orgy.css b/files/assets/css/orgy.css index f2d6ced3e..6dc12b215 100644 --- a/files/assets/css/orgy.css +++ b/files/assets/css/orgy.css @@ -11,7 +11,7 @@ } #chat-window { - max-height: calc(100vh - 210px); + max-height: calc(100vh - 210px); } @media (max-width: 768px) { diff --git a/files/assets/css/themes/classic.css b/files/assets/css/themes/classic.css index 1340db12e..74ea40f8e 100644 --- a/files/assets/css/themes/classic.css +++ b/files/assets/css/themes/classic.css @@ -194,25 +194,25 @@ blockquote a { } #bank-statement { - border: 1px solid var(--black) !important; + border: 1px solid var(--black) !important; } .pagination > .page-item { - background: rgb(var(--background)) !important; + background: rgb(var(--background)) !important; } .sorting { - margin-top: 0.7rem; + margin-top: 0.7rem; } .sorting > div > .dropdown.dropdown-actions, .sorting > div > form { - border: 1px solid; + border: 1px solid; } .sorting > div > .dropdown.dropdown-actions.mr-2 { - margin-right: 0 !important; + margin-right: 0 !important; } .sorting > div > .dropdown.dropdown-actions:last-child { - margin-right: 1rem; + margin-right: 1rem; } diff --git a/files/assets/events/fistmas/css/main_fistmas.css b/files/assets/events/fistmas/css/main_fistmas.css index 90f2cb67f..b3785176d 100644 --- a/files/assets/events/fistmas/css/main_fistmas.css +++ b/files/assets/events/fistmas/css/main_fistmas.css @@ -355,7 +355,7 @@ body { } #mobile-bottom-navigation-bar > .btn { - background: none !important; + background: none !important; } /* Revert the snowcaps on it, is bad */ @@ -390,15 +390,15 @@ blockquote { } .notif-count { - padding: 5px 5px 2px 5px; + padding: 5px 5px 2px 5px; } .toast-body { - padding: 1rem 0.75rem 0.75rem 0.75rem; + padding: 1rem 0.75rem 0.75rem 0.75rem; } .alert { - padding: 0.75rem 3rem 0.5rem 1rem; + padding: 0.75rem 3rem 0.5rem 1rem; } .pagination-sm .page-link { diff --git a/files/assets/events/homoween/css/main_homoween.css b/files/assets/events/homoween/css/main_homoween.css index b1d26429f..48f4372fa 100644 --- a/files/assets/events/homoween/css/main_homoween.css +++ b/files/assets/events/homoween/css/main_homoween.css @@ -724,7 +724,7 @@ body::after { } .post-flair { - padding-top: 5px !important; + padding-top: 5px !important; } .has_header { diff --git a/files/assets/js/emoji_modal/emoji_modal.js b/files/assets/js/emoji_modal/emoji_modal.js index e2737404d..03ca5bcde 100644 --- a/files/assets/js/emoji_modal/emoji_modal.js +++ b/files/assets/js/emoji_modal/emoji_modal.js @@ -22,14 +22,14 @@ const favorite_emojis = JSON.parse(localStorage.getItem("favorite_emojis")) || { let emojiDOMs = {}; function intersect(...sets) { - if (!sets.length) return new Set(); - const i = sets.reduce((m, s, i) => s.size < sets[m].size ? i : m, 0); - const [smallest] = sets.splice(i, 1); - const res = new Set(); - for (let val of smallest) - if (sets.every(s => s.has(val))) - res.add(val); - return res; + if (!sets.length) return new Set(); + const i = sets.reduce((m, s, i) => s.size < sets[m].size ? i : m, 0); + const [smallest] = sets.splice(i, 1); + const res = new Set(); + for (let val of smallest) + if (sets.every(s => s.has(val))) + res.add(val); + return res; } const EMOJI_SEARCH_ENGINE_MIN_INTERVAL = 350; diff --git a/files/helpers/config/const.py b/files/helpers/config/const.py index 4f1fd6c8d..417d8ae88 100644 --- a/files/helpers/config/const.py +++ b/files/helpers/config/const.py @@ -1141,7 +1141,7 @@ GIRL_NAMES = { GIRL_NAMES_TOTAL = set() for l in GIRL_NAMES.values(): - GIRL_NAMES_TOTAL.update(l) + GIRL_NAMES_TOTAL.update(l) from sqlalchemy.engine.create import create_engine from sqlalchemy.orm import scoped_session, sessionmaker diff --git a/files/routes/chats.py b/files/routes/chats.py index 076a53390..a5e6c9bf8 100644 --- a/files/routes/chats.py +++ b/files/routes/chats.py @@ -215,7 +215,7 @@ def schedule_orgy(v, chat_id): orgy_type = 'file' ydl_opts = { - "quiet": True, + "quiet": True, "simulate": True, "forceurl": True, 'format': 'b',