MEpedia:CSS

From MEpedia, a crowd-sourced encyclopedia of ME and CFS science and history
Revision as of 21:03, February 22, 2020 by Notjusttired (talk | contribs) (→‎Installed skins: create section and document banner messages)

Cascading Styles Sheets or CSS control the visual appearance on MEpedia, for example table styles or positioning of different elements in the screens.

Skins

Each skin installed contains CSS that sets the look and feel, For example, Vector and Monobook show the same information but use different fonts and slightly different layouts. Each skin has its own CSS file to control this. Users can choose which skin to use for themselves from their Special:Preferences setting.

Common.css

A stylesheet used by all different skins. This makes custom changes to every skin, for example displaying the MEpedia logo. This shared stylesheet can be viewed or edited from MediaWiki:Common.css.

Installed skins

Each skin's appearance can be customized by editing the CSS file.

The colored top banners for the potential treatments, potential comorbidities and medical hypothesis are set within the relevant Javascript files instead, with MediaWiki:Common.js setting these for all skins.

See also

References