Metal Slug Attack Wiki
(Attempt to get wallpaper to fit larger displays)
 
(fix cells alignment)
Tag: Source edit
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
−
body.mediawiki {
+
.mediawiki {
 
background-size: 100% auto !important;
 
background-size: 100% auto !important;
 
}
 
}
  +
  +
.article-table, .WikiaTable {
  +
background: #9fb0c2;
  +
border-collapse: collapse;
  +
border: 0 none #84919e;
  +
margin: 1em 1em 1em 0;
  +
}
  +
  +
.ooui-theme-fandom .article-table tr th, .ooui-theme-fandom .WikiaTable tr th {
  +
background: #95a8bc;
  +
text-align: left;
  +
}
  +
  +
.article-table tr th[align="center"], .article-table tr td[align="center"] {
  +
text-align: center;
  +
}
  +
  +
.article-table tr th[align="right"], .article-table tr td[align="right"] {
  +
text-align: right;
  +
}
  +
  +
.mw-parser-output .article-table td, .mw-parser-output .article-table th, .mw-parser-output .WikiaTable td, .mw-parser-output .WikiaTable th {
  +
padding: 6px 12px;
  +
}
  +
  +
.col-1-center td:nth-child(1) { text-align: center; }
  +
.col-2-center td:nth-child(2) { text-align: center; }
  +
.col-3-center td:nth-child(3) { text-align: center; }
  +
.col-4-center td:nth-child(4) { text-align: center; }
  +
.col-5-center td:nth-child(5) { text-align: center; }
  +
.col-6-center td:nth-child(6) { text-align: center; }
  +
.col-7-center td:nth-child(7) { text-align: center; }
  +
.col-8-center td:nth-child(8) { text-align: center; }
  +
.col-9-center td:nth-child(9) { text-align: center; }
  +
  +
.col-1-right td:nth-child(1) { text-align: right; }
  +
.col-2-right td:nth-child(2) { text-align: right; }
  +
.col-3-right td:nth-child(3) { text-align: right; }
  +
.col-4-right td:nth-child(4) { text-align: right; }
  +
.col-5-right td:nth-child(5) { text-align: right; }
  +
.col-6-right td:nth-child(6) { text-align: right; }
  +
.col-7-right td:nth-child(7) { text-align: right; }
  +
.col-8-right td:nth-child(8) { text-align: right; }
  +
.col-9-right td:nth-child(9) { text-align: right; }

Revision as of 10:28, 12 August 2020

.mediawiki {
    background-size: 100% auto !important;
}

.article-table, .WikiaTable {
    background: #9fb0c2;
    border-collapse: collapse;
    border: 0 none #84919e;
    margin: 1em 1em 1em 0;
}

.ooui-theme-fandom .article-table tr th, .ooui-theme-fandom .WikiaTable tr th {
    background: #95a8bc;
    text-align: left;
}

.article-table tr th[align="center"], .article-table tr td[align="center"] {
    text-align: center;
}

.article-table tr th[align="right"], .article-table tr td[align="right"] {
    text-align: right;
}

.mw-parser-output .article-table td, .mw-parser-output .article-table th, .mw-parser-output .WikiaTable td, .mw-parser-output .WikiaTable th {
    padding: 6px 12px;
}

.col-1-center td:nth-child(1) { text-align: center; }
.col-2-center td:nth-child(2) { text-align: center; }
.col-3-center td:nth-child(3) { text-align: center; }
.col-4-center td:nth-child(4) { text-align: center; }
.col-5-center td:nth-child(5) { text-align: center; }
.col-6-center td:nth-child(6) { text-align: center; }
.col-7-center td:nth-child(7) { text-align: center; }
.col-8-center td:nth-child(8) { text-align: center; }
.col-9-center td:nth-child(9) { text-align: center; }

.col-1-right td:nth-child(1) { text-align: right; }
.col-2-right td:nth-child(2) { text-align: right; }
.col-3-right td:nth-child(3) { text-align: right; }
.col-4-right td:nth-child(4) { text-align: right; }
.col-5-right td:nth-child(5) { text-align: right; }
.col-6-right td:nth-child(6) { text-align: right; }
.col-7-right td:nth-child(7) { text-align: right; }
.col-8-right td:nth-child(8) { text-align: right; }
.col-9-right td:nth-child(9) { text-align: right; }