Jump to content

MediaWiki:Common.css: Difference between revisions

From CAMIH
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 7: Line 7:


}
}
// weiße Reference Überschrift
// weiße Reference Überschrift


Line 112: Line 110:


.wikitable {
.wikitable {
  background-color: #ffffff;
//        background-color: #ffffff;
  color: #202122;
        color: #202122;
  margin: 1em 0;
        margin: 1em 0;
  border: 1px solid #a2a9b1;
        border: 1px solid #a2a9b1;
  border-collapse: collapse
        border-collapse: collapse
}
}

Revision as of 12:31, 6 November 2024

/* CSS placed here will be applied to all skins */

// hellblaue linke Spalte
.wikitable > tr > th, .wikitable > * > tr > th {
    background-color: #cbeeff;
    text-align: center;

}
// weiße Reference Überschrift

#mw-content-text > div.mw-parser-output > table.wikitable > tbody > tr:nth-child(1) > th > span > a:visited {
    color: #ffffff;
}
#mw-content-text > div.mw-parser-output > table.wikitable > tbody > tr:nth-child(1) > th > span > a:link{
    color: #ffffff;
}
#mw-content-text > div.mw-parser-output > table.wikitable > tbody > tr:nth-child(1) > th > span > a {
    color: #ffffff;
}
#mw-content-text > div.mw-parser-output > table.wikitable > tbody > tr:nth-child(1) > th > span > a:hover{
    color: #ffffff;
}
#mw-content-text > div.mw-parser-output > table.wikitable > tbody > tr:nth-child(1) > th > span > a:active {
    color: #ffffff;
}


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:100%;
}

.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 */
}

.vector-body p {
  margin: 0px;
}

// weißer Hintergrund

.wikitable {
//        background-color: #ffffff;
        color: #202122;
        margin: 1em 0;
        border: 1px solid #a2a9b1;
        border-collapse: collapse
}