Skip to content

Commit c081652

Browse files
committed
Publish 2024-10-22
1 parent 9d0813d commit c081652

File tree

3 files changed

+45
-4
lines changed

3 files changed

+45
-4
lines changed

elements/mobile-side.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ section {
116116
.mob {
117117
align-items: center;
118118
background-color: var(--color-bg);
119-
border-radius: 1rem;
119+
border-radius: 2rem;
120120
gap: 1rem;
121121
margin-top: 1rem;
122122
padding-bottom: 1.5rem;
@@ -281,8 +281,8 @@ section {
281281
background-image: url(/images/night-reading.jpg);
282282
background-position: center;
283283
background-size: cover;
284-
border-top-left-radius: 1rem;
285-
border-top-right-radius: 1rem;
284+
border-top-left-radius: 2rem;
285+
border-top-right-radius: 2rem;
286286
height: 16rem;
287287
/* mix-blend-mode: lighten; */
288288
position: relative;

elements/stats.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// @ts-check
22
import {country, isPCountry} from './locales.js';
33

4-
const ERROR_HANDLING_ENABLED = false;
4+
const ERROR_HANDLING_ENABLED = true;
55

66
/** @type {WeakSet<Element>} */
77
const handledElements = new WeakSet();

styles/help-topic.css

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,3 +413,44 @@ html:not([data-p="p"]) .v2-banner-mobile {
413413
html:not([data-p="p"]) .v2-help-banners {
414414
grid: "large" auto "right" auto / auto;
415415
}
416+
417+
/* V2.1 */
418+
419+
.v2-banner-mobile,
420+
.v2-banner-pie {
421+
display: none;
422+
}
423+
424+
.v2-help-banners {
425+
grid: "large" auto / auto;
426+
margin-bottom: 0;
427+
}
428+
429+
html[data-p="p"] .page-grid-inside {
430+
--color-bg: #1f2342;
431+
--color-text: #a3b7ff;
432+
background-color: var(--color-bg);
433+
border-radius: 2rem;
434+
display: flex;
435+
margin-top: 1rem;
436+
}
437+
438+
html[data-p="p"] .page-grid-inside > :not(darkreader-backers-top-short) {
439+
display: none;
440+
}
441+
442+
html[data-p="p"] .page-grid-inside > darkreader-backers-top-short {
443+
--color-bg: #653fa0;
444+
--pie-gradient: none;
445+
}
446+
447+
.page-grid-side {
448+
margin-top: 0;
449+
}
450+
451+
@media screen and (max-width: 74rem) {
452+
.page-grid-inside {
453+
max-width: 100%;
454+
width: 100%;
455+
}
456+
}

0 commit comments

Comments
 (0)