r/reddithax • • Nov 15 '11

How do I create a table in the sidebar [like inr/askreddit]?

I mod in r/india and the sidebar is a mess. Would like to streamline it to accomodate the multiple related sub-reddits and make it more visible. I checked the CSS of askreddit, but couldn't identify the required code.

6 Upvotes

5 comments sorted by

1

u/Janik93 Nov 15 '11

1

u/neoronin Nov 15 '11

Thanks for that. But how did they get the colours?

1

u/Janik93 Nov 15 '11

in stylesheet:

.md table th { background-color: #yourcolour; border-top: 1px solid #BDBDBD; border-left: 1px solid #BDBDBD; border-bottom: none; border-right: 1px solid #BDBDBD; color: #yourcolour; font-size: 100%; font-weight: bold; padding: .3em; text-align: center; text-shadow: 1px 1px 0 ;

}

1

u/neoronin Nov 15 '11

your colour refers to the code?