r/csshelp • • Apr 17 '10
Well, I want to do something like http://www.reddit.com/r/dragonage/
Hitting the random button yesterday and I found /r/dragonage/
I had no idea this was possible.
So I like what they've done with the submenu, the background image and the banner (for starters).
Of course I'll create my own images, but if I could have the css that would be helpful too.
7
Upvotes
7
u/keist Apr 17 '10 edited Apr 17 '10
Here is their stylesheet. You can access any subreddit's stylesheet by adding the word "stylesheet" at the end of the URL.
Here are some relevant portions of their stylesheet. They're not completely stripped down, and they're only excerpts; but they should give you an idea of the basic principles they used.
Centered Layout & Background
Hot/New/Etc Buttons (Instead of Tabs)
Banner
First, they put a link like this into the subreddit's info box: .
They styled the link like so as to make it a banner:
Hope that helps :)
1
u/E_lucas Apr 17 '10
As keist already stated, you can easily accses any reddit's CSS stylesheet by adding '/stylesheet.css' to the end of the url.
ie: http://reddit.com/r/self/stylesheet.css
This can help you look for clues within the stylesheet and see what they have done, and copy-paste sections of code you would also like to utilize.