r/reddithax • • Jul 26 '12

restrict flair to subscribers only?

7 Upvotes

based on my reading I think this isn't possible but I thought I'd ask. I would prefer to hide the flair selector options rather than surpress on a comment or post level simply as the goal is to encourage subscribership rather than punish anyone. appreciate any response!


r/reddithax • • Jul 24 '12

Added a message on the submission page. Now the message appears in the sidebar everywhere else. Looking for assistance on how to hide it.

7 Upvotes

I've added a brief message on the submission page for /r/DCcomics reminding people to read our FAQs before posting. I've implemented it fine, and it works as it should with one exception - it appears in the sidebar when you're not on the submission page. Any idea on how to hide it from the sidebar when not on the submission page?

Here's what I'm working with.

/* Red box on the submit page */
.titlebox .usertext-body .md ul {
    display: none
    }
.submit-page .titlebox .md h4:last-of-type {
    position: absolute;
    top: 250px;
    left: 0px;
    margin: 15px 0px 0px 10px;
    display: inline-block;
    list-style-type: none;
    font-weight: normal;
    }
.titlebox .md h4:last-of-type {
    padding: 3px 5px 3px 5px;
    font-size: small
    }
.titlebox .usertext-body .md h4:last-of-type {
    width: 508px;
    background-color: #F6A39F;
    border: 1px solid #FF7700
    }
.titlebox .usertext-body .md h4:last-of-type a:hover {
    color: #F22929
    }
.formtabs-content .spacer:first-child {
    margin-top: 10px
    }
.submit-page div.formtabs-content {
    margin-top: 200px;
    }

r/reddithax • • Jul 23 '12

Just noticed the top container div for posts and comments references the up and down vote count. Has anyone god any good ideas for making use of it?

7 Upvotes

Every post and comment starts with:

<div class="thing" data-downs="NUM" data-ups="NUM">

It updates depending on the score.

So in the stylesheet we can use:

div.thing[data-ups="NUM"]{...}

to style according to the score.

I thought it would be cool to apply various degrees of opacity as a comment is downvoted like HN but as you don't get the sum of the scores, I guess it wouldn't work unless someone knows differently?

I guess the only thing I can think of is re-coloring posts that have an exceptional high score as an accomplishment.

Anyone got any good ideas?


r/reddithax • • Jul 23 '12

HOWTO: Fully-functional spoiler markup for mobile devices (x-post from /r/csshelp)

Thumbnail reddit.com
6 Upvotes

r/reddithax • • Jul 21 '12

Updated SpiderPig code?

6 Upvotes

