Difference between revisions of "MediaWiki:Common.css"

From HeRO Wiki
Jump to: navigation, search
 
(37 intermediate revisions by one user not shown)
Line 3: Line 3:
 
.table1
 
.table1
 
{
 
{
border: 1px solid #c6a96f;
+
    border: 3px solid #c6a96f;
 +
    margin: 1em 0;
 +
    border-collapse: collapse;
 +
    border-spacing: 0;
 
}
 
}
  
 
.table1 th
 
.table1 th
 
{
 
{
background: #c6a96f;
+
    background: #c6a96f;
 +
    border: 2px  #c6a96f solid;
 +
    border-collapse: collapse;
 +
    border-spacing: 0;
 
}
 
}
  
 
.table1 td
 
.table1 td
 
{
 
{
padding: 0px 5px;
+
    padding: 3px;
border: 1px solid #CCC;
+
    border: 2px  #c6a96f solid;
 +
    border-collapse: collapse;
 +
    border-spacing: 0;
 
}
 
}
  
 
#bodyContent {
 
#bodyContent {
font-size: 118%;
+
    font-size: 110%;
 
}
 
}
 
/* Infobox template style */
 
  
 
.infobox {
 
.infobox {
  border: 1px solid #aaa;
+
    border: 1px solid #aaa;
  background-color: #f9f9f9;
+
    background-color: #F9F9F9;
  color: black;
+
    color: black;
  margin-bottom: 0.5em;
+
    margin-bottom: 0.5em;
  margin-left: 1em;
+
    margin-left: 1em;
  padding: 0.2em;
+
    padding: 0.2em;
  float: right;
+
    float: right;
  clear: right;
+
    clear: right;
 
}
 
}
 +
 
.infobox td,
 
.infobox td,
 
.infobox th {
 
.infobox th {
  vertical-align: top;
+
    vertical-align: top;
 
}
 
}
 
.infobox caption {
 
.infobox caption {
  font-size: larger;
+
    font-size: larger;
  margin-left: inherit;
+
    margin-left: inherit;
 +
}
 +
 
 +
.wikitable th
 +
{
 +
    background-color: #c6a96f;
 +
    padding: 0.5em;
 +
    text-align: center;
 +
}
 +
 
 +
.wikitable td
 +
{
 +
    padding: 0.5em;
 +
}
 +
 
 +
.table2
 +
{
 +
    border: 3px solid #ECC788;
 +
    margin: 1em 0;
 +
    border-collapse: collapse;
 +
    border-spacing: 0;
 +
}
 +
 
 +
.table2 th
 +
{
 +
    padding: 3px;
 +
    background: #FED692;
 +
    border: 3px #ECC788 solid;
 +
    border-collapse: collapse;
 +
    border-spacing: 0;
 +
}
 +
 
 +
.table2 td
 +
{
 +
    padding: 3px;
 +
    background: #F3E3C1;
 +
    border: 3px #ECC788 solid;
 +
    border-collapse: collapse;
 +
    border-spacing: 0;
 +
}
 +
 
 +
 
 +
 
 +
 
 +
 
 +
.table3, .herotable3
 +
{
 +
    border: 1px solid #AAAAAA;
 +
    border-collapse: collapse;
 +
    border-spacing: 0;
 +
}
 +
 
 +
.table3 th, .herotable3 th
 +
{
 +
    padding: 20px;
 +
    background: #FFCC66;
 +
    border: 1px #AAAAAA solid;
 +
    border-collapse: collapse;
 +
    border-spacing: 0;
 +
    text-align: center;
 +
    vertical-align: middle;
 +
    font-weight: bold;
 +
}
 +
 
 +
.table3 td, .herotable3 td
 +
{
 +
    padding: 10px;
 +
    background: #F4E3C0;
 +
    border: 1px #AAAAAA solid;
 +
    border-collapse: collapse;
 +
    border-spacing: 0;
 
}
 
}

Latest revision as of 11:36, 8 October 2019

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

.table1
{
    border: 3px solid #c6a96f;
    margin: 1em 0;
    border-collapse: collapse;
    border-spacing: 0;
}

.table1 th
{
    background: #c6a96f;
    border: 2px  #c6a96f solid;
    border-collapse: collapse;
    border-spacing: 0;
}

.table1 td
{
    padding: 3px;
    border: 2px  #c6a96f solid;
    border-collapse: collapse;
    border-spacing: 0;
}

#bodyContent {
    font-size: 110%;
}

.infobox {
    border: 1px solid #aaa;
    background-color: #F9F9F9;
    color: black;
    margin-bottom: 0.5em;
    margin-left: 1em;
    padding: 0.2em;
    float: right;
    clear: right;
}

.infobox td,
.infobox th {
    vertical-align: top;
}
.infobox caption {
    font-size: larger;
    margin-left: inherit;
}

.wikitable th
{
    background-color: #c6a96f;
    padding: 0.5em;
    text-align: center;
}

.wikitable td
{
    padding: 0.5em;
}

.table2
{
    border: 3px solid #ECC788;
    margin: 1em 0;
    border-collapse: collapse;
    border-spacing: 0;
}

.table2 th
{
    padding: 3px;
    background: #FED692;
    border: 3px #ECC788 solid;
    border-collapse: collapse;
    border-spacing: 0;
}

.table2 td
{
    padding: 3px;
    background: #F3E3C1;
    border: 3px #ECC788 solid;
    border-collapse: collapse;
    border-spacing: 0;
}





.table3, .herotable3
{
    border: 1px solid #AAAAAA;
    border-collapse: collapse;
    border-spacing: 0;
}

.table3 th, .herotable3 th
{
    padding: 20px;
    background: #FFCC66;
    border: 1px #AAAAAA solid;
    border-collapse: collapse;
    border-spacing: 0;
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
}

.table3 td, .herotable3 td
{
    padding: 10px;
    background: #F4E3C0;
    border: 1px #AAAAAA solid;
    border-collapse: collapse;
    border-spacing: 0;
}