MediaWiki:Common.css

From SMC Wiki
Revision as of 17:06, 8 February 2022 by Corvusmellori (talk | contribs)
Jump to navigation Jump to search

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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */
.mw-body-content a { text-decoration: underline; }
.mw-body-content a:visited { text-decoration: underline; }

.mw-body-content a.external { text-decoration: none; }
.mw-body-content a.external:visited { text-decoration: none; }

table.cols-center { text-align: center; }

table.col-2-left td:nth-child(2) { text-align: left; }

table.col-1-right td:nth-child(1) { text-align: right; }
table.col-2-right td:nth-child(2) { text-align: right; }
table.col-3-right td:nth-child(3) { text-align: right; }
table.col-4-right td:nth-child(4) { text-align: right; }
table.col-5-right td:nth-child(5) { text-align: right; }
table.col-6-right td:nth-child(6) { text-align: right; }
table.col-7-right td:nth-child(7) { text-align: right; }
table.col-8-right td:nth-child(8) { text-align: right; }
table.col-9-right td:nth-child(9) { text-align: right; }
table.col-10-right td:nth-child(10) { text-align: right; }
table.col-11-right td:nth-child(11) { text-align: right; }
table.col-12-right td:nth-child(12) { text-align: right; }
table.col-13-right td:nth-child(13) { text-align: right; }
table.col-14-right td:nth-child(14) { text-align: right; }
table.col-15-right td:nth-child(15) { text-align: right; }
table.col-16-right td:nth-child(16) { text-align: right; }
table.col-17-right td:nth-child(17) { text-align: right; }
table.col-18-right td:nth-child(18) { text-align: right; }
table.col-19-right td:nth-child(19) { text-align: right; }
table.col-20-right td:nth-child(20) { text-align: right; }

table.col-3-width td:nth-child(3) {width: 3ch; }