Difference between revisions of "Explain/CSS"
Line 24: | Line 24: | ||
==Notable Pages== | ==Notable Pages== | ||
Notable uses of CSS during the wiki's lifespan. | Notable uses of CSS during the wiki's lifespan. | ||
+ | ===Train=== | ||
+ | {{Main|Train}} | ||
+ | The train page uses CSS animations that make different trains move across the screen. The animations have since turned into [[:Template:Train|a template]]. | ||
[[Category:Unwanted pages (official)]] | [[Category:Unwanted pages (official)]] | ||
[[Category:Explain]] | [[Category:Explain]] |
Revision as of 16:13, 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.
Early uses
Color pages
- See also: Explain/Color pages
Askew pages
- See also: Explain/Askew
Rotating cubes
- See also: Explain/Rotating CSS cubes
Click and drag games
Aesthetic templates
Skins
Notable Pages
Notable uses of CSS during the wiki's lifespan.
Train
The train page uses CSS animations that make different trains move across the screen. The animations have since turned into a template.