diff --git a/files/assets/css/casino/game_screen.css b/files/assets/css/casino/game_screen.css index dd138af2a..db792769c 100644 --- a/files/assets/css/casino/game_screen.css +++ b/files/assets/css/casino/game_screen.css @@ -1,16 +1,3 @@ -.game_screen-title { - display: flex; - align-items: center; - justify-content: center; - text-transform: uppercase; - opacity: 0.6; -} - -.game_screen-title hr { - flex: 1; - margin-left: 0.5rem; -} - #casinoGameResult { visibility: hidden; } diff --git a/files/assets/css/main.css b/files/assets/css/main.css index 92ff1518e..09a1d7f71 100644 --- a/files/assets/css/main.css +++ b/files/assets/css/main.css @@ -6249,8 +6249,8 @@ audio, video { .sidebar-wpd--holes--3 { grid-template-columns: repeat(3, 1fr); } -.sidebar-wpd--holes--2 { - grid-template-columns: repeat(2, 1fr); +.sidebar-wpd--holes--1 { + grid-template-columns: repeat(1, 1fr); } .sidebar-wpd--holes a { @@ -7579,3 +7579,16 @@ ul, ol { blink { animation: blink 1s infinite; } + +.hr-title { + display: flex; + align-items: center; + justify-content: center; + text-transform: uppercase; + opacity: 0.6; +} + +.hr-title hr { + flex: 1; + margin-left: 0.5rem; +} diff --git a/files/routes/front.py b/files/routes/front.py index 442520aac..57e36e638 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -89,7 +89,8 @@ def front_all(v, hole=None): LIMITED_WPD_HOLES = {'aftermath', 'fights', 'gore', 'medical', 'request', 'selfharm', 'discussion', 'meta', 'music', 'pets', 'social', - 'countryclub', 'highrollerclub'} + 'countryclub', 'highrollerclub', + 'slavshit', 'sandshit'} @cache.memoize() def frontlist(v=None, sort="hot", page=1, t="all", ids_only=True, filter_words='', gt=0, lt=0, hole=None, pins=True): diff --git a/files/routes/votes.py b/files/routes/votes.py index 06d4c5fc7..a595c261f 100644 --- a/files/routes/votes.py +++ b/files/routes/votes.py @@ -138,6 +138,8 @@ def vote_post_comment(target_id, new, v, cls, vote_cls): if SITE_NAME == 'rDrama': target.realupvotes = get_vote_count(0, True) # first arg is ignored here + elif target.hole in {'sandshit', 'slavshit'}: + target.realupvotes = target.upvotes + target.downvotes else: target.realupvotes = target.upvotes - target.downvotes diff --git a/files/templates/casino/game_screen.html b/files/templates/casino/game_screen.html index cf43dd8f3..5916d7c94 100644 --- a/files/templates/casino/game_screen.html +++ b/files/templates/casino/game_screen.html @@ -8,7 +8,7 @@