Difference between revisions of "Explain/CSS"

From The Wiki Camp 2
Jump to navigation Jump to search
(got rid of most of the stuff)
m (Background information)
Line 2: Line 2:
 
under construction
 
under construction
  
'''Cascading Style Sheets''' (often shortened to '''CSS''') is a stylesheet language for styling HTML elements on webpages. On The Wiki Camp 2,
+
'''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 ==
 
== Use on the wiki ==

Revision as of 23:02, 23 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

Askew pages

Rotating cubes

Click and drag games

Aesthetic templates

Skins