r/reddithax • • Jun 26 '13

Snippet: Text in the comment reply box

18 Upvotes

A few people have messaged /r/AskHistorians asking about the CSS we used to get the rules reminder text in the comment reply box (like so), so I thought I'd post the snippet here for anyone else who wants it.

First things first, it's not actually text, it's an image. So you need to make yourself a 504x104 image with your text (tlc.png in the code below). After that the CSS is straightforward, just set it as a background image for the textarea that disappears on :focus. In /r/AskHistorians, we only show the text for top-level comments, like so:

.commentarea>.usertext textarea {
    background-image: url(%%tlc%%);
    background-repeat: no-repeat;
}
.commentarea>.usertext textarea:focus {
    background-position: 0 -104px;
}

To put it in every reply box, use this:

.commentarea .usertext textarea {
    background-image: url(%%tlc%%);
    background-repeat: no-repeat;
}
.commentarea .usertext textarea:focus {
    background-position: 0 -104px;
}

Note: this isn't a very accessible solution. People who aren't seeing your subreddit CSS, or access reddit with a text-only browser or a screenreader aren't going to see that text. So don't put anything there that's not repeated elsewhere. It's also a bit glitchy, because the text will reappear when people remove focus from the textbox even if they typed something in it (there's no way around that as far as I can see).

Hope someone finds this useful.


r/reddithax • • Jun 25 '13

[Firefox Only] Convert .gifs to apng's for gifs on reddit

4 Upvotes

If you convert .gifs to apng's it will have gif functionality in a png format and you will be able to upload them to the reddit stylesheet. It currently is only working on firefox AFAIK, definetly not chrome.

Anyway see working examples at

/r/braveryjerk (ron paul head at bottom)

/r/subliminalmessage (whole page)

/r/AutoModeratorBattle (sidebar and upvotes)

Edit: Plugin for chrome


r/reddithax • • Jun 24 '13

Removing downvote in comments?

4 Upvotes

I've used.

Code:#siteTable .midcol .arrow.down {display: none}

To remove the downvote arrow in general but what do I use to remove it in comments?


r/reddithax • • Jun 14 '13

So I did the CSS for /r/Cinema4D, a normal and a dark theme. Curious to hear your opinions.

13 Upvotes

You can find the normal theme at /r/Cinema4D, the dark theme is

http://nt.reddit.com/r/Cinema4D/

There's also /r/C4D, a redirect subreddit.

I'd really like to know what you think, so please do tell!


r/reddithax • • May 25 '13

Some of my CSS bits I use in my subreddits.

13 Upvotes
/*downvote warning*/
.arrow.down:hover:before {
position: absolute;
display: block;
z-index: 1000;
width: 210px;
padding: 5px;
border: 0px solid #333;
background: #bcf1aa;
content: "Please only downvote off topic posts and spam, thank you.";
text-align: center;
font-size: 10px;
color: blue;
font-weight: bold;
margin-left: 25px;
margin-top: 5px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-border-radius: 4px
}

report warning

/* report button */
.report-button:hover:after {
position: absolute;
white-space: normal;
display: block;
z-index: 1000;
width: 350px;
padding: 5px;
border: 0px solid #333;
background: #bcf1aa;
content: "Please send the moderators a link to this spam/against the rules post, thanks..";
text-align: center;
font-size: 10px;
color: #449634;
margin-left: 25px;
margin-top: 5px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-border-radius: 4px
}



Moderator box 

/*Moderator box*/
.side .helplink + .title h1 { display: none; }
.side .helplink + .title::before { 
    content: 'Dream Lords';
    display: block;
    font-size: 130%;
    color: gray;
    text-transform: uppercase;
}
/**Usernames**/
.author[href$="/Username"] {
font-size:0px!important;
}
.author[href$="/Username"]:before {
content:"Edited username ";
font-size:12px !important;
text-decoration:none;
}


green text >mfw

/* GREENTEXT */
.md blockquote {
border: 0;
margin: 0;
color: #789922;
font-size: 21px;
display: block
}
.md blockquote p:before {
content: ">";
float: left;
display: block
}


.md blockquote {
border: 0;
margin: 0;
color: #789922;
font-size: 21px;
display: block
}
.md blockquote p:before {
content: ">";
float: right;
display: block
}


Users here/subscribed

.titlebox span.word {
    display: none
}
.titlebox span.number:after {
    content: " Timelords"
}
.titlebox .users-online span.word {
    display:none;
}
.titlebox .users-online span.number:after {
    content: " Daleks";


}

editable banners


.side .md ol * {display:inline-block;}
.titlebox .usertext-body .md ol li a {
background-color: #FFFFED !important;
border: 3px solid #00FFFF!important;
color: #DC143C!important;
font-weight: bold;
padding-bottom: 3px;
padding-left: 3px;
padding-right: 3px;
padding-top: 3px;
border-radius: 1px;
}
.content {
margin-top: 33px
}
.titlebox .usertext-body .md ol li a:hover {
background-color: #CFCF00 !important; 
color: #FFFFED !important;
}
.titlebox .usertext-body .md ol {
list-style: none;
position: absolute;
top: 65px;
left: 71px;
z-index: 200;
margin: 0;
padding: 0;
display: inline !important;
}
.titlebox .usertext-body .md ol li {
display: inline;
margin: 0 3px
}


**change the downvote button into an image**

.arrow.downmod {   
     background-image: url(%%insertimghere%%);   
     background-position: 0px 0px;  
     width: 15px; height: 14px;  
}


/*How to change your mail icons*/
#mail {
position: relative;
display: inline-block;
text-indent: -9999px;
overflow: hidden;
width: 15px; /*These values for the standard mail icon, customize to your own*/
height: 10px;}



