Forum:Making top bar buttons smaller

It's me again, yay.

Can I reduce/get rid of the padding for the buttons on the bar above the article body? (the one next to the bench mark, where there's an "edit this menu" button at the bottom), can anyone supply me with the Javascript/CSS, and furthermore, is it legal?