r/reddithax Jul 22 '23

Python/Selenium Script To Remove All Reddit Comments

Thumbnail self.learnpython
5 Upvotes

r/reddithax Oct 10 '22

Advice regarding the creation of a Pagan community

2 Upvotes

I am looking for anyone with experience in regards to running, participating in or helping to create a religious community on Reddit, particularly of the Norse/Germanic Pagan variety. On a previous account I created a Norse Pagan community, but without any appropriate planning or brainstorming beforehand. I am a bit anal when it comes to organization and aesthetics, so as time passed the community got messy and I lost my dedication for it. I do have basic rudimentary understanding of community creation, setting configuration and how to use the mod tools, but I am just looking for advice from anyone with more experience so I do not miss anything crucial. I am also looking to commission art for various aspects of the community (body/banner background images, vote icons, the community icon, the link preview placeholder image and maybe even creating unique community awards). Recommendations with what other communities may be of use to me besides r/modhelp is greatly appreciated. I am willing to compensate financially anyone who can advise and aid me through the creation of the community as well.


r/reddithax May 15 '22

Can someone show me how to add an image to you reddit sidebar with a GIF?

7 Upvotes

Can someone show me how to add an image to you reddit sidebar with a GIF? Hard time reading other posts and getting it.


r/reddithax Nov 28 '21

Proud of r/Patrn new css... looks as close to a new.reddit and old.reddit hybrid as I could get it.

Thumbnail reddit.com
10 Upvotes

r/reddithax Jun 08 '21

is this subreddit alive?

13 Upvotes

wake wake, get 2 da snake


r/reddithax Apr 02 '20

Finished up and added new css to r/teenagers just about a week ago

10 Upvotes

I completely forgot to post it here at the time, but I spent some time taking some things from the subreddit's old CSS, plus some stuff from scratch to create a modern, but playful kind of look for the sub. Some snippets were also borrowed from other subreddits with permission and credited. Please enjoy (side note all text is temporarily right aligned for april fool's).


r/reddithax Mar 30 '20

How to change background image of the subreddits on the top

4 Upvotes

.dropdown.srdrop .selected {

background: none repeat scroll center right;


background-image: url(%%insertimagehere%%);


display: inline-block;


vertical-align: bottom;


padding-right: 21px;


padding-left: 5px;


color: black;


font-weight: normal;


margin-left: -5px;


margin-right: 10px;

}

#sr-header-area .sr-list {

background: none repeat scroll center right;


background-image: url(%%insertimagehere%%);


display: inline-block;


vertical-align: bottom;


padding-right: 21px;


padding-left: 5px;


color: black;


font-weight: normal;


margin-left: -5px;


margin-right: 10px;

}


r/reddithax Sep 07 '19

This CSS changes markdown bullets into "*"

3 Upvotes
.md ul {list-style-type: none}
.md ul>li:before {content: "* "}

I was gonna try it with emoji but reddit's css wouldn't allow me to.

You can swap out the asterix with something else I guess, but I can confirm you can't make unordered lists with pointer fingers.

👉 Not gonna happen.

* works perfectly fine


r/reddithax Jun 22 '19

Have multiple custom themed >!spoiler!< tags

7 Upvotes

