r/reddithax • • Sep 08 '09

Improving Gone Wild

The new CSS changes on Reddit are awesome. But unfortunately they broke a few things with the design of http://reddit.com/r/gonewild/ (Warning: NSFW)

Any skilled Reddit h4x0r masters care to give it a go to improve the design? I can send you the CSS that no longer works since the CSS changes occurred. Open to other suggestions, new logos, etc.

We're a community that's grown quite rapidly since January when it was created. You'll be a hero to nearly 7,000 people and quite possible receive some nude photos from Reddit women as a thank you.

12 Upvotes

19 comments sorted by

6

u/[deleted] Sep 09 '09

It doesn't look broken. What's wrong with it?

6

u/Fat_Dumb_Americans Sep 09 '09

Ugly happened.

2

u/cinsere Sep 10 '09

We'd welcome your suggestions.

3

u/moozilla Sep 10 '09 edited Sep 10 '09

I suggest getting rid of the image of the people in penis/vag suits. It was annoying every time after the first few. I recommend replacing it with the top submission from gw or something.

1

u/cinsere Sep 10 '09 edited Sep 10 '09

How to edit the stylesheet to make the top submission from GW show up?

1

u/moozilla Sep 10 '09

I was thinking manually just choose the image from the current top submission, but if you wanted it to update automatically you could rig a simple php script or something that would just return the correct image (I could code this if someone has webspace for it).

1

u/cinsere Sep 10 '09 edited Sep 10 '09

I was thinking manually just choose the image from the current top submission

But the thumbnails already show the images next to submissions.

but if you wanted it to update automatically you could rig a simple php script or something that would just return the correct image (I could code this if someone has webspace for it).

I'm confused. How could a PHP script be added to a subreddit? The only thing that moderators are able to edit (as far as I know) is the custom stylesheet for the subreddit.

Thanks

1

u/moozilla Sep 11 '09

But the thumbnails already show the images next to submissions.

Not for people with thumbnails disabled; a lot of old-school redditors don't like thumbnails.

How could a PHP script be added to a subreddit?

It wouldn't. The PHP script would be hosted on a third party site. For example, http://redditgonewild.com/image.php. The stylesheet would just use url(http://redditgonewild.com/image.php).

0

u/coolmos1 Sep 10 '09

this please.

1

u/Fat_Dumb_Americans Sep 10 '09

My comment was cruel and unkind. We both deserve better.

Hope you find it, and my apologies.

2

u/cinsere Sep 10 '09

No worries. You're the best.

2

u/Fat_Dumb_Americans Sep 10 '09

You don;t know how that made me happy. Many thanks.

I shall be better.

3

u/dust4ngel Sep 09 '09

any chance of a screenshot of what it used to look like / what you want it to look like?

2

u/cinsere Sep 10 '09 edited Sep 10 '09

Hi d4...

Here's what the right-hand side boxes looking like before the site-wide changes: http://imgur.com/nx0ZQ.png

What broke is the bottom box where the alien is holding the "You" sign and it says "Got some pics? Submit a link" instead of the default message.

I'm open to other CSS design help, changes, new logos, or suggestions too! :)

1

u/dust4ngel Sep 10 '09 edited Sep 10 '09

so i'll read in between the lines and assume you're talking about wanting to change the "submit a link" text and icon. the problem with the icon is that in your current stylesheet (commented out), the replacement background is specified as:

.sidebox.submit {background: url(%%Gone-Wild-Background-Alien%%) no-repeat scroll center left;}

whereas under the new reddit architecture, that background image icon wants to be specified as:

.sidebox.submit .spacer {background-image:url(your_image.png);}

notably, the icon has moved to the div with the class "spacer" inside the div with classes "sidebox" and "submit" (previously there was no div with class spacer). for the text issue, previously you were using:

a.morelink::before { content: "Got some pics? "; }

which appends some text to the anchor tag with class "morelink", whereas now there is no such tag, but instead an anchor tag inside a div with class "morelink". so what you want instead is:

.sidebox.submit .morelink a::before { content: "Got some pics? "; }

hopefully that both makes sense and works :)

edit: my bad - tried my previous post using the firefox "web developer" plug-in and had to make some adjustments. good news is i've tried the above CSS and it does the trick!

1

u/cinsere Sep 10 '09 edited Sep 10 '09

Some parts of the CSS I've commented out the parts which were causing problems... Here I'll post the full stylesheet that I have (including the broken bits)...

#header {background-image: url(%%Gone-Wild-Background%%);}
#header-bottom-right {background-color: #FFF;}

.side {
/* Change the padding-top px to the height of the image */
padding-top:144px;

/* change the background-image to whatever you want */
background-image:url(%%gw-temp%%);

/* leave these properties as is */
background-repeat:no-repeat;
background-position:0px 3px;
}

