Difference between revisions of "Explain/CSS"
Line 23: | Line 23: | ||
===Skins=== | ===Skins=== | ||
[[Category:Unwanted pages (official)]] | [[Category:Unwanted pages (official)]] | ||
+ | [[Category:Explain]] |
Revision as of 09:35, 24 June 2023
<< Return to Explain under construction
Cascading Style Sheets (often shortened to CSS) is a stylesheet language for styling HTML elements on webpages. Its standard is maintained by an organization known as W3C, and it is responsible for specifying the vast majority of the visual layout of the modern Internet. On The Wiki Camp 2,
Use on the wiki
Out of the box, MediaWiki allows editors to include inline styles with HTML tags which doesn't allow for use of selectors. Without any extensions, in order to make use of CSS selectors, you have to add the rules to MediaWiki:Common.css. The Wiki Camp 2 wiki has several extensions installed which allow for easier[wc] use of CSS on individual pages. The CSS extension adds a parser tag which can be used to add CSS to a single page. The TemplateStyles extension [...].
One of the earliest instances of using CSS to alter [the layout?] was Template:Fuck2, a template which uses CSS to remove all of the site navigation leaving only the wiki page's content and title.