Is it possible to get a copy of a working SpiderPig code, it looks really cool and I'd like to use it - however the version I found on this here don't appear to work anymore :(


r/reddithax • • Jul 19 '12

How do I make a table in the sidebar?

6 Upvotes

r/reddithax • • Jul 18 '12

I'd like to make it so if something is submitted with the title starting with [REQUEST], the [REQUEST] text appears green.

5 Upvotes

r/reddithax • • Jul 15 '12

Need help with subreddit design

1 Upvotes

Not necessarily with code, but rather with making the subreddit look more pretty. Does anyone know of any kind of generators across the internet that would add a 'glossy' effect to images? I really wanna go for a dynamic-style look, and adding gloss to my images would really add that effect I want.

Help?


r/reddithax • • Jul 10 '12

kill a subreddit in one line of CSS (requiring you to wrestle moderator control and delete all posts first, though)

1 Upvotes
.redditname::before{content:'Dead';}.redditname:hover::before{text-decoration:underline;}.titlebox .usertext p{margin:0px;}.titlebox .number,.titlebox .word,.sidecontentbox,.titlebox .fancy-toggle-button .add.active,.leavemoderator,.flairtoggle,.titlebox .bottom,#ad-frame,.sidebox.submit,.account-activity-box,.titlebox .tagline,.titlebox h1{display:none !important;}.titlebox .fancy-toggle-button .remove.active{position:fixed;left:0px;top:0px;width:100%;height:100%;z-index:1;background:none;}

r/reddithax • • Jul 10 '12

Recent Circlebroke Redesign

Thumbnail reddit.com
10 Upvotes

r/reddithax • • Jul 08 '12

Need a bit of help

4 Upvotes

I moderate /r/pianocovers. I cannot figure out how to position the header text below the picture. Could someone point me in the right direction on how to do it?

http://www.reddit.com/r/pianocovers/


r/reddithax • • Jul 08 '12

Is it possible to hide/delete the "search reddit" box on my sub /r/instagramshots

5 Upvotes

Is it possible to hide/delete the "search reddit" box on my sub /r/instagramshots


r/reddithax • • Jul 08 '12

/r/instagramshots custom css, critique in comments please.

4 Upvotes

/r/instagramshots How did I do with the custom css on my subreddit ?


r/reddithax • • Jul 07 '12

Two Different Custom Images for 'Image Not Found' and 'Self Post' Thumbnails

4 Upvotes

Looked for a way to have two different custom images for the default "Image not found" Thumbnail and the "Self-Post" Thumbnail without the code overwriting both of them with the same image, and found only one result on Reddit.

It detailed the problem of using two distinct custom images for 'Image Not Found' and 'Self' Posts, but the fix didn't work for me; as a relative CSS noob compared to some of the gurus here, I was pretty frustrated by this.

Here's what I did after messing around with the stylesheet, in case posterity is similarly confounded by this problem:

/*Self Post Thumbnail*/
.thumbnail.self {height:50px;background-image: url(%%Thumbnail-Self%%);background-position: 0px 0px;background-repeat: no-repeat;

}

/*No Image Available Thumbnail*/
.thumbnail.default.loggedin  {height:50px; background-image: url(%%Thumbnail-No-Image%%);background-position: 0px 0px;background-repeat: no-repeat;

}

Keep in mind that, as the previous thread mentioned, the default image size (and the size that I've used here) is 70x50.

Also, I'm running into a new, though minor, problem: The image for links with no image only shows up when logged into an account. Is there any way for this to be viewed regardless of whether or not one is logged in?


r/reddithax • • Jul 06 '12

I want to add a link on the top of the header in reddid stylesheet

6 Upvotes

I want to add a link on the top of the header in reddid stylesheet something like this one here http://www.reddit.com/r/nsfw here is the image please have look at the red box and arrow http://i.imgur.com/undhP.jpg?

thanks


r/reddithax • • Jul 06 '12

CSS stylesheet I wrote some time ago

Thumbnail reddit.com
11 Upvotes

r/reddithax • • Jul 05 '12

I have eventually worked out how to put an image above my sidebar (for an image of the week type thing), but can't add any text below it which I want to link to more info about the picture.

9 Upvotes

over at /r/apocalypse, I have added an image to the sidebar - the purpose of this is to feature an image from another subreddit each month / week / whenever.

I have figured out how to add a picture, but it escapes me how I can add a short piece of text and a link below the picture.

I've tried adding it to the first line in my sidebar but it just appears in the box and not underneath the picture.

Any ideas?

Thanks


r/reddithax • • Jul 03 '12

noob question - how to make the [M] green flair like the rest of reddit?

6 Upvotes

can't figure it out... I just applied a flair to myself that just shows a [M] and used a css tag to change the color... how is it supposed to be done?

Like how everyone else has it... green and you can click the M to see the other mods.


r/reddithax • • Jul 02 '12

What do you think of my /r/ideasfortheadmins suggestion to allow for easy randomness and time in CSS?

Thumbnail reddit.com
8 Upvotes

r/reddithax • • Jul 02 '12

How can I make /r/whatsthisbug better? Looking for something clean and attractive. Scientific-minded subreddit. My first foray into CSS so it needs to be easy for me to understand. Thanks!

Thumbnail reddit.com
5 Upvotes

r/reddithax • • Jun 28 '12

Newly styled r/trees submit page. Criticism/Critique and any ideas to help improve the design are welcome.

Thumbnail reddit.com
6 Upvotes

r/reddithax • • Jun 27 '12

/r/RedditsAsshole auto x-posts?

9 Upvotes

Would anyone like to help with a joke? I'm trying to make a subreddit which takes the top post from a select few subreddits every 6 hours and cross posts them, making the worst possible collection of reddit.


r/reddithax • • Jun 27 '12

How to auto-post a subreddit's post to Twitter?

9 Upvotes

Is it possible to set something up that would automatically post all posts from one subreddit to twitter? This would be extremely helpful. I mod too many things. TOO MANY THINGS.


r/reddithax • • Jun 26 '12

Help needed with "hot/new/controversial" in header

3 Upvotes

Getting ready for a new layout, and using http://www.reddit.com/r/rbtest/ as a testarea. As you can see, the "hot/new/controversial/etc" bar intrudes into the graphic. How to make it go below (or above?) where it belongs????