Jump to content

MediaWiki:Common.css

From CAMIH
Revision as of 12:08, 6 November 2024 by Cotto (talk | contribs)

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

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

// hellblaue linke Spalte

#mw-content-text > div.mw-parser-output > table:nth-child(n) > tbody > tr:nth-child(n) > th {
    background-color: #cbeeff;
    text-align: center;
}