forked from rDrama/rDrama
1
0
Fork 0

delete reddit.css

master
Aevann1 2022-08-06 00:53:38 +02:00
parent 48608f0448
commit 8f08db39c5
3 changed files with 2 additions and 91 deletions

View File

@ -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;
}

View File

@ -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

View File

@ -129,11 +129,7 @@
<div class="input-group mb2">
<select autocomplete="off" id='theme' class="form-control" form="profile-settings" name="theme" onchange="post_toast(this,'/settings/profile?theme='+document.getElementById('theme').value, true)">
{% if SITE_NAME == 'rDrama' %}
{% set themes = ["4chan","classic","classic_dark","coffee","dark","dramblr","light","midnight","reddit","transparent","tron","win98"] %}
{% else %}
{% set themes = ["4chan","classic","classic_dark","coffee","dark","dramblr","light","midnight","reddit","transparent","tron","win98"] %}
{% endif %}
{% set themes = ["4chan","classic","classic_dark","coffee","dark","dramblr","light","midnight","transparent","tron","win98"] %}
{% for entry in themes %}
<option value="{{entry}}" {% if v.theme==entry %} selected {% endif %}>