Jump to content

MediaWiki:Common.css: Difference between revisions

From CAMIH
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
// linksbuendiger text in Queries
#mw-content-text > div.mw-parser-output > p:nth-child(n) {
    text-align: justify;
}


// weiße Reference Überschrift
// weiße Reference Überschrift
Line 111: Line 117:


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

Latest revision as of 09:33, 27 November 2024

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

// linksbuendiger text in Queries

#mw-content-text > div.mw-parser-output > p:nth-child(n) {
    text-align: justify;
}

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

// Tabellen Todos Ende

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

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

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

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

.wikitable > * > tr > td {
    vertical-align: top;
}