The CSS style sheet that wishes to edit the space:
- Once in the space, then select Space tools > Look and Feel from the bottom of the sidebar .
- Then select Stylesheet and then Edit .
- Copy and paste your custom CSS into the text input box.
- Save your changes. The new CSS effect will be applied to all content pages in this space.
https://www.cwiki.us/display/CONFLUENCEWIKI/Basic+Styling+Tutorial