MediaWiki: Common.css: Difference between revisions

From KaiyouRO
Jump to: navigation, search
No edit summary
No edit summary
 
Line 40: Line 40:
         display: none;
         display: none;
     }
     }
}
.naviText {
    display: inline-block;
    color: #b8860b;
    cursor: pointer;
    padding: 1px;
}
.naviCopied {
    display: none;
    color: #b8860b;
    border: 1px dotted #e0ac28;
    padding: 0 20px;
    border-radius: 5px;
}
}



Latest revision as of 15:37, 16 October 2022

/
*************** Tabla de contenido ***************
 1 - NavBox 
 2 - Wikitablec
**************************************************
*/

/* 1 - NAVBOX */

table.navbox {
    background-color: #f9f9f9;
    border: 1px solid #aaa;
    clear: both;
    font-size: 90%;
    margin: 1em 0em 0em;
    padding: 2px;
    width: 100%;
}

table.navbox th {
    background-color: #90EE90;
    padding-left: 1em;
    padding-right: 1em;
}

table.navbox tr:not(:first-child) th {
    background-color: #90EE90;
}


.collapseButton {
    float: right;
    font-weight: normal;
    text-align: right;
    width: auto;
}

@media print {
    .navbox {
        display: none;
    }
}

.naviText {
    display: inline-block;
    color: #b8860b;
    cursor: pointer;
    padding: 1px;
}

.naviCopied {
    display: none;
    color: #b8860b;
    border: 1px dotted #e0ac28;
    padding: 0 20px;
    border-radius: 5px;
}

/*  2 - Wikitablec */

table.wikitablec,
table.prettytable {
  margin: 1em 1em 1em 0;
  background: #f9f9f9;
  border: 1px #aaa solid;
  border-collapse: collapse;
}

table.wikitablecenter, 
table.prettytable {
  margin-left: auto;
  margin-right: auto;
  background: #f9f9f9;
  border: 1px #aaa solid;
  border-collapse: collapse;
} 

table.wikitablec th, table.wikitablec td,
table.prettytable th, table.prettytable td {
  border: 1px #aaa solid;
  padding: 0.2em;
  text-align: center;
}

table.wikitablec th,
table.prettytable th {
  background: #f2f2f2;
  text-align: center;
}

table.wikitablec caption,
table.prettytable caption {
  margin-left: inherit;
  margin-right: inherit;
  font-weight: bold;
}

table.prettytablec code,
table.wikitablec code {
  background-color: transparent;
}

table.wikitablecenter th, table.wikitablecenter td,
table.prettytable th, table.prettytable td {
  border: 1px #aaa solid;
  padding: 0.2em;
  text-align: center;
}

table.wikitablecenter th,
table.prettytable th {
  background: #f2f2f2;
  text-align: center;
}

table.wikitablecenter caption,
table.prettytable caption {
  margin-left: inherit;
  margin-right: inherit;
  font-weight: bold;
}

table.prettytablecenter code,
table.wikitablecenter code {
  background-color: transparent;
}

table.elements {}

table.elements th, table.elements td {
	padding: 0.5em;
}

td.effective {
	background-color: #BFFFBF;
}

td.ineffective {
	background-color: #FFBF7F;
}

td.nullified {
	background-color: #FFBFBF;
}