boonebgorges / buddypress-docs

GNU General Public License v3.0
106 stars 44 forks source link

Scope CSS selectors #500

Closed dcavins closed 8 years ago

dcavins commented 8 years ago

Some of our CSS selectors are a bit too vanilla, like .description, and affect elements on the page beyond the BP Docs content. See https://wordpress.org/support/topic/italic-font-style-aapears-but-not-in-css-defined.

boonebgorges commented 8 years ago

:+1: Let's tread gently here, because selector changes will break theme-specific styling. But yeah, we should do a better job being specific.

dcavins commented 8 years ago

Maybe the new BP Docs container would provide a nice range in which to work. https://github.com/boonebgorges/buddypress-docs/commit/2318e093f82127d857f834b4d229404cd7c328d1

dcavins commented 8 years ago

Fixed in https://github.com/boonebgorges/buddypress-docs/commit/8f3b0ecea38def761e35bc8fafd161309495c618.