User:Prime Radiant/common.css
From MediaWiki
Jump to navigationJump to searchNote: 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)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* Infobox template style */
.infobox {
color: #000;
text-align: center;
border: 2px solid #000;
border-radius: 10px;
background: #f9f9f9;
float: right;
clear: right;
margin: 0 0 0.5em 1em;
padding: 2px;
}
/* Alignment classes */
.gocenter {
margin-left: auto;
margin-right: auto;
}
.goleft {
clear: left;
float: left;
}
.goright {
clear: right;
float: right;
}
/* KHWiki Tabber */
.infobox .tabbernav {
font-size: 90%;
}
.tabber.info {
display: block;
float: right;
margin: 0 0 0.5em 1em;
}
.tabber.info .nav {
display: block !important;
}
.tabber.info .infobox > tbody > tr:nth-child(2) img {
max-width: 100% !important;
height: auto !important;
image-rendering: auto !important;
}
.tabber.info table {
display: block !important;
float: none !important;
width: auto !important;
max-width: none !important;
margin: 0 !important;
overflow-x: auto !important;
}
.tabber.info tbody {
display: table !important;
width: 100% !important;
}
.tabbertab > .UXdmg {
width: 100% !important;
}
@media all and (max-width: 1100px) {
.mw-parser-output table img {
max-width: 100% !important;
height: auto !important;
}
.tabber.gocenter {
width: 100% !important;
}
.tabbertab > .wikitable,
.tabbertab > .sortable {
width: 100% !important;
}
.infobox.board div {
width: auto !important;
}
.infobox.board div > div {
left: 7.5px !important;
right: 7.5px !important;
}
.infobox.board img {
max-width: 100% !important;
height: auto !important;
}
}