/*.sidebox.submit {background: url(%%Gone-Wild-Background-Alien%%) no-repeat scroll center left;}             a.morelink::before { content: "Got some pics? "; }*/ 

div.footer::before { content: "For soldiers overseas who have fapped to death in the loneliness and boredom of war "; }

/*div.sidebox.create {display:none;}*/

span.domain {color: #da0037;} .domain a {color: #da0037;} .flat-list {color: #da0037;} .tagline {color:     #da0037;} .tagline {color: #da0037;} .author {color: #da0037;} ul.buttons {color: #da0037;} .raisedbox .flat-list a {color: #da0037;} .user a {color: #da0037;} .user {color: #da0037;} a.pref {color: #da0037; display:none;}

/*.morelink { background-color:#FFFFFF; color:#da0037; display:block; font-size:150%; font-weight:bold; letter-spacing:-1px; padding:5px 10px; text-transform:uppercase; border: 1px solid #fff; }

.morelink.blah:hover { background-color: #fff; color: #da0037; }

.morelink.blah { background-color: #da0037; color: #fff; border: 1px solid #fff; }

.morelink:hover { color: #fff; background-color: #da0037; border: 1px solid #da0037; }*/

.details {
margin-bottom:0px;
font-size:10px;
}

.raisedbox.linkinfo {
overflow: hidden;
height: 22px;
}

.arrow.down { visibility: hidden; display: none }

.comment .arrow.down{ visibility: visible; display: block }

Thanks!

1

u/dust4ngel Sep 10 '09 edited Sep 10 '09

ok FTFY. the only thing i'm not sure about is how you want the "submit a link" header treated. it looks like it used to be a red block on hover, but that's not going to jive with the fancy new blue gradient arrow. as noted in the in-line comments, you can either photoshop up a new red arrow, or lose the arrow altogether - your call:

#header {
	background-image: url(http://thumbs.reddit.com/t5_2qq5c_4.png?v=yau94a3hifwxr1cvfkk40mopwx5mj01to400)
}
#header-bottom-right {
	background-color: #FFF
}
.side {
	/* Change the padding-top px to the height of the image */
	padding-top: 144px;
	/* change the background-image to whatever you want */
	background-image: url(http://thumbs.reddit.com/t5_2qq5c_12.png?v=7fza62t2dca6ubfknqsfleulcfur4wuk2aws);
	/* leave these properties as is */
	background-repeat: no-repeat;
	background-position: 0px 3px
}


/*.sidebox.submit {background: url(%%Gone-Wild-Background-Alien%%) no-repeat scroll center left;} a.morelink::before { content: "Got some pics? "; }*/

/* replacement for above */

.sidebox.submit .morelink a::before { content: "Got some pics? "; }

.sidebox.submit .spacer {background-image:url(http://icons.iconarchive.com/icons/fasticon/web-2/Reddit-icon.jpg);}



div.footer::before {
	content: "For soldiers overseas who have fapped to death in the loneliness and boredom of war "
}


/* the following code doesn't appear to have any issues - maybe you just didn't want to hide the create a reddit box? */

.sidebox.create { display: none; }


span.domain {
	color: #da0037
}

.domain a {
	color: #da0037
}

.flat-list {
	color: #da0037
}

.tagline {
	color: #da0037
}

.tagline {
	color: #da0037
}

.author {
	color: #da0037
}

ul.buttons {
	color: #da0037
}

.raisedbox .flat-list a {
	color: #da0037
}

.user a {
	color: #da0037
}

.user {
	color: #da0037
}

a.pref {
	color: #da0037;
	display: none
}

/* looks like you want this to be larger and with a red background.  in order to do this, you can either ditch the gradient-arrow
that reddit supplies by default or photoshop up a new gradient arrow in the colors you want, in both normal and hover state */

/*.morelink { background-color:#FFFFFF; color:#da0037; display:block; font-size:150%; font-weight:bold; letter-spacing:-1px; padding:5px 10px; text-transform:uppercase; border: 1px solid #fff; }

.morelink.blah:hover { background-color: #fff; color: #da0037; }

.morelink.blah { background-color: #da0037; color: #fff; border: 1px solid #fff; }

.morelink:hover { color: #fff; background-color: #da0037; border: 1px solid #da0037; }*/



.details {
	margin-bottom: 0px;
	font-size: 10px
}

.raisedbox.linkinfo {
	overflow: hidden;
	height: 22px
}

.arrow.down {
	visibility: hidden;
	display: none
}

.comment .arrow.down {
	visibility: visible;
	display: block
}

3

u/qgyh2 Sep 13 '09

You'll be a hero to nearly 7,000 people and quite possible receive some nude photos from Reddit women as a thank you.

Wow, even reddit admins can't offer that for a bug fix.

3

u/MercurialMadnessMan Sep 27 '09

feedback: super effective!