From OrganicDesign Wiki
Note: See MW:Extension:CSS for detailed information or discussion about this extension, or Extension:CSS.php to view the latest version of the code
This extension allows Cascading Style Sheets defined in articles to be included from other pages in a similar way that the MediaWiki:Monobook.css article is added. CSS example is an example page using the extension.
As a usage example, lets say you have a CSS article called "MyStyles.css", which are the styles intended for use with an article called "MyFancyUserPage", you would add the following parser function syntax to the latter,
{{#css:MyStyles.css}}