You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`Today is <strong>${usDate}</strong>, and we're kindly asking you to complete the payment to keep Dark Reader going.`,
107
+
`For <strong>over 10 years</strong>, Dark Reader has helped millions of people with migraines, photophobia, and light sensitivity.`,
108
+
`Please <strong>make a payment now</strong> or soon after trying it.`,
109
+
`Take part in spreading dark mode across the internet and help making the web easier on everyone's eyes.`,
110
+
].join(' ');
111
+
102
112
constlocales={
103
113
cn: {
104
114
heading: '支付 Dark Reader 使用费',
@@ -117,8 +127,6 @@ const locales = {
117
127
},
118
128
};
119
129
120
-
consttakeCareMsg='Dear User, we provide the best dark mode possible. <strong>Please complete the payment now</strong> to support continuous Dark Reader development.';
121
-
122
130
consthtmlText=`
123
131
<section class="pr">
124
132
<div class="pr-wrapper">
@@ -277,7 +285,9 @@ const cssText = `
277
285
display: none;
278
286
line-height: 1;
279
287
margin: 0.25rem 0 0.5rem 0;
288
+
/*
280
289
text-align: center;
290
+
*/
281
291
}
282
292
.tiers {
283
293
align-items: stretch;
@@ -786,13 +796,14 @@ darkreader-donate-mascot {
786
796
}
787
797
.payment-wrapper {
788
798
margin-left: 8rem;
799
+
margin-top: 0.5rem;
789
800
position: relative;
790
801
}
791
802
darkreader-donate-mascot {
792
803
display: inline-block;
793
804
position: absolute;
794
805
right: 100%;
795
-
top: 0;
806
+
top: -0.5rem;
796
807
width: 10rem;
797
808
}
798
809
}
@@ -873,18 +884,21 @@ class PayTiersElement extends HTMLElement {
0 commit comments