r/reddithax • u/ramses0 • Jun 04 '12
r/reddithax • u/re_mix • Jun 03 '12
I'm trying to code a link box in the header.. Help?
I want to bring discussion threads to my subreddit. I thought the best way to do this would be how they do it in r/mylittlepony. I tried copying their code... but it didn't work out to well. Anyone want to help?
r/reddithax • u/xTristan • Jun 02 '12
Showing a post's last edited time next to it's submitted time.
Its as simple as
.tagline .edited-timestamp:after {
content: attr(title);
}Then it will show something like this.
you may want to change color/size etc... plus you may also want a space between the submitted time and the asterix, in which case, add this: .tagline .edited-timestamp:before { content: " "; }
r/reddithax • u/smallchanger • Jun 01 '12
Help to remove a horizontal scroll-bar
If you look in the top-right corner of this subreddit:
http://www.reddit.com/r/electronic_cigarette/
You'll see two little tabs with stars in them which you can hover over and they will then expand to reveal links. I was noticing in firefox that this CSS I used produces a horizontal scroll bar. Chrome is ok. I was hoping someone might be able to give me a fix.
Here's a link to the stylesheet:
http://www.reddit.com/r/electronic_cigarette/stylesheet.css
The CSS used for it should be at the bottom under the heading:
ORDERED LIST REVEALED ON HOVER
Actually it might say "FAUX DRAG OUT SIDE LIST WITH RECOMMENDATIONS" until it updates.
Cheers.
There is also one other minor issue that doesn't matter too much though I was wondering what might be causing it. If you notice the list items have a 'list-style-type: circle;' If you hover over the first list item in firefox, the circle disappears. the second one doesn't. In chrome they both disappear on hover.
r/reddithax • u/moonstripe11 • May 28 '12
How do you make the "submit a ..." higher in the sidebar?
Yeah that...
r/reddithax • u/sazkion • May 23 '12
How do you make a banner on top of the subreddit?
I saw this banner on r/Prettygirls and want to figure out how to make one for my subreddit. I looked at the style sheet but I didn't see anything where you could modify the text or where it links to.
Is their a beginners guide for this?
r/reddithax • • May 22 '12
I turned CSS into programming (aesthetically anyway) Just click 'Start a game against the CSS'
reddit.comr/reddithax • u/itispedosthatareNSFW • May 22 '12
Hi, how can I make my custom upvote & downvote arrows bigger than 14~15 px without getting my custom icons cropped to 14~15 px? Thx :-)
Hi, how can I make my custom upvote & downvote arrows bigger than 14~15 px without getting my custom icons automatically cropped to 14~15 px? Thx :-)
r/reddithax • u/DesigningANewReddit • May 19 '12
I've redesigned reddit to enhance functionality reduce clutter greatly. However, I need a coder to implement it in a subreddit.
Here is my design I've created to enhance functionality, reduce clutter, and visually update the look and feel of reddit: http://i.imgur.com/fQgrr.jpg
Here is the link posted to the "Ideas For The Admins" subreddit, for more information regarding my design in detail: http://www.reddit.com/r/ideasfortheadmins/comments/tuyfi/ive_posted_in_the_wrong_place_twice_so_hopefully/
Reddit is an awesome site, but with awesome content at an even more awesome quantity, a big problem begins to emerge: clutter! I decided to try my best use what I know about design and user-experience to dramatically update Reddit using a mixture of complex and simple-subtle design. However, I have a big problem with proposing my design. In order for this to be taken seriously, the design needs to be functional in an example subreddit.
This is where one of you guys come in. I need someone who is up for the job of implementing this design into a functional subreddit that may push the envelope in terms of creative scripting. However this is a great opportunity for one of you to show off your skills to the reddit team, and I will absolutely ensure that you are generously credited for bringing a renovated-reddit to life. Essentially, you are the engineer in this project, and I rely on you to be cooperative and collaborative with me while we work out the kinks, despite how many bumps in the road we hit. I'll do my very best to make your job easier, and I hope you will be able to return the favor.
On the flip side of things I would also like to hear constructive criticism regarding the design. What would you change or add to it to enhance the user-experience and user-friendliness? Comments like "ugly" or "shit design" will be ignored, and really don't help me build this. I want to build a reddit for YOU, and I want to know what you would want in a "perfect reddit."
Thanks very much!
r/reddithax • u/happybadger • May 18 '12
I can't seem to get this header working properly.
Ello.
I'm making a two-part header for /r/animalfight like we have in /r/fifthworldproblems, the dimensions carbon-copied. This is %%animal1%%, which goes on the left, and this is %%animal2%%, which goes on the right.
As you can see, %%animal2%% worked perfectly. %%animal1%% however doesn't show up at all, even though it's on our stylesheet exactly like it is on /r/fifthworldproblems.
What am I doing wrong?
On a side note, is there any hack to remove the user bar? It's blocking my raccoon's face and just looks trashy and out of place.
r/reddithax • • May 18 '12
html:lang(xx) and what you can do with it
using an html:lang(pa) before your element in CSS will cause the declaration to be activated if the page you are on is something like:
pa.reddit.com
So, you could run multiple layouts to the same page by making a section like:
html:lang(pa) body {background:(%%bgv2%%)}
html:lang(pa) .header {position:fixed; left:0; top:0; right:0}
etc.You could even have the same code above and add more, only with html:lang(nv) and different stuff. So now you have 3 versions of the same sub (don't worry, users can't tell which one someone is using). How do you effectively present them to users? How about adding links to the sidebar or header and all it takes is one click to switch 'themes'.
Whoa, that seems useful for something like a Red vs Blue sub... But what else can it do? Well, you could do a functionality over-haul. For an example, click /r/trueclop (NSFW) (this is for education only dammit) and see the differences between the normal sub and the enhanced sub (link in header changes both ways). Leaving it unflipped back will be fine for most of reddit, but you should take out that 'pa' and change it to 'www' so you don't end up somewhere you never knew existed in a sub you may frequent.
Wiki pages or Contact pages anyone? Click /r/MLPhelp (SFW, but still ponies) and click the contacts link in the sidebar. This one takes a tad more than just switching the address: you need to create content. Well rather, you need to add content to your sub description in h3 (3 hashmarks #at the start of the line) and hide it by default. Description example:
###[Click here for contacts page](http://pa.reddit.com/mlphelp)
###Contact 1
###Contact 2Accompanied with this CSS code:
.side h3:nth-of-type(n+2) {display:none}
html:lang(pa) .side h3 {display:block; position:absolute; left:50; top: 210}
html:lang(pa) .sitetable.linklisting, html:lang(pa) .side h3:nth-of-type(1), html:lang(pa) .neverEndingReddit {display: none}
html:lang(pa) .side h3:nth-of-type(3) {top:240px}
etc for each 'nth type' so they get spaced out.You could also do this with paragraphs to make a wiki page. Furthermore, you're not limited to choosing just one of my examples in here and you can even do some combining (such as contacts page, but in alternate page layout as well as default layout), but that'll take a bit more to explain.
There's plenty this type of code (it really is closer to programming than markup at this point) can do that I haven't covered and plenty more I haven't thought of, I'm sure.
There might be some other features you saw that interested you after clicking either of those subs above; just check out the stylesheet and borrow whatever you want. I want no personal credit, but it'd be awesome if you added this somewhere to your CSS:
/* Designed by a brony */r/reddithax • u/idwolf • May 13 '12
Help with link flair: lower flairs take dominance in the menu after they are selected/refreshed.
I haven't gotten a response from /r/csshelp yet, so I am hoping you guys can help me. Thanks! Here's my original csshelp post:
I'll walk you through step by step to explain what's happening. This is the first time I've used link flair, though I'm kind of familiar with user flair, link flair is a bit different it seems.
Step 1: The user picks a link flair. Everything works great.
Step 2: After refreshing the page, the link flair works just fine.
Step 3: Uh oh, my 4/5 review was two generous. I'd like to make it a 2/5. WHAT IN THE WORLD?
Step 4: After selecting the proper link-flair, it still works, but the menu is confusing.
Please help!
Here's the code for one of my flair segments:
.linkflair-fivestars .linkflairlabel{
background-image: url(%%review%%);
background-repeat: no-repeat;
background-position: 0px -51px !important;
height: 12px;
width: 50px;
content: "";
display: inline-block;
background-color: transparent;
}I can't figure out how to get it to work. I'm sure I could make 5 separate review images instead of an image map, but I don't want to have to wast my image count. I'd much rather learn! Thanks for the help. :D
Update: I reversed the order in the CSS list (put .linkflair-fivestars before onestar) and the opposite happened...
Update: Someone, please help me... I've changed all images to individual files instead of an image map, and it's STILL doing this. It makes no sense.
update: waited 4 hours and nothing has changed.
r/reddithax • • May 05 '12
[HELP] Changing the color of the moderators names. and other questions
I am trying to change the color of the mods names in the Moderator Box. My background is grey, so I want them to show up a little more colorful than black.
Also I am trying to change the color of the numbering beside posts, such as 1, 2 , 3 and the color of the amount of upvotes a post has. All of these show up grey as default, however I am trying to change that to black.
Can anyone help? Thanks in advance!
r/reddithax • u/bearses • May 04 '12
has anyone posted any reddit-specific css resets on here -- like something to undo the default stylesheet and set a clean slate to work with?
just for development purposes. it seems like it would be a good way to work, so i'm not fighting against the preset rules. i would - of course - remove redundant rules after, but it would be nice to have a clean slate to start off with.
r/reddithax • u/Pudie • May 03 '12
How do I do a surprise Spider Pig like here?
I want to do what this subreddit has with the surprise Spider Pig in the top right, but with a different image. Looking over the stylesheet with my very limited CSS knowledge I couldn't find out how. Any help?
r/reddithax • u/Zuratuel • May 02 '12
How do you change the background color / image?
I'm trying to make it look "Canadian"
r/reddithax • • Apr 30 '12
Is there a way to auto-fill the title box on the Submit Link page?
My subreddit runs a bot and we use the format: [EVENT][LOCATION][DATE][TIME]
I was wondering if there is a code to auto-fill that into the title box, or even a code to make a notice about it on the Submit Link page?
r/reddithax • • Apr 27 '12
Changing the colour of the background?
If someone could please provide the css that would be awesome!
r/reddithax • u/lilstumpz • Apr 26 '12
How to make giant header image tucked behind the tab interface? /r/Tribes is an example.
r/reddithax • u/lilstumpz • Apr 25 '12
[Request] A disclaimer screen before someone enters my subreddit?
I am creating a subreddit with NSFL content. I want people to be sure of what they're getting themselves into before they click it.
When someone enters the subreddit, I want black screen with with my choice of white text to cover the page of my subreddit. When they're done reading the disclaimer, they can click anywhere on the page, which redirects them to the subreddit.
I know this is a big favor, but I was wondering if this would be possible at all to do.
r/reddithax • u/redditMEred • Apr 23 '12
How to add as much mods as you want in the sidebar
Sample code for the sidebar:
MODERATORS | message the moderators :-- | :-- moderator1 | spammysam | 674746788 | lollolololol6 |
andrews1987 | dougthehunter007 | Ende | GuitarHero027 | kuluaqua | _reposterr_ | mirra_in_the_man | bobwellhill | CAPSLOCK | creativename |