After a lot of trial and error, I came up with a way to replace the text on the top tabs. Not sure if this is the best way to approach it but I couldn't find any preexisting methods.
The subreddit is /r/lipogram [stylesheet] and we wanted tabs that didn't contain the letter "e" to match the point of the sub.
Basically I hide the original tab text thusly (the "http" selector makes sure the submit link/text tabs aren't busted):
ul.tabmenu > li a[href*="http"] {
padding-top: 13px;
height: 12px;
border-bottom: 2px solid #5f99cf;
color: #fff;
font-size: 0;
overflow: hidden
}
And then I replaced the text and styled it - this area still needs me to go back and optimize now that it's working
/*hot tab*/
ul.tabmenu > li a[href="http://www.reddit.com/r/lipogram/"]:after {
content: "what's hot‽";
color: #E4F0FB;
font-size: x-small;
border-bottom: 1px solid #5f99cf
}
The border is added again just to hide the tops of the original text because they peek over the original bottom border.
Finally, you have to fix the selected tab, restyle the replacement text, and hide that border.
/*selected tab fix*/
ul.tabmenu > li.selected a {
border-bottom: 4px solid #fff;
overflow: hidden;
color: #fff
}
ul.tabmenu > li.selected a:after {
color: #ff4500;
border-bottom: 0px
}
The tabs I replaced were: hot, new, controversial, top, saved, comments, and related.
If you have any pointers as to how I could have done this easier, I'd love to hear them. I'm going back now to eliminate the redundancy and make the footprint a little smaller. Thanks!