MediaWiki:Common.css: Difference between revisions

TeamSpec theme: colours move from inline styles to MediaWiki:Common.css classes
TeamSpec theme: colours move from inline styles to MediaWiki:Common.css classes
 
Line 6: Line 6:
   --background-color-base, and the theme's own --ts-* names. Each var() falls back to the
   --background-color-base, and the theme's own --ts-* names. Each var() falls back to the
   Wikipedia colour, for the skins the theme leaves alone. Templates use these classes
   Wikipedia colour, for the skins the theme leaves alone. Templates use these classes
   rather than inline colours, so a palette change reaches every page. */
   rather than inline colours, so a palette change reaches every page. (No double braces
  in these comments: the wiki records them as template uses.) */


.page-Main_Page .mw-first-heading {
.page-Main_Page .mw-first-heading {
Line 57: Line 58:
}
}


/* --- Infoboxes and navboxes ({{Infobox weapon}}, {{Game nav}} and the rest) ---------- */
/* --- Infoboxes and navboxes (Template:Infobox weapon, Template:Game nav and the rest) -- */


.ts-infobox,
.ts-infobox,
Line 95: Line 96:
}
}


/* --- {{Note}}, {{Tip}}, {{Warning}} ---------------------------------------------------- */
/* --- Template:Note, Template:Tip, Template:Warning ------------------------------------ */


.ts-callout {
.ts-callout {
Line 119: Line 120:
}
}


/* --- {{Key}}: a key cap, the dashboard's dark button ----------------------------------- */
/* --- Template:Key: a key cap, the dashboard's dark button ----------------------------- */


.ts-key {
.ts-key {
Line 129: Line 130:
}
}


/* --- {{API member}} --------------------------------------------------------------------- */
/* --- Template:API member ------------------------------------------------------------- */


.ts-api {
.ts-api {
Line 158: Line 159:
}
}


/* --- {{Falloff chart}} (Module:Falloff draws it, the falloff gadget adds the cursor) --- */
/* --- Template:Falloff chart (Module:Falloff draws it, the falloff gadget adds the cursor) */


.ts-falloff-plot {
.ts-falloff-plot {