Difference between revisions of "Explain/CSS"

From The Wiki Camp 2
Jump to navigation Jump to search
Line 12: Line 12:
 
===Early uses===
 
===Early uses===
 
====Color pages====
 
====Color pages====
: See also: [[Explain/Color pages]]
+
: ''See also: [[Explain/Color pages]]''
 
====Askew pages====
 
====Askew pages====
: See also: [[Explain/Askew]]
+
: ''See also: [[Explain/Askew]]''
 
===Rotating cubes===
 
===Rotating cubes===
: See also: [[Explain/Rotating CSS cubes]]
+
: ''See also: [[Explain/Rotating CSS cubes]]''
 
===Click and drag games===
 
===Click and drag games===
  

Revision as of 09:46, 24 June 2023

He wasn't kidding...

<< 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