MediaWiki:Common.css
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)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* =============================================
BWTP — Best Way to Play setup boxes
============================================= */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@600&display=swap');
/* Infobox (white, floats right) */
.bwtp-infobox {
float: right;
max-width: 100%;
margin: 0 0 12px 0;
box-sizing: border-box;
margin-top: -5px;
font-family: Verdana, sans-serif;.bwtp-breakdown-box {
border: 12px solid transparent;
border-image: url(/w/images/breakdown_border.png) 20 repeat;
background: #e3f2fd;
font-family: Verdana, sans-serif;
}
.bwtp-breakdown-header {
background: linear-gradient(180deg, #1976d2 0%, #0d47a1 50%, #0a2d6e 100%);
padding: 8px 12px;
border-bottom: 3px solid #ffd700;
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
}
.bwtp-breakdown-flames {
flex-shrink: 0;
line-height: 0;
}
.bwtp-breakdown-header-center {
text-align: center;
flex: 1;
}
.bwtp-breakdown-title {
font-size: 18px;
font-weight: bold;
color: #fff;
letter-spacing: 0.12em;
text-transform: uppercase;
font-family: Impact, 'Arial Narrow', sans-serif;
text-shadow: 2px 2px 0 #000, -1px -1px 0 #000;
line-height: 1.1;
}
.bwtp-breakdown-sub {
font-size: 9px;
color: #90caf9;
letter-spacing: 0.12em;
text-transform: uppercase;
margin-top: 2px;
}
.bwtp-breakdown-vs {
display: grid;
grid-template-columns: 1fr auto 1fr;
align-items: center;
background: #1565c0;
padding: 5px 14px;
border-bottom: 2px solid #ffd700;
gap: 8px;
}
.bwtp-breakdown-vsname {
font-weight: bold;
font-size: 11px;
color: #fff;
text-align: center;
text-transform: uppercase;
letter-spacing: 0.04em;
}
.bwtp-breakdown-vsbadge {
background: #ffd700;
color: #0a2d6e;
font-weight: bold;
font-size: 13px;
padding: 2px 10px;
font-family: Impact, 'Arial Narrow', sans-serif;
letter-spacing: 0.05em;
border: 2px solid #fff;
}
.bwtp-breakdown-note {
border-top: 2px solid #ffd700;
background: #bbdefb;
padding: 6px 14px;
font-size: 10px;
color: #0a2d6e;
font-style: italic;
text-align: center;
}
/* Wikitable inside the breakdown box */
.bwtp-breakdown-table {
width: 100%;
display: block;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
border-collapse: collapse;
border: 8px solid transparent;
border-image: url(/w/images/breakdown_table_border.png) 8 repeat;
}
.bwtp-breakdown-table th {
background: #1565c0;
color: #fff;
padding: 5px 10px;
font-size: 10px;
text-transform: uppercase;
letter-spacing: 0.06em;
border: 1px solid #0d47a1;
text-align: center;
}
.bwtp-breakdown-table td {
padding: 5px 10px;
border: 1px solid #90caf9;
vertical-align: top;
}
.bwtp-breakdown-table .bwtp-row-label {
background: #1976d2;
color: #fff;
font-weight: bold;
font-size: 10px;
text-transform: uppercase;
letter-spacing: 0.04em;
text-align: center;
border-color: #0d47a1;
white-space: nowrap;
}
font-size: 11px;
width: 180px;
text-align: center;
}
.bwtp-infobox-title {
display: block;
background: #cee0f2;
padding: 6px 8px 5px;
font-size: 12px;
font-weight: bold;
color: #000;
border-bottom: 1px solid #a2a9b1;
}
.bwtp-infobox-image {
display: block;
padding: 8px;
text-align: center;
}
/* Shared box structure */
.bwtp-box {
font-family: Verdana, sans-serif;
font-size: 11px;
margin: 14px 0px 10px 0px;
clear: both;
}
.bwtp-box + .bwtp-box {
margin-top: 8px;
}
.bwtp-header {
display: flex;
align-items: center;
gap: 10px;
padding: 7px 14px 6px;
border-bottom: 2px solid;
}
.bwtp-medal {
font-size: 18px;
line-height: 1;
border: none;
background: none;
box-shadow: none;
padding: 0;
margin: 0;
}
.bwtp-version-title {
font-size: 13px;
font-weight: bold;
line-height: 1.2;
}
.bwtp-version-title a {
color: inherit;
}
.bwtp-version-sub {
font-size: 10px;
margin-top: 1px;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.bwtp-grid {
display: grid;
}
.bwtp-col {
padding: 9px 13px 11px;
border-right: 1px solid;
}
.bwtp-col:last-child {
border-right: none;
}
.bwtp-col:not(:has(.bwtp-row)) {
display: none;
}
.bwtp-col-title {
font-size: 10px;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 0.07em;
border-bottom: 1px solid;
padding-bottom: 4px;
margin-bottom: 7px;
}
.bwtp-row {
display: flex;
gap: 5px;
margin-bottom: 4px;
align-items: flex-start;
line-height: 1.4;
}
.bwtp-check {
color: #2a6e2a;
font-weight: bold;
flex-shrink: 0;
}
.bwtp-dash {
color: #5a5a5a;
font-weight: bold;
flex-shrink: 0;
}
.bwtp-warn {
color: #b84a00;
font-weight: bold;
flex-shrink: 0;
}
.bwtp-note {
border-top: 1px solid;
padding: 5px 13px;
font-size: 10px;
color: #555;
font-style: italic;
}
/* Pills */
.bwtp-pill {
display: inline-block;
font-size: 9px;
font-weight: bold;
padding: 0 4px;
border-radius: 2px;
margin-left: 2px;
vertical-align: middle;
border: 1px solid;
}
.bwtp-pill-req { background: #cce5ff; color: #004085; border-color: #99caff; }
.bwtp-pill-rec { background: #d4edda; color: #155724; border-color: #9fd6a9; }
.bwtp-pill-opt { background: #e8e8e8; color: #444; border-color: #bbb; }
.bwtp-pill-bad { background: #fdd8d8; color: #842029; border-color: #f59095; }
.bwtp-pill-tra { background: #fee3d0; color: #843200; border-color: #f5aa80; }
.bwtp-pill-del { background: #f0deff; color: #6b1a9e; border-color: #c799f5; }
.bwtp-pill-qol { background: #fdf5cc; color: #7a5500; border-color: #f5df70; }
.bwtp-pill-tex { background: #ccfdf5; color: #00557a; border-color: #70dff5; }
/* Gold tier */
.bwtp-gold {
border: 2px solid #C09705;
background: #FFFFF0;
}
.bwtp-gold .bwtp-header {
background: linear-gradient(180deg, #FFDE00 0%, #ECBA10 65%, #C09705 100%);
border-color: #C09705;
}
.bwtp-gold .bwtp-version-title { color: #2d1a00; }
.bwtp-gold .bwtp-version-sub { color: #5a3800; }
.bwtp-gold .bwtp-col { border-color: #F0D468; }
.bwtp-gold .bwtp-col-title { color: #7a5000; border-color: #F0D468; }
.bwtp-gold .bwtp-note { border-color: #F0D468; background: #FFF9CC; }
.bwtp-gold-table {
background: #FFFFF0;
border: 2px solid #C09705 !important;
font-family: Verdana, sans-serif;
font-size: 11px;
}
.bwtp-gold-table th {
background: linear-gradient(180deg, #FFDE00 0%, #ECBA10 65%, #C09705 100%);
color: #2d1a00;
border-color: #C09705 !important;
text-shadow: 0 1px 0 rgba(255,255,255,0.3);
}
.bwtp-gold-table td {
border-color: #F0D468 !important;
}
.bwtp-gold-table tr:first-child th {
font-size: 13px;
}
.bwtp-gold-table .bwtp-section-head {
background: linear-gradient(180deg, #FFDE00 0%, #ECBA10 65%, #C09705 100%);
color: #2d1a00;
font-size: 11px;
text-transform: uppercase;
letter-spacing: 0.07em;
border-color: #C09705 !important;
text-align: center;
}
.bwtp-gold-table .bwtp-pro { background: #d4edda; }
.bwtp-gold-table .bwtp-con { background: #fde8e8; }
.bwtp-gold-table .bwtp-neutral { background: #FFFFF0; }
/* Comparison table */
.bwtp-compare {
max-width: 600px;
}
/* Comparison table cells */
.bwtp-pro { background: #d4edda; }
.bwtp-con { background: #fde8e8; }
.bwtp-neutral { background: #f8f9fa; }
.bwtp-head { background: #cee0f2; font-weight: bold; text-align: center; }
/* Silver tier */
.bwtp-silver {
border: 2px solid #909090;
background: #fafafa;
}
.bwtp-silver .bwtp-header {
background: linear-gradient(180deg, #e8e8e8 0%, #c8c8c8 65%, #a0a0a0 100%);
border-color: #909090;
}
.bwtp-silver .bwtp-version-title { color: #1a1a1a; }
.bwtp-silver .bwtp-version-sub { color: #505050; }
.bwtp-silver .bwtp-col { border-color: #d0d0d0; }
.bwtp-silver .bwtp-col-title { color: #505050; border-color: #d0d0d0; }
.bwtp-silver .bwtp-note { border-color: #d0d0d0; background: #f0f0f0; }
/* Bronze tier */
.bwtp-bronze {
border: 2px solid #8B6914;
background: #fdf8f0;
}
.bwtp-bronze .bwtp-header {
background: linear-gradient(180deg, #e8c97a 0%, #c8922a 65%, #8B6914 100%);
border-color: #8B6914;
}
.bwtp-bronze .bwtp-version-title { color: #1a0f00; }
.bwtp-bronze .bwtp-version-sub { color: #5c3d0a; }
.bwtp-bronze .bwtp-col { border-color: #d4a855; }
.bwtp-bronze .bwtp-col-title { color: #5c3d0a; border-color: #d4a855; }
.bwtp-bronze .bwtp-note { border-color: #d4a855; background: #f5e9d0; }