-
Bug
-
Resolution: Fixed
-
Minor
-
2.8.6
-
None
-
v2.7-r1
-
MOODLE_28_STABLE
-
MOODLE_28_STABLE
The selectors in your styles.css are likely to affect HTML outside the scope of your block. Please note that these CSS files from all the plugins are concatenated and the final big file is sent to the browser, regardless the actual viewed page. So some of your selectors may be applied at any page of the site.
More than that, your block is attempting to style background color and other properties of the <body> tag which is hardly what anybody would want.