|
2 | 2 | .sidetoc { |
3 | 3 | display: none !important; |
4 | 4 | } |
5 | | - .mobilesponsor { |
| 5 | + .topsponsor-bsa { |
| 6 | + margin-top: 25px; |
| 7 | + margin-bottom: 25px; |
| 8 | + background-color: var(--bg); |
| 9 | + border: 1px solid var(--table-border-color); |
| 10 | + border-radius: 8px; |
| 11 | + padding: 5px; |
| 12 | + display: none; /*changed via JS once ad is loaded*/ |
| 13 | + overflow: hidden; |
| 14 | + } |
| 15 | + .bottomsponsor-wrapper { |
| 16 | + margin-top: 25px; |
| 17 | + } |
| 18 | + .bottomsponsor, |
| 19 | + .bottomsponsor-bsa { |
6 | 20 | margin-top: 25px; |
7 | | - max-height: 40%; |
8 | | - height: 40%; |
9 | 21 | background-color: var(--bg); |
10 | 22 | border: 1px solid var(--table-border-color); |
11 | 23 | border-radius: 8px; |
12 | 24 | padding: 5px; |
13 | 25 | display: none; /*changed via JS once ad is loaded*/ |
14 | | - flex-direction: column; |
15 | 26 | text-decoration: none !important; |
16 | 27 | } |
17 | | - .mobilesponsor img { |
| 28 | + .bottomsponsor { |
| 29 | + flex-direction: column; |
| 30 | + } |
| 31 | + .bottomsponsor-bsa { |
| 32 | + overflow: hidden; |
| 33 | + } |
| 34 | + .bottomsponsor img { |
18 | 35 | height: auto; |
19 | 36 | width: 40%; |
20 | 37 | padding: 10px; |
21 | 38 | transition-property: all; |
22 | 39 | transition-timing-function: cubic-bezier(.4,0,.2,1); |
23 | 40 | transition-duration: .3s; |
24 | 41 | } |
25 | | - /* .mobilesponsor:hover img{ |
| 42 | + /* .bottomsponsor:hover img{ |
26 | 43 | width: 30%; |
27 | 44 | } */ |
28 | | - .mobilesponsor .mobilesponsor-title{ |
| 45 | + .bottomsponsor .bottomsponsor-title{ |
29 | 46 | margin-top: 5px; |
30 | 47 | margin-bottom: 5px; |
31 | 48 | margin-left: 15px; |
|
34 | 51 | font-size: 2rem; |
35 | 52 | color: var(--sponsor-fg); |
36 | 53 | } |
37 | | - .mobilesponsor .mobilesponsor-description{ |
| 54 | + .bottomsponsor .bottomsponsor-description{ |
38 | 55 | display:block; |
39 | 56 | margin-top: 5px; |
40 | 57 | margin-bottom: 15px; |
|
45 | 62 | transition-timing-function: cubic-bezier(.4,0,.2,1); |
46 | 63 | transition-duration: .3s; |
47 | 64 | } |
48 | | - /* .mobilesponsor:hover .mobilesponsor-description{ |
| 65 | + /* .bottomsponsor:hover .bottomsponsor-description{ |
49 | 66 | display:block; |
50 | 67 | } */ |
51 | | - .mobilesponsor .mobilesponsor-cta{ |
| 68 | + .bottomsponsor .bottomsponsor-cta{ |
52 | 69 | margin-top: auto; |
53 | 70 | margin-bottom: 10px; |
54 | 71 | margin-left: 20px; |
|
65 | 82 | main { |
66 | 83 | position: relative; |
67 | 84 | } |
| 85 | + .topsponsor-bsa { |
| 86 | + margin: 0 auto 32px; |
| 87 | + width: min(100%, 760px); |
| 88 | + background-color: transparent; |
| 89 | + border: 1px solid color-mix(in srgb, var(--table-border-color) 70%, transparent); |
| 90 | + border-radius: 8px; |
| 91 | + padding: 12px; |
| 92 | + display: none; /*changed via JS once ad is loaded*/ |
| 93 | + overflow: hidden; |
| 94 | + backdrop-filter: blur(6px); |
| 95 | + } |
68 | 96 | .sidetoc { |
69 | 97 | width: 250px; |
70 | 98 | margin-top: 25px; |
|
149 | 177 | background-color: var(--fg); |
150 | 178 | color: var(--bg); |
151 | 179 | } |
152 | | - .mobilesponsor-wrapper { |
153 | | - display: none !important; |
| 180 | + .sidesponsor-bsa { |
| 181 | + max-height: 40%; |
| 182 | + height: 40%; |
| 183 | + background-color: transparent; |
| 184 | + border: 1px solid color-mix(in srgb, var(--table-border-color) 70%, transparent); |
| 185 | + border-radius: 8px; |
| 186 | + padding: 5px; |
| 187 | + display: none; /*changed via JS once ad is loaded*/ |
| 188 | + overflow: hidden; |
| 189 | + backdrop-filter: blur(6px); |
| 190 | + } |
| 191 | + .bottomsponsor-wrapper { |
| 192 | + margin-top: 32px; |
| 193 | + } |
| 194 | + .bottomsponsor, |
| 195 | + .bottomsponsor-bsa { |
| 196 | + margin: 0 auto; |
| 197 | + width: min(100%, 760px); |
| 198 | + background-color: transparent; |
| 199 | + border: 1px solid color-mix(in srgb, var(--table-border-color) 70%, transparent); |
| 200 | + border-radius: 8px; |
| 201 | + padding: 12px; |
| 202 | + display: none; /*changed via JS once ad is loaded*/ |
| 203 | + text-decoration: none !important; |
| 204 | + backdrop-filter: blur(6px); |
| 205 | + } |
| 206 | + .bottomsponsor { |
| 207 | + flex-direction: column; |
| 208 | + } |
| 209 | + .bottomsponsor-bsa { |
| 210 | + overflow: hidden; |
| 211 | + } |
| 212 | + .bottomsponsor img { |
| 213 | + height: auto; |
| 214 | + width: 40%; |
| 215 | + max-width: 240px; |
| 216 | + padding: 10px; |
| 217 | + transition-property: all; |
| 218 | + transition-timing-function: cubic-bezier(.4,0,.2,1); |
| 219 | + transition-duration: .3s; |
| 220 | + } |
| 221 | + .bottomsponsor .bottomsponsor-title { |
| 222 | + margin-top: 5px; |
| 223 | + margin-bottom: 5px; |
| 224 | + margin-left: 15px; |
| 225 | + margin-right: 15px; |
| 226 | + font-weight: 800; |
| 227 | + font-size: 2rem; |
| 228 | + color: var(--sponsor-fg); |
| 229 | + } |
| 230 | + .bottomsponsor .bottomsponsor-description { |
| 231 | + display: block; |
| 232 | + margin-top: 5px; |
| 233 | + margin-bottom: 15px; |
| 234 | + margin-left: 15px; |
| 235 | + margin-right: 15px; |
| 236 | + color: var(--sponsor-fg); |
| 237 | + transition-property: all; |
| 238 | + transition-timing-function: cubic-bezier(.4,0,.2,1); |
| 239 | + transition-duration: .3s; |
| 240 | + } |
| 241 | + .bottomsponsor .bottomsponsor-cta { |
| 242 | + margin-top: auto; |
| 243 | + margin-bottom: 10px; |
| 244 | + margin-left: 20px; |
| 245 | + margin-right: 20px; |
| 246 | + text-align: center; |
| 247 | + padding: 7px; |
| 248 | + border-radius: 8px; |
| 249 | + background-color: var(--fg); |
| 250 | + color: var(--bg); |
154 | 251 | } |
155 | 252 |
|
156 | 253 | .sidetoc-toggle { |
|
238 | 335 | display: none; |
239 | 336 | } |
240 | 337 | } |
| 338 | + |
| 339 | +.bsa-crawler-slot { |
| 340 | + position: absolute; |
| 341 | + width: 1px; |
| 342 | + height: 1px; |
| 343 | + overflow: hidden; |
| 344 | + opacity: 0; |
| 345 | + pointer-events: none; |
| 346 | +} |
| 347 | + |
| 348 | +@media only screen and (min-width: 0px) and (min-height: 0px) { |
| 349 | + #bsa-zone_1773736844679-9_123456 { |
| 350 | + min-height: 100px; |
| 351 | + } |
| 352 | + |
| 353 | + #bsa-zone_1773736987437-6_123456 { |
| 354 | + min-height: 100px; |
| 355 | + } |
| 356 | + |
| 357 | + #bsa-zone_1773065859037-5_123456 { |
| 358 | + min-height: 1px; |
| 359 | + } |
| 360 | + |
| 361 | + #bsa-zone_1773737041447-5_123456 { |
| 362 | + min-height: 0px; |
| 363 | + } |
| 364 | +} |
| 365 | + |
| 366 | +@media only screen and (min-width: 770px) and (min-height: 0px) { |
| 367 | + #bsa-zone_1773736844679-9_123456 { |
| 368 | + min-height: 90px; |
| 369 | + } |
| 370 | + |
| 371 | + #bsa-zone_1773736987437-6_123456 { |
| 372 | + min-height: 280px; |
| 373 | + } |
| 374 | + |
| 375 | + #bsa-zone_1773065859037-5_123456 { |
| 376 | + min-height: 1px; |
| 377 | + } |
| 378 | +} |
| 379 | + |
| 380 | +@media only screen and (min-width: 880px) and (min-height: 0px) { |
| 381 | + #bsa-zone_1773737041447-5_123456 { |
| 382 | + min-height: 250px; |
| 383 | + } |
| 384 | +} |
0 commit comments