Jump to content

MediaWiki:Common.css: Difference between revisions

From CAMIH
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-..."
 
No edit summary
Line 14: Line 14:
     margin: 0px;
     margin: 0px;
}
}
 
#pfForm > div.mw-parser-output > div:nth-child(33) > div.multipleTemplateList > div:nth-child(3) > table > tbody > tr > td.instanceMain > table > tbody > tr:nth-child(n+1):nth-child(-n+8) > td > span > label:nth-child(2){
#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;
     color: green;
     margin: 0px;
     margin: 0px;
Line 21: Line 20:
}
}


#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) {
#pfForm > div.mw-parser-output > div:nth-child(33) > div.multipleTemplateList > div:nth-child(3) > table > tbody > tr > td.instanceMain > table > tbody > tr:nth-child(n+1):nth-child(-n+8) > td > span > label:nth-child(3){
     color: orange;
     color: orange;
     margin: 0px;
     margin: 0px;
Line 27: Line 26:
}
}


#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) {
#pfForm > div.mw-parser-output > div:nth-child(33) > div.multipleTemplateList > div:nth-child(3) > table > tbody > tr > td.instanceMain > table > tbody > tr:nth-child(n+1):nth-child(-n+8) > td > span > label:nth-child(4){
     color: red;
     color: red;
     margin: 0px;
     margin: 0px;
     margin-right: 5px;
     margin-right: 5px;
}
}

Revision as of 12:02, 25 July 2024

/* 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(33) > div.multipleTemplateList > div:nth-child(3) > 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(33) > div.multipleTemplateList > div:nth-child(3) > 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(33) > div.multipleTemplateList > div:nth-child(3) > 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;
}