MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 54: | Line 54: | ||
#mw-content-text > div.mw-parser-output > p:nth-child(1) { | #mw-content-text > div.mw-parser-output > p:nth-child(1) { | ||
display: none; | display: none; | ||
} | |||
.uniform-width-table { | |||
width:75%; | |||
} | |||
.wikitable.uniform-width-table th:nth-child(1), .wikitable.uniform-width-table td:nth-child(1){ | |||
width: 60%; /* Width for the first column */ | |||
} | |||
.wikitable.uniform-width-table th:nth-child(2), .wikitable.uniform-width-table td:nth-child(2){ | |||
width: 5%; /* Width for the second column */ | |||
text-align: center; | |||
} | |||
.wikitable.uniform-width-table th:nth-child(3), .wikitable.uniform-width-table td:nth-child(3){ | |||
width: 5%; /* Width for the third column */ | |||
text-align: center; | |||
} | |||
.wikitable.uniform-width-table th:nth-child(4), .wikitable.uniform-width-table td:nth-child(4){ | |||
width: 30%; /* Width for the fourth column */ | |||
} | } | ||
Revision as of 10:46, 7 August 2024
/* CSS placed here will be applied to all skins */
input[value="low risk"] {
margin: 0px;
}
input[value="some concerns"] {
margin: 0px;
}
input[value="high risk"] {
margin: 0px;
}
#pfForm > div.mw-parser-output > div:nth-child(33) > 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(33) > 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(33) > 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;
}
.low-risk {
color: green;
}
.some-concerns {
color: orange;
}
.high-risk {
color: red;
}
#mw-content-text > div.mw-parser-output > p:nth-child(2) {
display: none;
}
#mw-content-text > div.mw-parser-output > p:nth-child(4) {
display: none;
}
#bodyContent > div.mw-body-subheader {
display: none;
}
#mw-content-text > div.mw-parser-output > p:nth-child(1) {
display: none;
}
.uniform-width-table {
width:75%;
}
.wikitable.uniform-width-table th:nth-child(1), .wikitable.uniform-width-table td:nth-child(1){
width: 60%; /* Width for the first column */
}
.wikitable.uniform-width-table th:nth-child(2), .wikitable.uniform-width-table td:nth-child(2){
width: 5%; /* Width for the second column */
text-align: center;
}
.wikitable.uniform-width-table th:nth-child(3), .wikitable.uniform-width-table td:nth-child(3){
width: 5%; /* Width for the third column */
text-align: center;
}
.wikitable.uniform-width-table th:nth-child(4), .wikitable.uniform-width-table td:nth-child(4){
width: 30%; /* Width for the fourth column */
}