diff --git a/files/assets/css/reddit.css b/files/assets/css/reddit.css deleted file mode 100644 index 1d9fed196..000000000 --- a/files/assets/css/reddit.css +++ /dev/null @@ -1,85 +0,0 @@ -@import 'midnight.css'; - -:root { - --upvote: #ff8b60; - --downvote: #9393ff; - --sticky: #50bb50; - --primary: #53baff !important; -} - -/*voting*/ -.score-up, .active.arrow-up::before, .arrow-up::after, .arrow-up:hover::before { - color: var(--upvote) !important; -} - -.score-down, .active.arrow-down::before, .arrow-down::after, .arrow-down:hover::before { - color: var(--downvote) !important; -} - -.arrow-up::before, .arrow-down::before, .score { - color: var(--muted); -} - -.btn.caction .score-up { - color: var(--upvote) !important; -} - -.btn.caction .score-down { - color: var(--downvote) !important; -} - -/*frontpage*/ -#frontpage .container { - max-width: 1800px; - padding-left: 20px; - padding-right: 20px; - background-color:transparent !important; -} - -#frontpage .d-lg-flex, -#frontpage .font-weight-bold.py-3 { - display: none !important; -} - -#frontpage .col.h-100.custom-gutters .row .col { - background-image: none !important; - background-color: transparent; -} - -#frontpage .dropdown .btn { - text-shadow: none !important; - border-radius:0; -} - -#frontpage .post-img { - border-radius:0; -} - -.d-flex.justify-content-between.align-items-center.pt-3.pb-2.sorting { - float: left !important; -} - -/*janny*/ -.fa-broom { - color: var(--sticky) !important; -} - -.fa-thumbtack.text-admin, .card.stickied .post-title a, #frontpage .card.stickied .post-title a:visited { - color: var(--sticky) !important; -} - -a.text-info, button.text-info { - color: var(--sticky) !important -} - -#frontpage .settings .d-lg-flex { - display: block !important; -} - - -.sidebar -{ - background-color: unset !important; - border-radius: 6px; - margin-top: 6px; -} diff --git a/files/routes/settings.py b/files/routes/settings.py index 2362846f0..3f4b23e95 100644 --- a/files/routes/settings.py +++ b/files/routes/settings.py @@ -252,7 +252,7 @@ def settings_profile_post(v): theme = request.values.get("theme") if theme: - if theme in {"4chan","classic","classic_dark","coffee","dark","dramblr","light","midnight","reddit","transparent","tron","win98"}: + if theme in {"4chan","classic","classic_dark","coffee","dark","dramblr","light","midnight","transparent","tron","win98"}: if theme == "transparent" and not v.background: return {"error": "You need to set a background to use the transparent theme!"} v.theme = theme diff --git a/files/templates/settings_profile.html b/files/templates/settings_profile.html index 604618723..00a065496 100644 --- a/files/templates/settings_profile.html +++ b/files/templates/settings_profile.html @@ -129,11 +129,7 @@