Jump to content

MediaWiki:Common.css

From CAMIH
Revision as of 11:55, 25 July 2024 by Cotto (talk | contribs) (Created page with "CSS placed here will be applied to all skins: input[value="low risk"] { accent-color: green; margin: 0px; } input[value="some concerns"] { accent-color: orange; margin: 0px; } input[value="high risk"] { accent-color: red; margin: 0px; } #pfForm > div.mw-parser-output > div:nth-child(32) > div.multipleTemplateList > div.multipleTemplateInstance.multipleTemplate > table > tbody > tr > td.instanceMain > table > tbody > tr:nth-child(n+1):nth-...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */

input[value="low risk"] {
    accent-color: green;
    margin: 0px;
}

input[value="some concerns"] {
    accent-color: orange;
    margin: 0px;
}
input[value="high risk"]  {
    accent-color: red;
    margin: 0px;
}

#pfForm > div.mw-parser-output > div:nth-child(32) > div.multipleTemplateList > div.multipleTemplateInstance.multipleTemplate > table > tbody > tr > td.instanceMain > table > tbody > tr:nth-child(n+1):nth-child(-n+8) > td > span > label:nth-child(2) {
    color: green;
    margin: 0px;
    margin-right: 5px;
}

#pfForm > div.mw-parser-output > div:nth-child(32) > div.multipleTemplateList > div.multipleTemplateInstance.multipleTemplate > table > tbody > tr > td.instanceMain > table > tbody > tr:nth-child(n+1):nth-child(-n+8) > td > span > label:nth-child(3) {
    color: orange;
    margin: 0px;
    margin-right: 5px;
}

#pfForm > div.mw-parser-output > div:nth-child(32) > div.multipleTemplateList > div.multipleTemplateInstance.multipleTemplate > table > tbody > tr > td.instanceMain > table > tbody > tr:nth-child(n+1):nth-child(-n+8) > td > span > label:nth-child(4) {
    color: red;
    margin: 0px;
    margin-right: 5px;
}