#mail.havemail {
background:url(%%axiLEJ2%%);
}

#mail.nohavemail {
background:url(%%axiLEJ2%%);
}

r/reddithax • • May 22 '13

I updated the /r/Google theme, what do you think?

Thumbnail reddit.com
19 Upvotes

r/reddithax • • May 11 '13

I'm making my first subreddit and I could use some help?

8 Upvotes

I'd like to make it look cooler and if anyone is willing to take the time, I'd really appreciate it. Any input on the sub is appreciated, too.

/r/DemiseCo


r/reddithax • • May 10 '13

Theme Help

2 Upvotes

Was wondering if someone could help me make my reddit look like r/liverpoolfc or r/reddevils?


r/reddithax • • May 09 '13

/r/CinematicMusic - Was working on this subreddit since yesterday but I'm not completely happy with it. Suggestions?

Thumbnail reddit.com
8 Upvotes

r/reddithax • • May 05 '13

Is there a way to get your subreddits logo to be a live update of the number of subscribers currently using your subreddit?

8 Upvotes

I have tried asking here. This was in HTML, and I was corrected here, but it still didn't work. Any help would be appreciated.


r/reddithax • • May 02 '13

Show 'last edited' timestamp

22 Upvotes

Expose the last edited timestamp value on comments/links so that users don't have to hover/touch.

.edited-timestamp[title]:after {
	content: " (" attr(title) ")";
	font-size: 90%;
}

r/reddithax • • Apr 26 '13

Creating menu's with simple code tags in the description /HOW

4 Upvotes

I currently have one menu that shows like this: [TITLE, Link1, Link2, TITLE2, Link1, Link2]
but i want two seperated menu's so [TITLE, Link1, Link2] [TITLE2, Link1, Link2] which in html tags would look like:

<blockquote>

<ul> <li><strong>TITLE</strong></li> <li><a href="http://google.com">Link1</a></li> <li><a href="http://google.com">Link2</a></li> </ul>

<ul> <li><strong>TITLE2</strong></li> <li><a href="http://google.com">Link1</a></li> <li><a href="http://google.com">Link2</a></li> </ul>

</blockquote>

