@@ -18,19 +18,25 @@ const locales = {
1818 check_out_exclusive : '查看独家高级主题和自定义颜色' ,
1919 simply_scan : '只需扫描二维码即可在手机上安装' ,
2020 reduce_brightness : '降低手机屏幕亮度' ,
21- with_dark_mobile : '使用我们的手机应用'
21+ with_dark_mobile : '使用我们的手机应用' ,
22+ mobile_app : '移动应用' ,
2223 } ,
2324} ;
2425
2526const htmlText = `
2627<section class="mob">
2728 <div class="mob-picture">
28- <div class="mob-picture__text mob-picture__text-1" data-text="reduce_brightness">
29- Reduce your phone screen brightness
29+ <div class="mob-picture__text mob-picture__text-1" data-text="dark_reader_mobile">
30+ <span class="mob-picture__text--darkreader-mobile">
31+ <span class="mob-picture__text--darkreader">Dark Reader</span>
32+ <span class="mob-picture__text--mobile" data-text="mobile_app">Mobile</span>
33+ </span>
3034 </div>
35+ <!--
3136 <div class="mob-picture__text mob-picture__text-2" data-text="with_dark_mobile">
3237 with <strong>Dark Reader Mobile app</strong>
3338 </div>
39+ -->
3440 </div>
3541 <div class="mob-subtitle" style="display: none;">
3642 <a class="mob-text-link" href="${ edgeURL } " target="_blank" rel="noopener" data-s="drand-side-text">
@@ -295,7 +301,7 @@ section {
295301 left: 0;
296302 position: absolute;
297303 text-align: center;
298- text-shadow: 0 0 1rem black, 0 0 0.5rem black;
304+ text-shadow: 0 0 1rem black, 0 0 0.5rem black, 0 0 0.25rem black ;
299305 width: 100%;
300306}
301307.mob-picture__text-1 {
@@ -309,6 +315,25 @@ section {
309315 font-weight: 400;
310316 /* -webkit-text-stroke: 0.0625rem; */
311317}
318+ .mob-picture__text--darkreader-mobile {
319+ display: inline-block;
320+ font-family: system-ui, sans-serif;
321+ font-size: 1.3125rem;
322+ font-weight: 900;
323+ margin-top: 0.4375rem;
324+ text-transform: uppercase;
325+ -webkit-text-stroke: 0.0625rem;
326+ }
327+ .mob-picture__text--darkreader {
328+ background-image: linear-gradient(to right, #e7573b, #af6ce9, #40a6e5);
329+ background-clip: text;
330+ color: transparent;
331+ margin-top: 0.25rem;
332+ text-shadow: none;
333+ }
334+ .mob-picture__text--mobile {
335+ font-weight: 100;
336+ }
312337
313338/*
314339@media (max-height: 50rem) {
0 commit comments