User:2257/monobook.css

From the Super Mario Wiki, the Mario encyclopedia
< User:2257
Revision as of 21:34, January 22, 2018 by 2257 (talk | contribs)
Jump to navigationJump 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.
	table.statstable {
		margin: 1em 0;
		background-color: #transparent;
		border: none;
		border-collapse: collapse;
		color: black;
		text-align: center;
		border-spacing: 0;
		margin-bottom: 5px;
		width: -moz-max-content; 
		width: -webkit-max-content;
		width: max-content;
	}
	
	table.statstable > tr > th,
	table.statstable > tr > td,
	table.statstable > * > tr > th,
	table.statstable > * > tr > td {
		border: 1px solid #aaa;
		padding: 0.2em 0.4em;
	}
	
	table.statstable > tr > th,
	table.statstable > * > tr > th {
		background-color: #f2f2f2;
		text-align: center;
	}
	
	table.statstable > caption {
		font-weight: bold;
	}

        table.statstable > tr.columnheaders > th,
        table.statstable > * > tr.columnheaders > th {
                min-width: 2em;
		border: none;
		background: transparent;
                position: relative;
                background: transparent;
                white-space: nowrap;
                pointer-events: none;
        }

        table.statstable > tr.columnheaders > th > div:not([role]),
        table.statstable > * > tr.columnheaders > th > div:not([role]) {
                transform: rotate(-45deg);
                position: absolute;
                bottom: -1px;
                left: 100%;
                transform-origin: 0% 100%;
                border-bottom: 1px solid #aaa;
                pointer-events: all;
        }

        table.statstable > tr.columnheaders > th > div[role="presentation"],
        table.statstable > * > tr.columnheaders > th > div[role="presentation"] {
                writing-mode: tb;
                font-size: 71%;
                visibility: hidden;
        }