File tree Expand file tree Collapse file tree 3 files changed +45
-4
lines changed
Expand file tree Collapse file tree 3 files changed +45
-4
lines changed Original file line number Diff line number Diff 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;
Original file line number Diff line number Diff line change 11// @ts -check
22import { country , isPCountry } from './locales.js' ;
33
4- const ERROR_HANDLING_ENABLED = false ;
4+ const ERROR_HANDLING_ENABLED = true ;
55
66/** @type {WeakSet<Element> } */
77const handledElements = new WeakSet ( ) ;
Original file line number Diff line number Diff line change @@ -413,3 +413,44 @@ html:not([data-p="p"]) .v2-banner-mobile {
413413html : 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+ }
You can’t perform that action at this time.
0 commit comments