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;
clear: right;
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: 75%;
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-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-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: #fde8e8; color: #842029; border-color: #f5a0a5; }
/* Gold tier */
.bwtp-gold {
border: 2px solid #B8860B;
background: #FFFFF0;
}
.bwtp-gold .bwtp-header {
background: linear-gradient(180deg, #FFD700 0%, #DAA520 65%, #B8860B 100%);
border-color: #B8860B;
}
.bwtp-gold .bwtp-version-title { color: #2d1a00; }
.bwtp-gold .bwtp-version-sub { color: #5a3800; }
.bwtp-gold .bwtp-col { border-color: #e2c96a; }
.bwtp-gold .bwtp-col-title { color: #7a5000; border-color: #e2c96a; }
.bwtp-gold .bwtp-note { border-color: #e2c96a; background: #FFF9CC; }
/* Gold comparison table */
.bwtp-gold-table {
background: #FFFFF0;
border: 2px solid #B8860B !important;
font-family: Verdana, sans-serif;
font-size: 11px;
}
.bwtp-gold-table th {
background: linear-gradient(180deg, #FFD700 0%, #DAA520 65%, #B8860B 100%);
color: #2d1a00;
border-color: #B8860B !important;
text-shadow: 0 1px 0 rgba(255,255,255,0.3);
}
.bwtp-gold-table td {
border-color: #e2c96a !important;
}
.bwtp-gold-table tr:first-child th {
font-size: 13px;
}
.bwtp-gold-table .bwtp-section-head {
background: linear-gradient(180deg, #FFD700 0%, #DAA520 65%, #B8860B 100%);
color: #2d1a00;
font-size: 11px;
text-transform: uppercase;
letter-spacing: 0.07em;
border-color: #B8860B !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; }
/* =============================================
BWTP — The Breakdown comparison box
=============================================
border-image notes:
- Replace the url() values below with your
actual uploaded PNG paths on your wiki.
- Outer box border PNG: 60x60px recommended,
with decorative corners. Slice value = how
many px to cut inward for corners/edges.
- Table border PNG: 24x24px tile works well
for a subtle repeating edge pattern.
- Upload PNGs via Special:Upload, then use:
url(/w/images/your_file.png)
============================================= */
.bwtp-breakdown-box {
border: 12px solid transparent;
border-image: url(/w/images/breakdown_border.png) 20 repeat;
background: #e3f2fd;
font-family: Verdana, sans-serif;
font-size: 11px;
box-shadow: 4px 4px 0 2px #000;
}
.bwtp-breakdown-header {
background: linear-gradient(180deg, #1976d2 0%, #0d47a1 50%, #0a2d6e 100%);
padding: 0;
border-bottom: 3px solid #ffd700;
display: flex;
flex-direction: column;
align-items: stretch;
}
/* Flame rows — tile flames.png horizontally across full header width.
Set height to match the pixel height of your flames.png.
Upload flames.png as a horizontal strip with transparent background. */
.bwtp-breakdown-flame-row {
height: 30px;
background: url(/images/f/f9/Flameborder.png) repeat-x top center;
background-size: 129px 30px;
transform: scaleY(-1);
}
.bwtp-breakdown-flame-row-bottom {
background: url(/images/f/f9/Flameborder.png) repeat-x bottom center;
background-size: 129px 30px;
transform: scaleY(1);
}
.bwtp-breakdown-header-center {
text-align: center;
padding: 6px 16px 4px;
margin-top: -14px;
position: relative;
z-index: 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: 80%;
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;
}