Before reddit had proper markdown-based spoilers (like this), communities used CSS hacks for implementing spoiler tags, [like this](#spoiler).

Using this technique, some communities would even have multiple spoiler tags for different seasons (like the Game of Thrones subreddit used to have) that would allow you to see a "Season 1 Spoiler" text before the spoiler to help differentiate between different season's spoilers. Like: [some spoiler](#s1-spoiler)

There's a way, if you'd like, to have custom themed spoiler tags using the new markdown-based spoiler tags if you'd like, with a syntax like this: [](#s1-spoiler) >!Some Spoiler!<

a[href="#s1-spoiler"] + .md-spoiler-text:not(.revealed) {
    background: red;
}

a[href="#s1-spoiler"] + .md-spoiler-text::before {
    content: "Season 1 Spoiler";
    color: black !important;
    font-size: 10px;
}

r/reddithax Feb 17 '19

Trick I see used not often enough: Add "pointer-events: none" to custom emoji/stickers that you make by styling "a" elements. That way people can't click on the links which go nowhere.

11 Upvotes

r/reddithax Feb 10 '19

Coloring the little arrow/nub/triangle on hover-bubble

5 Upvotes

The little arrow/nub/triangle of the pop-up that you get when hovering over a username can be colored with the following rules:

/* Border color for nub on bottom */
.author-tooltip.hover-bubble.anchor-bottom-left::before,.author-tooltip.hover-bubble.anchor-bottom-right::before { border-top-color: #BF1E2D }
/* Border color for nub on top */
.author-tooltip.hover-bubble.anchor-top-left::before,.author-tooltip.hover-bubble.anchor-top-right::before { border-bottom-color: #BF1E2D }
/* Nub color for nub on bottom */
.author-tooltip.hover-bubble.anchor-bottom-left.author-tooltip_common::after,.author-tooltip.hover-bubble.anchor-bottom-right.author-tooltip_common::after { border-top-color: #000 }
/* Nub color for nub at top */
.author-tooltip.hover-bubble.anchor-top-left.author-tooltip_common::after,.author-tooltip.hover-bubble.anchor-top-right.author-tooltip_common::after { border-bottom-color: #282828 }

As someone who was unfamiliar with the CSS triangle trick this was incredibly hard to find, since the element is hidden via JavaScript before you can inspect it. The default rules can be found in author-tooltip.css .


r/reddithax Feb 02 '19

Sidebar Discord Widget for legacy/old Reddit - Instructions & CSS

Thumbnail self.DiscordWidget
6 Upvotes

r/reddithax Jan 10 '19

(/r/32kHz) I've done plenty of things for a sub that I mod, but the most recent (and most proud) achievement I've done is creating a custom minimal userbar with my own icons and fixed scrolling!

5 Upvotes

I made it using CSS grid, which I learned just recently, but due to the scarcity of reddit's documentation, I can't find the classes of the active modmail and new modmail. Also, I can't see what it looks like without the two modmail buttons in the first place. Either way, at the moment I like how it looks, but any tips are welcome!

(the subreddit: 32kHz )


r/reddithax Sep 09 '18

I (mostly) fixed Card view on the redesign.

Post image
12 Upvotes

r/reddithax Jun 14 '18

How can I raise a sidebar until it covers part of a banner?

3 Upvotes

Been messing around on a private sub, made a banner for it, realized it wasn't wide enough. I could make it wider by massively stretching it, but then it would be too tall and too low res. My current thinking is that if I can raise the sidebar until it's at the top, the banner space will effectively be shorter, and I can just put the banner on the left, resize it a bit, and call it a day.

Like this.

How would I go about doing this? Thanks in advance.


r/reddithax Jun 08 '18

How to make comments change color depending on whether you upvoted or downvoted.

3 Upvotes
.comment .usertext-body {
    border: 1px solid #------;
    background-color: #------;
}

.comment.stickied .usertext-body {
    border: 1px solid #------;
    background-color: #------ !important;
}

.comment .likes .usertext-body {
    border: 1px solid #------;
    background-color: #------;
}

.comment .dislikes .usertext-body {
    border: 1px solid #000;
    background-color: #------;
}

r/reddithax May 19 '18

How to hide the "recently viewed links" sidebar box

4 Upvotes

First to target and hide it you will have to target the moderator box as well under :not(.collapsible) > * id.

.sidecontentbox:not(.collapsible) > * { display: none; }

Then if you want the moderator box to appear again:

.sidecontentbox:not(.collapsible) .helplink, .sidecontentbox:not(.collapsible) .helplink ~ * {
    display: block;
}

r/reddithax Apr 28 '18

Removing the "Try the Redesign" button off your subreddit.

2 Upvotes

Just put this in your stylesheet.

#sr-header-area .redesign-beta-optin {
    display: none;
}

r/reddithax Jan 29 '18

How to hide the #chat

12 Upvotes

for the #header-bottom-right

#chat,
#chat-count,
#chat+.separator
#chat-count+.separator {
    display: none !important;
}

and the pinned-to-bottom chat box.

 #chat-app.active {
    display: none;
}

r/reddithax Jan 01 '18

I made a free tool to easily generate CSS for a palette of author colors on a subreddit. Check it out!

22 Upvotes

An idea I had while bored this evening (screenshot); I think it would be a great addition to any subreddit theme. Please check out the tool and let me know your feedback!

http://reddit-author-color.mcad.am

The idea is that it creates CSS for a "random" (at the time of generation) palette for author colours in a comment thread. The colours it generates are "sticky" in that it will ensure any user gets the same color in the subreddit. The aim is to help reddit users using the theme to be better able to follow a discussion.

Would love to hear any feedback, suggestions, feature requests, etc.


r/reddithax Dec 10 '17

i made the letters move scarily quickly

2 Upvotes

r/reddithax Nov 28 '17

[Addon] Moving submission URLs to the right

3 Upvotes

This addon contains code from u/zmodem with tweaks made by myself. This addon will move the submission URL to the right side and make it more visible.

/*MOVING SUBMISSION URL TO THE RIGHT*/
/*Addon by u/IfaqYurmama*/

.flairselector {position: fixed!important}

.thing .top-matter { position: relative; }
.thing .domain {
   align-items: center;
   display: flex;
   font-size: 0;
   height: 70%;
   position: absolute;
   right: 0;
   top: 0;
} 
 .thing .domain a { font-size: 16px }

 @media screen and (max-width: 989px) {.thing .domain a {font-size: 9px;}}
 @media screen and (max-width: 875px) {.thing .domain a {opacity: 0;visibility: hidden;}} //optimizations for low-res or small screens

.thing.self .domain { display: none; } //excluding self posts

r/reddithax Oct 08 '17

Quickly converting Hex to RGB and vice-versa, without using a lousy converter or huge table

12 Upvotes

A lot of people, apparently, think that a rgb value is more precise than a hex value. In reality, a hex number can directly translate to a rgb value.

To start with, you'll need to divide the number into three sections. Each of these sections will correspond to a red, green and blue value.

#FFFFFF rgb(255, 255, 255)
FF (First two) 255
FF (Middle two) 255
FF (Last two) 255

To convert a hex pair to a number, take your first value and multiply it by 16. Then add it to your second value.

#FFFFFF Character One Character Two Total
FF (F) 15 * 16 = 240 (F) 15 240+15=255
FF (F) 15 * 16 = 240 (F) 15 240+15=255
FF (F) 15 * 16 = 240 (F) 15 240+15=255
#BADCFE Character One Character Two Total
BA (B) 11 * 16 = 176 (A) 10 176+10 = 186
DC (D) 13 * 15 = 208 (C) 12 208+12 = 220
FE (F) 15 * 16 = 240 (E) 14 240 + 14 = 254

Note that a = 10, b=11, c=12, d=13, e=14, and f=15

Once you do this enough, you should get the hang of it, and no longer require looking at this post.


r/reddithax Oct 03 '17

Sub Speed Build Winner - r/TRANSgress

Thumbnail reddit.com
1 Upvotes

r/reddithax Sep 28 '17

I used the programs i found in the CSS help subreddit and tinkered with them a bit to go from not knowing CSS is a programming language to this in 3 days

Thumbnail reddit.com
0 Upvotes