Spaces:
Running
Running
Fix wc2026.css: complete dark theme for .wc-data-box tables, force !important"
Browse files- static/wc2026.css +166 -99
static/wc2026.css
CHANGED
|
@@ -1,116 +1,183 @@
|
|
| 1 |
-
/* World Cup 2026 -
|
| 2 |
-
/*
|
| 3 |
|
| 4 |
-
.wc-
|
| 5 |
font-size: 12px;
|
| 6 |
color: #ddd;
|
|
|
|
|
|
|
| 7 |
padding: 4px;
|
|
|
|
|
|
|
|
|
|
| 8 |
}
|
| 9 |
-
.wc-bongda-content ul { list-style: none; padding: 0; margin: 0; }
|
| 10 |
-
.wc-bongda-content .title-content {
|
| 11 |
-
display: flex; gap: 6px; align-items: center;
|
| 12 |
-
background: #1a2a3a; border-radius: 4px; margin: 4px 0; padding: 5px 8px;
|
| 13 |
-
}
|
| 14 |
-
.wc-bongda-content .title-content img { width: 18px; height: 18px; }
|
| 15 |
-
.wc-bongda-content .title-content strong { font-size: 11px; color: #8ab4d8; }
|
| 16 |
-
.wc-bongda-content .match-detail,
|
| 17 |
-
.wc-bongda-content li.match-detail {
|
| 18 |
-
padding: 6px; border-bottom: 1px solid #1a2a3a; cursor: pointer;
|
| 19 |
-
}
|
| 20 |
-
.wc-bongda-content .match-detail:hover { background: #0d1a2a; }
|
| 21 |
-
.wc-bongda-content .match { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
|
| 22 |
-
.wc-bongda-content .datetime { width: 100%; font-size: 9px; color: #6a9fca; }
|
| 23 |
-
.wc-bongda-content .teams { display: flex; width: 100%; align-items: center; gap: 4px; }
|
| 24 |
-
.wc-bongda-content .team { flex: 1; display: flex; align-items: center; gap: 4px; min-width: 0; text-decoration: none; }
|
| 25 |
-
.wc-bongda-content .team .name { font-size: 11px; color: #ddd; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
| 26 |
-
.wc-bongda-content .team .logo img { width: 18px; height: 18px; }
|
| 27 |
-
.wc-bongda-content .home-team { justify-content: flex-end; text-align: right; }
|
| 28 |
-
.wc-bongda-content .status { flex: 0 0 54px; text-align: center; }
|
| 29 |
-
.wc-bongda-content .status a { color: #fff; text-decoration: none; font-weight: 800; font-size: 12px; }
|
| 30 |
-
.wc-bongda-content .status .label { font-size: 8px; color: #6a9fca; display: block; }
|
| 31 |
-
.wc-bongda-content .status .label.live { color: #e74c3c; }
|
| 32 |
-
.wc-bongda-content .info, .wc-bongda-content .btns { display: none; }
|
| 33 |
-
.wc-bongda-content .match-time { font-size: 9px; color: #6a9fca; }
|
| 34 |
|
| 35 |
-
/*
|
| 36 |
-
.wc-
|
| 37 |
-
.wc-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
.wc-bongda-content table tr:hover { background: #0d1a2a; }
|
| 43 |
-
.wc-bongda-content table .team-name,
|
| 44 |
-
.wc-bongda-content table td a {
|
| 45 |
-
display: flex; align-items: center; gap: 4px;
|
| 46 |
-
color: #ddd; text-decoration: none;
|
| 47 |
-
}
|
| 48 |
-
.wc-bongda-content table .team-name img,
|
| 49 |
-
.wc-bongda-content table td img { width: 16px; height: 16px; }
|
| 50 |
-
.wc-bongda-content table .pts,
|
| 51 |
-
.wc-bongda-content table td:last-child { font-weight: 800; color: #f0c040; }
|
| 52 |
|
| 53 |
-
/*
|
| 54 |
-
.wc-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 59 |
}
|
| 60 |
|
| 61 |
-
/*
|
| 62 |
-
.wc-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
}
|
| 67 |
-
.wc-bongda-content .player-name { flex: 1; font-size: 11px; color: #eee; }
|
| 68 |
-
.wc-bongda-content .player-team { font-size: 9px; color: #6a9fca; }
|
| 69 |
-
.wc-bongda-content .player-goals,
|
| 70 |
-
.wc-bongda-content .player-assists { font-weight: 800; color: #f0c040; }
|
| 71 |
|
| 72 |
-
/*
|
| 73 |
-
.wc-
|
| 74 |
-
.wc-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 81 |
|
| 82 |
-
/*
|
| 83 |
-
.wc-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 91 |
|
| 92 |
-
/*
|
| 93 |
-
.wc-
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
}
|
| 97 |
-
.wc-bongda-content .commentary-time,
|
| 98 |
-
.wc-bongda-content .event-time { font-size: 10px; color: #f0c040; font-weight: 700; min-width: 30px; }
|
| 99 |
-
.wc-bongda-content .commentary-text,
|
| 100 |
-
.wc-bongda-content .event-text { font-size: 11px; color: #ccc; flex: 1; }
|
| 101 |
|
| 102 |
-
/*
|
| 103 |
-
.wc-
|
| 104 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 105 |
|
| 106 |
-
/*
|
| 107 |
-
.wc-
|
| 108 |
-
.wc-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 109 |
|
| 110 |
-
/*
|
| 111 |
-
.wc-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 112 |
|
| 113 |
/* Scrollbar */
|
| 114 |
-
.wc-
|
| 115 |
-
.wc-
|
| 116 |
-
.wc-
|
|
|
|
| 1 |
+
/* World Cup 2026 - Dark theme for scraped HTML tables */
|
| 2 |
+
/* Applied to .wc-data-box which wraps content from dantri/bongda */
|
| 3 |
|
| 4 |
+
.wc-data-box {
|
| 5 |
font-size: 12px;
|
| 6 |
color: #ddd;
|
| 7 |
+
max-height: 450px;
|
| 8 |
+
overflow-y: auto;
|
| 9 |
padding: 4px;
|
| 10 |
+
line-height: 1.5;
|
| 11 |
+
background: #0a1020;
|
| 12 |
+
border-radius: 6px;
|
| 13 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
|
| 15 |
+
/* Force all text white */
|
| 16 |
+
.wc-data-box,
|
| 17 |
+
.wc-data-box * {
|
| 18 |
+
color: #ddd !important;
|
| 19 |
+
background-color: transparent !important;
|
| 20 |
+
border-color: #1a3050 !important;
|
| 21 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
|
| 23 |
+
/* Tables */
|
| 24 |
+
.wc-data-box table {
|
| 25 |
+
width: 100% !important;
|
| 26 |
+
border-collapse: collapse !important;
|
| 27 |
+
font-size: 11px !important;
|
| 28 |
+
margin: 6px 0 !important;
|
| 29 |
+
border: 1px solid #1a3050 !important;
|
| 30 |
+
}
|
| 31 |
+
.wc-data-box th {
|
| 32 |
+
background: #0b1e35 !important;
|
| 33 |
+
color: #6cc0f0 !important;
|
| 34 |
+
padding: 7px 5px !important;
|
| 35 |
+
font-size: 10px !important;
|
| 36 |
+
text-align: center !important;
|
| 37 |
+
font-weight: 700 !important;
|
| 38 |
+
border: 1px solid #1a3050 !important;
|
| 39 |
+
}
|
| 40 |
+
.wc-data-box td {
|
| 41 |
+
padding: 6px 5px !important;
|
| 42 |
+
border: 1px solid #0d1f30 !important;
|
| 43 |
+
text-align: center !important;
|
| 44 |
+
background: #0a1525 !important;
|
| 45 |
+
}
|
| 46 |
+
.wc-data-box tr:nth-child(even) td {
|
| 47 |
+
background: #0c1a2e !important;
|
| 48 |
+
}
|
| 49 |
+
.wc-data-box tr:hover td {
|
| 50 |
+
background: #122a45 !important;
|
| 51 |
+
}
|
| 52 |
+
.wc-data-box td:first-child,
|
| 53 |
+
.wc-data-box td:nth-child(2) {
|
| 54 |
+
text-align: left !important;
|
| 55 |
}
|
| 56 |
|
| 57 |
+
/* Links */
|
| 58 |
+
.wc-data-box a {
|
| 59 |
+
color: #8ab4d8 !important;
|
| 60 |
+
text-decoration: none !important;
|
| 61 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
|
| 63 |
+
/* Headings */
|
| 64 |
+
.wc-data-box h1,
|
| 65 |
+
.wc-data-box h2,
|
| 66 |
+
.wc-data-box h3,
|
| 67 |
+
.wc-data-box h4,
|
| 68 |
+
.wc-data-box h5 {
|
| 69 |
+
color: #6cc0f0 !important;
|
| 70 |
+
font-size: 12px !important;
|
| 71 |
+
padding: 8px 4px 4px !important;
|
| 72 |
+
margin: 8px 0 4px !important;
|
| 73 |
+
border-bottom: 1px solid #1a3050 !important;
|
| 74 |
+
font-weight: 700 !important;
|
| 75 |
+
background: transparent !important;
|
| 76 |
+
}
|
| 77 |
+
|
| 78 |
+
/* Bold = highlights */
|
| 79 |
+
.wc-data-box strong,
|
| 80 |
+
.wc-data-box b {
|
| 81 |
+
color: #f0c040 !important;
|
| 82 |
+
}
|
| 83 |
|
| 84 |
+
/* Lists */
|
| 85 |
+
.wc-data-box ul {
|
| 86 |
+
list-style: none !important;
|
| 87 |
+
padding: 0 !important;
|
| 88 |
+
margin: 0 !important;
|
| 89 |
+
}
|
| 90 |
+
.wc-data-box li {
|
| 91 |
+
padding: 6px 5px !important;
|
| 92 |
+
border-bottom: 1px solid #0d1f30 !important;
|
| 93 |
+
}
|
| 94 |
+
.wc-data-box li:hover {
|
| 95 |
+
background: #0b1e35 !important;
|
| 96 |
+
}
|
| 97 |
|
| 98 |
+
/* Paragraphs */
|
| 99 |
+
.wc-data-box p {
|
| 100 |
+
margin: 4px 0 !important;
|
| 101 |
+
line-height: 1.5 !important;
|
| 102 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
| 103 |
|
| 104 |
+
/* Match rows (bongda format) */
|
| 105 |
+
.wc-data-box .match-detail {
|
| 106 |
+
padding: 6px 4px !important;
|
| 107 |
+
border-bottom: 1px solid #0d1f30 !important;
|
| 108 |
+
}
|
| 109 |
+
.wc-data-box .match-detail:hover {
|
| 110 |
+
background: #0b1e35 !important;
|
| 111 |
+
}
|
| 112 |
+
.wc-data-box .title-content {
|
| 113 |
+
display: flex;
|
| 114 |
+
gap: 6px;
|
| 115 |
+
align-items: center;
|
| 116 |
+
background: #0b1e35 !important;
|
| 117 |
+
border-radius: 4px;
|
| 118 |
+
margin: 6px 0;
|
| 119 |
+
padding: 6px 8px;
|
| 120 |
+
}
|
| 121 |
+
.wc-data-box .title-content strong {
|
| 122 |
+
color: #6cc0f0 !important;
|
| 123 |
+
}
|
| 124 |
+
.wc-data-box .teams {
|
| 125 |
+
display: flex;
|
| 126 |
+
width: 100%;
|
| 127 |
+
align-items: center;
|
| 128 |
+
gap: 4px;
|
| 129 |
+
}
|
| 130 |
+
.wc-data-box .team {
|
| 131 |
+
flex: 1;
|
| 132 |
+
display: flex;
|
| 133 |
+
align-items: center;
|
| 134 |
+
gap: 4px;
|
| 135 |
+
min-width: 0;
|
| 136 |
+
}
|
| 137 |
+
.wc-data-box .team .name {
|
| 138 |
+
font-size: 11px !important;
|
| 139 |
+
white-space: nowrap;
|
| 140 |
+
overflow: hidden;
|
| 141 |
+
text-overflow: ellipsis;
|
| 142 |
+
}
|
| 143 |
+
.wc-data-box .home-team {
|
| 144 |
+
justify-content: flex-end;
|
| 145 |
+
text-align: right;
|
| 146 |
+
}
|
| 147 |
+
.wc-data-box .status {
|
| 148 |
+
flex: 0 0 50px;
|
| 149 |
+
text-align: center;
|
| 150 |
+
}
|
| 151 |
+
.wc-data-box .status a {
|
| 152 |
+
font-weight: 800 !important;
|
| 153 |
+
font-size: 12px !important;
|
| 154 |
+
}
|
| 155 |
|
| 156 |
+
/* Hide ALL images, iframes, figures */
|
| 157 |
+
.wc-data-box img,
|
| 158 |
+
.wc-data-box figure,
|
| 159 |
+
.wc-data-box figcaption,
|
| 160 |
+
.wc-data-box picture,
|
| 161 |
+
.wc-data-box video,
|
| 162 |
+
.wc-data-box iframe {
|
| 163 |
+
display: none !important;
|
| 164 |
+
}
|
| 165 |
|
| 166 |
+
/* Hide junk elements */
|
| 167 |
+
.wc-data-box .info,
|
| 168 |
+
.wc-data-box .btns,
|
| 169 |
+
.wc-data-box .ads,
|
| 170 |
+
.wc-data-box .banner,
|
| 171 |
+
.wc-data-box .social,
|
| 172 |
+
.wc-data-box .relate,
|
| 173 |
+
.wc-data-box .comment,
|
| 174 |
+
.wc-data-box nav,
|
| 175 |
+
.wc-data-box footer,
|
| 176 |
+
.wc-data-box header {
|
| 177 |
+
display: none !important;
|
| 178 |
+
}
|
| 179 |
|
| 180 |
/* Scrollbar */
|
| 181 |
+
.wc-data-box::-webkit-scrollbar { width: 4px; }
|
| 182 |
+
.wc-data-box::-webkit-scrollbar-track { background: transparent; }
|
| 183 |
+
.wc-data-box::-webkit-scrollbar-thumb { background: #1a3050; border-radius: 2px; }
|