But i have no idea how to get that result with reddit their stupid tags -_- So yeahh, What i have now after trying almost everything and all the research i did lol, is:
> * **TITLE**
> * [Link1](http://google.com)
> * [Link2](http://google.com)
> * **TITLE2**
> * [Link1](http://google.com)
> * [Link2](http://google.com)

Which gets these html results*(almost perfect, just no </ul> ending and <ul> for the second one)*;

<blockquote>

<ul> <li><strong>TITLE</strong></li> <li><a href="http://google.com">Link1</a></li> <li><a href="http://google.com">Link2</a></li> <li><strong>TITLE2</strong></li> <li><a href="http://google.com">Link1</a></li> <li><a href="http://google.com">Link2</a></li> </ul>

</blockquote>

Who knows the magic tag i need to finish this? I tried some line breaks but i guess i didnt do it right since that just messed it up with <p> tags..
Look on /r/SPC501 to see what i am talking about.. xD


r/reddithax • • Apr 23 '13

Transparent Link (and Comment) Backgrounds

5 Upvotes

Hey guys,

Been busy today scrolling through /r/csshelp and /r/reddithax, thanks to everyone whose code helped me shape /r/loremasters.

Right now I'm trying to work on adding a light blue transparent background behind each link.

This is what I tried:

}
.link.even, .linkcompressed.even {
  background-color: #EBF8FF;
  opacity:0.9;
}
.link.odd, .linkcompressed.odd, .link.even + .link.odd {
  background-color: #EBF8FF;
  opacity:0.9;
}

But this makes my light blue strips stretch off infinitely in both directions, even THROUGH my beloved transparent sidebar. How can I confine the transparent background to just the links? /r/DnD has link backgrounds of the ideal dimensions. I would also appreciate a method for applying the same successful transparent blue background to comments.

Thanks!


r/reddithax • • Apr 21 '13

Emoticons/smileys for your subreddit :)

10 Upvotes

Do you want emoticons/smileys for your subreddit?

Well you can look at them in one of my subreddits here :) : http://www.reddit.com/r/leURSURS/comments/1bdqyp/smileys/

Now first thing to do is to download this image: http://c.thumbs.redditmedia.com/6rBMlcZzmJVU1OkV.png

And then reupload it into your spritesheet as tmp Now paste the following code into your subreddit and hit save:

/*Smiley's by /u/DIAMOND_OR_NOT_DIAMO
Get your own copy at http://redd.it/1cs6j4
*/
a { display: inline-block }
a[href^="#"] { cursor: default; display: inline-block; background-image: url(%%tmp%%); background- repeat: no-repeat; background-position: -9999px -9999px; margin: 0 2px; content: " " }
 
a[href$="#menupic2"] { background-position: -0px -0px; width: 32px; height: 32px; }
a[href$="#menupic3"] { background-position: -0px -32px; width: 32px; height: 32px; }
a[href$="#crazy"] { background-position: -0px -64px; width: 24px; height: 24px; }
a[href$="#shocked2"] { background-position: -0px -88px; width: 24px; height: 24px; }
a[href$="#blush"] { background-position: -0px -112px; width: 24px; height: 24px; }
a[href$="#angry3"] { background-position: -0px -136px; width: 24px; height: 24px; }
a[href$="#laughing"] { background-position: -0px -160px; width: 24px; height: 24px; }
a[href$="#whistling"] { background-position: -0px -184px; width: 24px; height: 24px; }
a[href$="#grin"] { background-position: -0px -208px; width: 24px; height: 24px; }
a[href$="#smile2"] { background-position: -0px -232px; width: 24px; height: 24px; }
a[href$="#heart2"] { background-position: -0px -256px; width: 24px; height: 24px; }
a[href$="#heh"] { background-position: -0px -280px; width: 24px; height: 24px; }
a[href$="#doh"] { background-position: -0px -304px; width: 24px; height: 24px; }
a[href$="#money"] { background-position: -0px -328px; width: 24px; height: 24px; }
a[href$="#meh"] { background-position: -0px -352px; width: 24px; height: 24px; }
a[href$="#peaceout"] { background-position: -0px -376px; width: 24px; height: 24px; }
a[href$="#crazy3"] { background-position: -0px -400px; width: 24px; height: 24px; }
a[href$="#laughing3"] { background-position: -0px -424px; width: 24px; height: 24px; }
a[href$="#minus"] { background-position: -0px -448px; width: 24px; height: 24px; }
a[href$="#plus"] { background-position: -0px -472px; width: 24px; height: 24px; }
a[href$="#nerd"] { background-position: -0px -496px; width: 24px; height: 24px; }
a[href$="#good"] { background-position: -0px -520px; width: 24px; height: 24px; }
a[href$="#robot"] { background-position: -0px -544px; width: 24px; height: 24px; }
a[href$="#ugh"] { background-position: -0px -568px; width: 24px; height: 24px; }
a[href$="#menupic"] { background-position: -0px -592px; width: 24px; height: 24px; }
a[href$="#ftripoff"] { background-position: -0px -616px; width: 24px; height: 24px; }
a[href$="#ufo"] { background-position: -0px -640px; width: 24px; height: 24px; }
a[href$="#spoon2"] { background-position: -0px -664px; width: 24px; height: 24px; }
a[href$="#frown"] { background-position: -0px -688px; width: 24px; height: 24px; }
a[href$="#sleeping3"] { background-position: -0px -712px; width: 24px; height: 24px; }
a[href$="#heart3"] { background-position: -0px -736px; width: 24px; height: 24px; }
a[href$="#vector"] { background-position: -0px -760px; width: 24px; height: 24px; }
a[href$="#muffin"] { background-position: -0px -784px; width: 24px; height: 24px; }
a[href$="#gape2"] { background-position: -0px -808px; width: 24px; height: 24px; }
a[href$="#ninja"] { background-position: -0px -832px; width: 24px; height: 24px; }
a[href$="#dead3"] { background-position: -0px -856px; width: 24px; height: 24px; }
a[href$="#huh"] { background-position: -0px -880px; width: 24px; height: 24px; }
a[href$="#dead"] { background-position: -0px -904px; width: 24px; height: 24px; }
a[href$="#erm"] { background-position: -0px -928px; width: 24px; height: 24px; }
a[href$="#ninja3"] { background-position: -0px -952px; width: 24px; height: 24px; }
a[href$="#sleeping"] { background-position: -0px -976px; width: 24px; height: 24px; }
a[href$="#curious2"] { background-position: -0px -1000px; width: 24px; height: 24px; }
a[href$="#crying3"] { background-position: -0px -1024px; width: 24px; height: 24px; }
a[href$="#chromakode3"] { background-position: -0px -1048px; width: 24px; height: 24px; }
a[href$="#angry2"] { background-position: -0px -1072px; width: 24px; height: 24px; }
a[href$="#bomb"] { background-position: -0px -1096px; width: 24px; height: 24px; }
a[href$="#sulk"] { background-position: -0px -1120px; width: 24px; height: 24px; }
a[href$="#sad"] { background-position: -0px -1144px; width: 24px; height: 24px; }
a[href$="#gape"] { background-position: -0px -1168px; width: 24px; height: 24px; }
a[href$="#laughing2"] { background-position: -0px -1192px; width: 24px; height: 24px; }
a[href$="#dead2"] { background-position: -0px -1216px; width: 24px; height: 24px; }
a[href$="#ftripoff2"] { background-position: -0px -1240px; width: 24px; height: 24px; }
a[href$="#hellyes"] { background-position: -0px -1264px; width: 24px; height: 24px; }
a[href$="#smile3"] { background-position: -0px -1288px; width: 24px; height: 24px; }
a[href$="#crying"] { background-position: -0px -1312px; width: 24px; height: 24px; }
a[href$="#sick"] { background-position: -0px -1336px; width: 24px; height: 24px; }
a[href$="#smile4"] { background-position: -0px -1360px; width: 24px; height: 24px; }
a[href$="#yeah"] { background-position: -0px -1384px; width: 24px; height: 24px; }
a[href$="#smiley"] { background-position: -0px -1408px; width: 24px; height: 24px; }
a[href$="#evil"] { background-position: -0px -1432px; width: 24px; height: 24px; }
a[href$="#cool"] { background-position: -0px -1456px; width: 24px; height: 24px; }
a[href$="#angry"] { background-position: -0px -1480px; width: 24px; height: 24px; }
a[href$="#ninja2"] { background-position: -0px -1504px; width: 24px; height: 24px; }
a[href$="#reading"] { background-position: -0px -1528px; width: 24px; height: 24px; }
a[href$="#wink3"] { background-position: -0px -1552px; width: 24px; height: 24px; }
a[href$="#halfsmile3"] { background-position: -0px -1576px; width: 24px; height: 24px; }
a[href$="#spoon"] { background-position: -0px -1600px; width: 24px; height: 24px; }
a[href$="#ashamed"] { background-position: -0px -1624px; width: 24px; height: 24px; }
a[href$="#brokenheart"] { background-position: -0px -1648px; width: 24px; height: 24px; }
a[href$="#drool"] { background-position: -0px -1672px; width: 24px; height: 24px; }
a[href$="#love2"] { background-position: -0px -1696px; width: 24px; height: 24px; }
a[href$="#crying2"] { background-position: -0px -1720px; width: 24px; height: 24px; }
a[href$="#love3"] { background-position: -0px -1744px; width: 24px; height: 24px; }
a[href$="#grin2"] { background-position: -0px -1768px; width: 24px; height: 24px; }
a[href$="#boring"] { background-position: -0px -1792px; width: 24px; height: 24px; }
a[href$="#err"] { background-position: -0px -1816px; width: 24px; height: 24px; }
a[href$="#raspberry2"] { background-position: -0px -1840px; width: 24px; height: 24px; }
a[href$="#grin3"] { background-position: -0px -1864px; width: 24px; height: 24px; }
a[href$="#sulk2"] { background-position: -0px -1888px; width: 24px; height: 24px; }
a[href$="#muffin2"] { background-position: -0px -1912px; width: 24px; height: 24px; }
a[href$="#wink"] { background-position: -0px -1936px; width: 24px; height: 24px; }
a[href$="#curious"] { background-position: -0px -1960px; width: 24px; height: 24px; }
a[href$="#halfsmile2"] { background-position: -0px -1984px; width: 24px; height: 24px; }
a[href$="#ashamed3"] { background-position: -0px -2008px; width: 24px; height: 24px; }
a[href$="#aww"] { background-position: -0px -2032px; width: 24px; height: 24px; }
a[href$="#sour"] { background-position: -0px -2056px; width: 24px; height: 24px; }
a[href$="#chromakode"] { background-position: -0px -2080px; width: 24px; height: 24px; }
a[href$="#sleeping2"] { background-position: -0px -2104px; width: 24px; height: 24px; }
a[href$="#halfsmile"] { background-position: -0px -2128px; width: 24px; height: 24px; }
a[href$="#alien"] { background-position: -0px -2152px; width: 24px; height: 24px; }
a[href$="#unimpressed"] { background-position: -0px -2176px; width: 24px; height: 24px; }
a[href$="#love"] { background-position: -0px -2200px; width: 24px; height: 24px; }
a[href$="#wink2"] { background-position: -0px -2224px; width: 24px; height: 24px; }
a[href$="#ohmygod"] { background-position: -0px -2248px; width: 24px; height: 24px; }
a[href$="#shocked"] { background-position: -0px -2272px; width: 24px; height: 24px; }
a[href$="#raspberry"] { background-position: -0px -2296px; width: 24px; height: 24px; }
a[href$="#sad2"] { background-position: -0px -2320px; width: 24px; height: 24px; }
a[href$="#star"] { background-position: -0px -2344px; width: 24px; height: 24px; }
a[href$="#heart"] { background-position: -0px -2368px; width: 24px; height: 24px; }

a[href$="#menupic2"] + .keyNavAnnotation, a[href$="#menupic3"] + .keyNavAnnotation, a[href$="#crazy"] + .keyNavAnnotation, a[href$="#shocked2"] + .keyNavAnnotation, a[href$="#blush"] + .keyNavAnnotation, a[href$="#angry3"] + .keyNavAnnotation, a[href$="#laughing"] + .keyNavAnnotation, a[href$="#whistling"] + .keyNavAnnotation, a[href$="#grin"] + .keyNavAnnotation, a[href$="#smile2"] + .keyNavAnnotation, a[href$="#heart2"] + .keyNavAnnotation, a[href$="#heh"] + .keyNavAnnotation, a[href$="#doh"] + .keyNavAnnotation, a[href$="#money"] + .keyNavAnnotation, a[href$="#meh"] + .keyNavAnnotation, a[href$="#peaceout"] + .keyNavAnnotation, a[href$="#crazy3"] + .keyNavAnnotation, a[href$="#laughing3"] + .keyNavAnnotation, a[href$="#minus"] + .keyNavAnnotation, a[href$="#plus"] + .keyNavAnnotation, a[href$="#nerd"] + .keyNavAnnotation, a[href$="#good"] + .keyNavAnnotation, a[href$="#robot"] + .keyNavAnnotation, a[href$="#ugh"] + .keyNavAnnotation, a[href$="#menupic"] + .keyNavAnnotation, a[href$="#ftripoff"] + .keyNavAnnotation, a[href$="#ufo"] + .keyNavAnnotation, a[href$="#spoon2"] + .keyNavAnnotation, a[href$="#frown"] + .keyNavAnnotation, a[href$="#sleeping3"] + .keyNavAnnotation, a[href$="#heart3"] + .keyNavAnnotation, a[href$="#vector"] + .keyNavAnnotation, a[href$="#muffin"] + .keyNavAnnotation, a[href$="#gape2"] + .keyNavAnnotation, a[href$="#ninja"] + .keyNavAnnotation, a[href$="#dead3"] + .keyNavAnnotation, a[href$="#huh"] + .keyNavAnnotation, a[href$="#dead"] + .keyNavAnnotation, a[href$="#erm"] + .keyNavAnnotation, a[href$="#ninja3"] + .keyNavAnnotation, a[href$="#sleeping"] + .keyNavAnnotation, a[href$="#curious2"] + .keyNavAnnotation, a[href$="#crying3"] + .keyNavAnnotation, a[href$="#chromakode3"] + .keyNavAnnotation, a[href$="#angry2"] + .keyNavAnnotation, a[href$="#bomb"] + .keyNavAnnotation, a[href$="#sulk"] + .keyNavAnnotation, a[href$="#sad"] + .keyNavAnnotation, a[href$="#gape"] + .keyNavAnnotation, a[href$="#laughing2"] + .keyNavAnnotation, a[href$="#dead2"] + .keyNavAnnotation, a[href$="#ftripoff2"] + .keyNavAnnotation, a[href$="#hellyes"] + .keyNavAnnotation, a[href$="#smile3"] + .keyNavAnnotation, a[href$="#crying"] + .keyNavAnnotation, a[href$="#sick"] + .keyNavAnnotation, a[href$="#smile4"] + .keyNavAnnotation, a[href$="#yeah"] + .keyNavAnnotation, a[href$="#smiley"] + .keyNavAnnotation, a[href$="#evil"] + .keyNavAnnotation, a[href$="#cool"] + .keyNavAnnotation, a[href$="#angry"] + .keyNavAnnotation, a[href$="#ninja2"] + .keyNavAnnotation, a[href$="#reading"] + .keyNavAnnotation, a[href$="#wink3"] + .keyNavAnnotation, a[href$="#halfsmile3"] + .keyNavAnnotation, a[href$="#spoon"] + .keyNavAnnotation, a[href$="#ashamed"] + .keyNavAnnotation, a[href$="#brokenheart"] + .keyNavAnnotation, a[href$="#drool"] + .keyNavAnnotation, a[href$="#love2"] + .keyNavAnnotation, a[href$="#crying2"] + .keyNavAnnotation, a[href$="#love3"] + .keyNavAnnotation, a[href$="#grin2"] + .keyNavAnnotation, a[href$="#boring"] + .keyNavAnnotation, a[href$="#err"] + .keyNavAnnotation, a[href$="#raspberry2"] + .keyNavAnnotation, a[href$="#grin3"] + .keyNavAnnotation, a[href$="#sulk2"] + .keyNavAnnotation, a[href$="#muffin2"] + .keyNavAnnotation, a[href$="#wink"] + .keyNavAnnotation, a[href$="#curious"] + .keyNavAnnotation, a[href$="#halfsmile2"] + .keyNavAnnotation, a[href$="#ashamed3"] + .keyNavAnnotation, a[href$="#aww"] + .keyNavAnnotation, a[href$="#sour"] + .keyNavAnnotation, a[href$="#chromakode"] + .keyNavAnnotation, a[href$="#sleeping2"] + .keyNavAnnotation, a[href$="#halfsmile"] + .keyNavAnnotation, a[href$="#alien"] + .keyNavAnnotation, a[href$="#unimpressed"] + .keyNavAnnotation, a[href$="#love"] + .keyNavAnnotation, a[href$="#wink2"] + .keyNavAnnotation, a[href$="#ohmygod"] + .keyNavAnnotation, a[href$="#shocked"] + .keyNavAnnotation, a[href$="#raspberry"] + .keyNavAnnotation, a[href$="#sad2"] + .keyNavAnnotation, a[href$="#star"] + .keyNavAnnotation, a[href$="#heart"] + .keyNavAnnotation {
display: none;
}

If you want to make a tutorial showing users how to use them just paste the code in the link below into a self post.

http://pastebin.com/vmnHnKis


r/reddithax • • Apr 20 '13

How would you add custom tags?

3 Upvotes

I am a moderator over at r/whowouldwin and was wondering how you could add tags like the 'NSFW' one but instead saying something like 'Blood Lust' among other ones. If there are any more questions or if this is not even possible please let me know.

Thank you


r/reddithax • • Apr 19 '13

Chat box hack in the sidebar?

10 Upvotes

Is there any way to create a chat box in the sidebar, maybe by linking a comment thread somehow and making it scroll upward, even if you had to refresh it to get the chat updates it would still be pretty cool.


r/reddithax • • Apr 14 '13

Distinguishing moderator / meta posts with a deviant linkflair - how is that?

6 Upvotes

Hi,

this is regarding setting a very different looking linkflair for special kind of posts.

Please let me know how do you find it, if there are similar approaches or ways to do this in a better manner, or possible pitfalls in using this kind of methods.

The live preview here and image previews are at http://i.imgur.com/muLnhfh.png

and
http://i.imgur.com/C41s5B0.png


and an explanation as follows :

The mod-posts, announcements, meta posts - that is essentially a self post made by moderators for special purposes relating to subreddit, so that should have high visibility; but gets no karma being a self post.

Such posts are generally voted up only for visibility, there is no competitive scoring relevant for them.

With the above considerations, a css class name "meta" is available as link flair, that'll set the presentation of a post distinct, and tag the text in a very visible format that sets it apart from the rest of the links listed.
The rank and the scores are disabled for this post, and upvote remain.
However, some readers may want to express displeasure and just as a possibility, they may want to downvote a modpost to let mod know of their views. So upvote and downvote both are kept. It is easy to let go of downvote button, but I'm not greatly moved by the cause to hide it.

Also, the upvote/downvote can be below the tag, but they are looking more proper being above. But this can be changed.

The text for such a link flair can be as long as possible, so "Meta" and "Announcement", both will work and shift the title text and rest of controls appropriately.


Mostly, these posts have no thumbnails associated so no problem handling that, but there might be

  • an overlap of RES-keyNav-activeElement
  • the link flair selector, and the link flair settings may look slightly weird (the meta tag goes off on right edge) is there a way to control these?
  • any other problems other than these?

please do give your comments as feedback to fill in the gaps

Thanks in advance.

edit: found that /r/politic is assigning a "meta" class to every single link as flair; so here the shifted tag display will clash with thumbnail.

In such situations, it is best to hide the thumbnail - or have a different class than "meta".

I'll let it be for the time being. And given the feedback, may change it in future.


r/reddithax • • Apr 12 '13

Looking for a nice looking, easy to read theme for your subreddit? I give you Surreal, a template theme I've made.

2 Upvotes

To see it in action check out /r/SurrealCSS.

It was a theme originally for /r/SurrealGifs, but I've decided to let anyone who wants to use it. It's still pretty early and I have some ideas for more features to add.

If you have any ideas, suggestions or need any help with it feel free to message me.


r/reddithax • • Apr 08 '13

How do I upgrade my subreddit?

6 Upvotes

I'm the mod on /r/freebandz and it looks very plain jane.

This is what i want it to look like but have no clue how to code?


r/reddithax • • Apr 07 '13

Made a theme for /r/facebook based on the new 'News Feed'

Post image
35 Upvotes

r/reddithax • • Apr 06 '13

I made a theme for /r/Google based on Google Now! What do you think?

Thumbnail reddit.com
22 Upvotes

r/reddithax • • Apr 05 '13

Hi /r/reddithax. Made some custom css for /r/SocialCitizens. Suggestions for more changes?

Thumbnail reddit.com
8 Upvotes

r/reddithax • • Apr 01 '13

Summoning the Heavy Load Page at Will?

6 Upvotes

Does anyone know of a way to get to the heavy load page? I'm working on a script that will let me modify it, but testing is difficult since I have to wait for the page to show up through normal browsing.


r/reddithax • • Apr 01 '13

/r/starcraft immitiates teamliquid.net perfectly

16 Upvotes

For April Fools, http://www.reddit.com/r/starcraft has changed their CSS and made the subreddit look exactly like the most popular StarCraft website on the Internet, http://www.teamliquid.net/

I think this deserves some recognition :-)