hexo-theme-linen 1.0.54 → 1.0.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/languages/en.yml +5 -0
- package/languages/zh-CN.yml +5 -0
- package/layout/archive.ejs +22 -2
- package/layout/category.ejs +30 -3
- package/layout/partials/header.ejs +7 -2
- package/layout/partials/post-item.ejs +1 -1
- package/layout/partials/taxonomy-header.ejs +31 -0
- package/layout/partials/taxonomy-sidebar.ejs +56 -0
- package/layout/series.ejs +216 -75
- package/layout/tag.ejs +41 -3
- package/package.json +1 -1
- package/scripts/emoji.js +124 -0
- package/scripts/helpers/tools.js +16 -0
- package/scripts/index.js +1 -0
- package/source/linen-theme/css/_mediaquery.scss +21 -0
- package/source/linen-theme/css/linen.scss +367 -36
- package/source/linen-theme/css/vars.scss +1 -2
- package/source/linen-theme/img/emoji/1f004.svg +7 -0
- package/source/linen-theme/img/emoji/1f0cf.svg +11 -0
- package/source/linen-theme/img/emoji/1f192.svg +7 -0
- package/source/linen-theme/img/emoji/1f193.svg +7 -0
- package/source/linen-theme/img/emoji/1f195.svg +6 -0
- package/source/linen-theme/img/emoji/1f197.svg +5 -0
- package/source/linen-theme/img/emoji/1f199.svg +7 -0
- package/source/linen-theme/img/emoji/1f300.svg +3 -0
- package/source/linen-theme/img/emoji/1f303.svg +19 -0
- package/source/linen-theme/img/emoji/1f304.svg +8 -0
- package/source/linen-theme/img/emoji/1f305.svg +8 -0
- package/source/linen-theme/img/emoji/1f308.svg +8 -0
- package/source/linen-theme/img/emoji/1f309.svg +8 -0
- package/source/linen-theme/img/emoji/1f30a.svg +9 -0
- package/source/linen-theme/img/emoji/1f30b.svg +9 -0
- package/source/linen-theme/img/emoji/1f30c.svg +8 -0
- package/source/linen-theme/img/emoji/1f30d.svg +4 -0
- package/source/linen-theme/img/emoji/1f30e.svg +4 -0
- package/source/linen-theme/img/emoji/1f30f.svg +4 -0
- package/source/linen-theme/img/emoji/1f315.svg +9 -0
- package/source/linen-theme/img/emoji/1f319.svg +4 -0
- package/source/linen-theme/img/emoji/1f31f.svg +8 -0
- package/source/linen-theme/img/emoji/1f324.svg +6 -0
- package/source/linen-theme/img/emoji/1f327.svg +7 -0
- package/source/linen-theme/img/emoji/1f328.svg +6 -0
- package/source/linen-theme/img/emoji/1f329.svg +4 -0
- package/source/linen-theme/img/emoji/1f32a.svg +10 -0
- package/source/linen-theme/img/emoji/1f32b.svg +8 -0
- package/source/linen-theme/img/emoji/1f32c.svg +6 -0
- package/source/linen-theme/img/emoji/1f331.svg +4 -0
- package/source/linen-theme/img/emoji/1f332.svg +4 -0
- package/source/linen-theme/img/emoji/1f333.svg +4 -0
- package/source/linen-theme/img/emoji/1f334.svg +8 -0
- package/source/linen-theme/img/emoji/1f335.svg +19 -0
- package/source/linen-theme/img/emoji/1f337.svg +5 -0
- package/source/linen-theme/img/emoji/1f338.svg +4 -0
- package/source/linen-theme/img/emoji/1f33a.svg +12 -0
- package/source/linen-theme/img/emoji/1f33b.svg +6 -0
- package/source/linen-theme/img/emoji/1f33c.svg +5 -0
- package/source/linen-theme/img/emoji/1f340.svg +4 -0
- package/source/linen-theme/img/emoji/1f341.svg +4 -0
- package/source/linen-theme/img/emoji/1f342.svg +8 -0
- package/source/linen-theme/img/emoji/1f343.svg +9 -0
- package/source/linen-theme/img/emoji/1f345.svg +7 -0
- package/source/linen-theme/img/emoji/1f347.svg +10 -0
- package/source/linen-theme/img/emoji/1f349.svg +10 -0
- package/source/linen-theme/img/emoji/1f34a.svg +4 -0
- package/source/linen-theme/img/emoji/1f34b.svg +4 -0
- package/source/linen-theme/img/emoji/1f34c.svg +9 -0
- package/source/linen-theme/img/emoji/1f34d.svg +16 -0
- package/source/linen-theme/img/emoji/1f34e.svg +4 -0
- package/source/linen-theme/img/emoji/1f350.svg +4 -0
- package/source/linen-theme/img/emoji/1f351.svg +6 -0
- package/source/linen-theme/img/emoji/1f352.svg +4 -0
- package/source/linen-theme/img/emoji/1f353.svg +11 -0
- package/source/linen-theme/img/emoji/1f354.svg +13 -0
- package/source/linen-theme/img/emoji/1f355.svg +7 -0
- package/source/linen-theme/img/emoji/1f357.svg +9 -0
- package/source/linen-theme/img/emoji/1f358.svg +13 -0
- package/source/linen-theme/img/emoji/1f35a.svg +16 -0
- package/source/linen-theme/img/emoji/1f35c.svg +9 -0
- package/source/linen-theme/img/emoji/1f35d.svg +12 -0
- package/source/linen-theme/img/emoji/1f35e.svg +20 -0
- package/source/linen-theme/img/emoji/1f35f.svg +10 -0
- package/source/linen-theme/img/emoji/1f361.svg +7 -0
- package/source/linen-theme/img/emoji/1f362.svg +14 -0
- package/source/linen-theme/img/emoji/1f363.svg +14 -0
- package/source/linen-theme/img/emoji/1f366.svg +6 -0
- package/source/linen-theme/img/emoji/1f369.svg +15 -0
- package/source/linen-theme/img/emoji/1f36b.svg +8 -0
- package/source/linen-theme/img/emoji/1f36c.svg +8 -0
- package/source/linen-theme/img/emoji/1f36d.svg +15 -0
- package/source/linen-theme/img/emoji/1f370.svg +6 -0
- package/source/linen-theme/img/emoji/1f371.svg +18 -0
- package/source/linen-theme/img/emoji/1f372.svg +14 -0
- package/source/linen-theme/img/emoji/1f375.svg +9 -0
- package/source/linen-theme/img/emoji/1f377.svg +6 -0
- package/source/linen-theme/img/emoji/1f378.svg +8 -0
- package/source/linen-theme/img/emoji/1f379.svg +12 -0
- package/source/linen-theme/img/emoji/1f37a.svg +16 -0
- package/source/linen-theme/img/emoji/1f37b.svg +25 -0
- package/source/linen-theme/img/emoji/1f37e.svg +11 -0
- package/source/linen-theme/img/emoji/1f37f.svg +8 -0
- package/source/linen-theme/img/emoji/1f381.svg +6 -0
- package/source/linen-theme/img/emoji/1f382.svg +11 -0
- package/source/linen-theme/img/emoji/1f383.svg +7 -0
- package/source/linen-theme/img/emoji/1f384.svg +11 -0
- package/source/linen-theme/img/emoji/1f386.svg +26 -0
- package/source/linen-theme/img/emoji/1f387.svg +20 -0
- package/source/linen-theme/img/emoji/1f388.svg +7 -0
- package/source/linen-theme/img/emoji/1f389.svg +15 -0
- package/source/linen-theme/img/emoji/1f38a.svg +23 -0
- package/source/linen-theme/img/emoji/1f392.svg +8 -0
- package/source/linen-theme/img/emoji/1f393.svg +5 -0
- package/source/linen-theme/img/emoji/1f39e.svg +4 -0
- package/source/linen-theme/img/emoji/1f3a1.svg +7 -0
- package/source/linen-theme/img/emoji/1f3a2.svg +7 -0
- package/source/linen-theme/img/emoji/1f3a4.svg +5 -0
- package/source/linen-theme/img/emoji/1f3a5.svg +7 -0
- package/source/linen-theme/img/emoji/1f3a7.svg +7 -0
- package/source/linen-theme/img/emoji/1f3a8.svg +7 -0
- package/source/linen-theme/img/emoji/1f3a9.svg +5 -0
- package/source/linen-theme/img/emoji/1f3ac.svg +13 -0
- package/source/linen-theme/img/emoji/1f3af.svg +8 -0
- package/source/linen-theme/img/emoji/1f3b5.svg +3 -0
- package/source/linen-theme/img/emoji/1f3b6.svg +5 -0
- package/source/linen-theme/img/emoji/1f3b8.svg +9 -0
- package/source/linen-theme/img/emoji/1f3bb.svg +6 -0
- package/source/linen-theme/img/emoji/1f3be.svg +8 -0
- package/source/linen-theme/img/emoji/1f3bf.svg +7 -0
- package/source/linen-theme/img/emoji/1f3c0.svg +4 -0
- package/source/linen-theme/img/emoji/1f3c1.svg +5 -0
- package/source/linen-theme/img/emoji/1f3c2.svg +16 -0
- package/source/linen-theme/img/emoji/1f3c3.svg +20 -0
- package/source/linen-theme/img/emoji/1f3c6.svg +8 -0
- package/source/linen-theme/img/emoji/1f3ca.svg +18 -0
- package/source/linen-theme/img/emoji/1f3cd.svg +12 -0
- package/source/linen-theme/img/emoji/1f3d3.svg +7 -0
- package/source/linen-theme/img/emoji/1f3d4.svg +8 -0
- package/source/linen-theme/img/emoji/1f3d5.svg +12 -0
- package/source/linen-theme/img/emoji/1f3d6.svg +8 -0
- package/source/linen-theme/img/emoji/1f3db.svg +5 -0
- package/source/linen-theme/img/emoji/1f3dc.svg +10 -0
- package/source/linen-theme/img/emoji/1f3dd.svg +8 -0
- package/source/linen-theme/img/emoji/1f3de.svg +9 -0
- package/source/linen-theme/img/emoji/1f3df.svg +9 -0
- package/source/linen-theme/img/emoji/1f3e0.svg +9 -0
- package/source/linen-theme/img/emoji/1f3e1.svg +12 -0
- package/source/linen-theme/img/emoji/1f3e2.svg +8 -0
- package/source/linen-theme/img/emoji/1f3e5.svg +11 -0
- package/source/linen-theme/img/emoji/1f3e8.svg +22 -0
- package/source/linen-theme/img/emoji/1f3ea.svg +11 -0
- package/source/linen-theme/img/emoji/1f3eb.svg +10 -0
- package/source/linen-theme/img/emoji/1f3ec.svg +10 -0
- package/source/linen-theme/img/emoji/1f3ee.svg +10 -0
- package/source/linen-theme/img/emoji/1f3f0.svg +7 -0
- package/source/linen-theme/img/emoji/1f3f3-200d-1f308.svg +8 -0
- package/source/linen-theme/img/emoji/1f3f3.svg +4 -0
- package/source/linen-theme/img/emoji/1f3f4.svg +4 -0
- package/source/linen-theme/img/emoji/1f3f7.svg +6 -0
- package/source/linen-theme/img/emoji/1f3f8.svg +9 -0
- package/source/linen-theme/img/emoji/1f40c.svg +9 -0
- package/source/linen-theme/img/emoji/1f40d.svg +12 -0
- package/source/linen-theme/img/emoji/1f414.svg +9 -0
- package/source/linen-theme/img/emoji/1f419.svg +12 -0
- package/source/linen-theme/img/emoji/1f41b.svg +12 -0
- package/source/linen-theme/img/emoji/1f41d.svg +15 -0
- package/source/linen-theme/img/emoji/1f41e.svg +15 -0
- package/source/linen-theme/img/emoji/1f41f.svg +5 -0
- package/source/linen-theme/img/emoji/1f422.svg +7 -0
- package/source/linen-theme/img/emoji/1f426.svg +6 -0
- package/source/linen-theme/img/emoji/1f427.svg +8 -0
- package/source/linen-theme/img/emoji/1f428.svg +8 -0
- package/source/linen-theme/img/emoji/1f42c.svg +6 -0
- package/source/linen-theme/img/emoji/1f42d.svg +12 -0
- package/source/linen-theme/img/emoji/1f42e.svg +14 -0
- package/source/linen-theme/img/emoji/1f42f.svg +18 -0
- package/source/linen-theme/img/emoji/1f430.svg +14 -0
- package/source/linen-theme/img/emoji/1f431.svg +13 -0
- package/source/linen-theme/img/emoji/1f433.svg +9 -0
- package/source/linen-theme/img/emoji/1f434.svg +12 -0
- package/source/linen-theme/img/emoji/1f435.svg +12 -0
- package/source/linen-theme/img/emoji/1f436.svg +11 -0
- package/source/linen-theme/img/emoji/1f437.svg +10 -0
- package/source/linen-theme/img/emoji/1f438.svg +10 -0
- package/source/linen-theme/img/emoji/1f439.svg +9 -0
- package/source/linen-theme/img/emoji/1f43a.svg +10 -0
- package/source/linen-theme/img/emoji/1f43b.svg +12 -0
- package/source/linen-theme/img/emoji/1f43c.svg +10 -0
- package/source/linen-theme/img/emoji/1f440.svg +10 -0
- package/source/linen-theme/img/emoji/1f441.svg +7 -0
- package/source/linen-theme/img/emoji/1f446.svg +7 -0
- package/source/linen-theme/img/emoji/1f447.svg +6 -0
- package/source/linen-theme/img/emoji/1f448.svg +6 -0
- package/source/linen-theme/img/emoji/1f449.svg +6 -0
- package/source/linen-theme/img/emoji/1f44a.svg +8 -0
- package/source/linen-theme/img/emoji/1f44b.svg +11 -0
- package/source/linen-theme/img/emoji/1f44c.svg +6 -0
- package/source/linen-theme/img/emoji/1f44d.svg +4 -0
- package/source/linen-theme/img/emoji/1f44e.svg +4 -0
- package/source/linen-theme/img/emoji/1f44f.svg +17 -0
- package/source/linen-theme/img/emoji/1f450.svg +10 -0
- package/source/linen-theme/img/emoji/1f451.svg +7 -0
- package/source/linen-theme/img/emoji/1f453.svg +5 -0
- package/source/linen-theme/img/emoji/1f464.svg +6 -0
- package/source/linen-theme/img/emoji/1f465.svg +4 -0
- package/source/linen-theme/img/emoji/1f468-200d-1f4bb.svg +22 -0
- package/source/linen-theme/img/emoji/1f469-200d-1f4bb.svg +22 -0
- package/source/linen-theme/img/emoji/1f47b.svg +8 -0
- package/source/linen-theme/img/emoji/1f47d.svg +8 -0
- package/source/linen-theme/img/emoji/1f47e.svg +9 -0
- package/source/linen-theme/img/emoji/1f47f.svg +10 -0
- package/source/linen-theme/img/emoji/1f480.svg +7 -0
- package/source/linen-theme/img/emoji/1f483.svg +24 -0
- package/source/linen-theme/img/emoji/1f485.svg +12 -0
- package/source/linen-theme/img/emoji/1f48a.svg +5 -0
- package/source/linen-theme/img/emoji/1f48b.svg +3 -0
- package/source/linen-theme/img/emoji/1f48c.svg +5 -0
- package/source/linen-theme/img/emoji/1f48e.svg +8 -0
- package/source/linen-theme/img/emoji/1f493.svg +7 -0
- package/source/linen-theme/img/emoji/1f494.svg +4 -0
- package/source/linen-theme/img/emoji/1f495.svg +4 -0
- package/source/linen-theme/img/emoji/1f496.svg +5 -0
- package/source/linen-theme/img/emoji/1f497.svg +5 -0
- package/source/linen-theme/img/emoji/1f498.svg +8 -0
- package/source/linen-theme/img/emoji/1f499.svg +6 -0
- package/source/linen-theme/img/emoji/1f49a.svg +6 -0
- package/source/linen-theme/img/emoji/1f49b.svg +6 -0
- package/source/linen-theme/img/emoji/1f49c.svg +6 -0
- package/source/linen-theme/img/emoji/1f49d.svg +13 -0
- package/source/linen-theme/img/emoji/1f49e.svg +3 -0
- package/source/linen-theme/img/emoji/1f49f.svg +4 -0
- package/source/linen-theme/img/emoji/1f4a0.svg +7 -0
- package/source/linen-theme/img/emoji/1f4a1.svg +7 -0
- package/source/linen-theme/img/emoji/1f4a2.svg +6 -0
- package/source/linen-theme/img/emoji/1f4a4.svg +5 -0
- package/source/linen-theme/img/emoji/1f4a5.svg +4 -0
- package/source/linen-theme/img/emoji/1f4a6.svg +8 -0
- package/source/linen-theme/img/emoji/1f4a7.svg +3 -0
- package/source/linen-theme/img/emoji/1f4a8.svg +11 -0
- package/source/linen-theme/img/emoji/1f4a9.svg +6 -0
- package/source/linen-theme/img/emoji/1f4aa.svg +8 -0
- package/source/linen-theme/img/emoji/1f4ab.svg +4 -0
- package/source/linen-theme/img/emoji/1f4ac.svg +4 -0
- package/source/linen-theme/img/emoji/1f4ad.svg +4 -0
- package/source/linen-theme/img/emoji/1f4af.svg +3 -0
- package/source/linen-theme/img/emoji/1f4b0.svg +4 -0
- package/source/linen-theme/img/emoji/1f4b3.svg +7 -0
- package/source/linen-theme/img/emoji/1f4bb.svg +8 -0
- package/source/linen-theme/img/emoji/1f4be.svg +8 -0
- package/source/linen-theme/img/emoji/1f4bf.svg +4 -0
- package/source/linen-theme/img/emoji/1f4c1.svg +4 -0
- package/source/linen-theme/img/emoji/1f4c2.svg +4 -0
- package/source/linen-theme/img/emoji/1f4c4.svg +6 -0
- package/source/linen-theme/img/emoji/1f4c5.svg +14 -0
- package/source/linen-theme/img/emoji/1f4c6.svg +18 -0
- package/source/linen-theme/img/emoji/1f4c8.svg +5 -0
- package/source/linen-theme/img/emoji/1f4c9.svg +5 -0
- package/source/linen-theme/img/emoji/1f4ca.svg +7 -0
- package/source/linen-theme/img/emoji/1f4cc.svg +6 -0
- package/source/linen-theme/img/emoji/1f4cd.svg +5 -0
- package/source/linen-theme/img/emoji/1f4ce.svg +10 -0
- package/source/linen-theme/img/emoji/1f4d4.svg +9 -0
- package/source/linen-theme/img/emoji/1f4d5.svg +5 -0
- package/source/linen-theme/img/emoji/1f4d6.svg +8 -0
- package/source/linen-theme/img/emoji/1f4d7.svg +6 -0
- package/source/linen-theme/img/emoji/1f4d8.svg +6 -0
- package/source/linen-theme/img/emoji/1f4d9.svg +6 -0
- package/source/linen-theme/img/emoji/1f4da.svg +14 -0
- package/source/linen-theme/img/emoji/1f4dd.svg +11 -0
- package/source/linen-theme/img/emoji/1f4e1.svg +12 -0
- package/source/linen-theme/img/emoji/1f4e2.svg +6 -0
- package/source/linen-theme/img/emoji/1f4e3.svg +4 -0
- package/source/linen-theme/img/emoji/1f4e4.svg +6 -0
- package/source/linen-theme/img/emoji/1f4e5.svg +6 -0
- package/source/linen-theme/img/emoji/1f4e6.svg +8 -0
- package/source/linen-theme/img/emoji/1f4e7.svg +9 -0
- package/source/linen-theme/img/emoji/1f4e8.svg +17 -0
- package/source/linen-theme/img/emoji/1f4e9.svg +8 -0
- package/source/linen-theme/img/emoji/1f4eb.svg +8 -0
- package/source/linen-theme/img/emoji/1f4ee.svg +11 -0
- package/source/linen-theme/img/emoji/1f4f0.svg +5 -0
- package/source/linen-theme/img/emoji/1f4f1.svg +8 -0
- package/source/linen-theme/img/emoji/1f4f7.svg +10 -0
- package/source/linen-theme/img/emoji/1f4f8.svg +10 -0
- package/source/linen-theme/img/emoji/1f500.svg +6 -0
- package/source/linen-theme/img/emoji/1f501.svg +5 -0
- package/source/linen-theme/img/emoji/1f504.svg +5 -0
- package/source/linen-theme/img/emoji/1f505.svg +11 -0
- package/source/linen-theme/img/emoji/1f506.svg +11 -0
- package/source/linen-theme/img/emoji/1f507.svg +5 -0
- package/source/linen-theme/img/emoji/1f508.svg +4 -0
- package/source/linen-theme/img/emoji/1f509.svg +5 -0
- package/source/linen-theme/img/emoji/1f50a.svg +5 -0
- package/source/linen-theme/img/emoji/1f50b.svg +5 -0
- package/source/linen-theme/img/emoji/1f50c.svg +5 -0
- package/source/linen-theme/img/emoji/1f50d.svg +5 -0
- package/source/linen-theme/img/emoji/1f50e.svg +5 -0
- package/source/linen-theme/img/emoji/1f511.svg +3 -0
- package/source/linen-theme/img/emoji/1f512.svg +5 -0
- package/source/linen-theme/img/emoji/1f513.svg +5 -0
- package/source/linen-theme/img/emoji/1f514.svg +5 -0
- package/source/linen-theme/img/emoji/1f515.svg +6 -0
- package/source/linen-theme/img/emoji/1f516.svg +5 -0
- package/source/linen-theme/img/emoji/1f517.svg +4 -0
- package/source/linen-theme/img/emoji/1f519.svg +7 -0
- package/source/linen-theme/img/emoji/1f51a.svg +6 -0
- package/source/linen-theme/img/emoji/1f51c.svg +7 -0
- package/source/linen-theme/img/emoji/1f51d.svg +6 -0
- package/source/linen-theme/img/emoji/1f525.svg +4 -0
- package/source/linen-theme/img/emoji/1f526.svg +9 -0
- package/source/linen-theme/img/emoji/1f527.svg +3 -0
- package/source/linen-theme/img/emoji/1f528.svg +5 -0
- package/source/linen-theme/img/emoji/1f529.svg +14 -0
- package/source/linen-theme/img/emoji/1f52c.svg +7 -0
- package/source/linen-theme/img/emoji/1f52d.svg +8 -0
- package/source/linen-theme/img/emoji/1f52e.svg +7 -0
- package/source/linen-theme/img/emoji/1f534.svg +3 -0
- package/source/linen-theme/img/emoji/1f535.svg +3 -0
- package/source/linen-theme/img/emoji/1f536.svg +3 -0
- package/source/linen-theme/img/emoji/1f537.svg +3 -0
- package/source/linen-theme/img/emoji/1f538.svg +3 -0
- package/source/linen-theme/img/emoji/1f539.svg +3 -0
- package/source/linen-theme/img/emoji/1f53b.svg +3 -0
- package/source/linen-theme/img/emoji/1f54a.svg +7 -0
- package/source/linen-theme/img/emoji/1f54c.svg +6 -0
- package/source/linen-theme/img/emoji/1f550.svg +7 -0
- package/source/linen-theme/img/emoji/1f552.svg +7 -0
- package/source/linen-theme/img/emoji/1f555.svg +7 -0
- package/source/linen-theme/img/emoji/1f558.svg +7 -0
- package/source/linen-theme/img/emoji/1f55b.svg +7 -0
- package/source/linen-theme/img/emoji/1f56f.svg +7 -0
- package/source/linen-theme/img/emoji/1f576.svg +5 -0
- package/source/linen-theme/img/emoji/1f578.svg +3 -0
- package/source/linen-theme/img/emoji/1f579.svg +7 -0
- package/source/linen-theme/img/emoji/1f57a.svg +26 -0
- package/source/linen-theme/img/emoji/1f58a.svg +7 -0
- package/source/linen-theme/img/emoji/1f58c.svg +5 -0
- package/source/linen-theme/img/emoji/1f5a4.svg +7 -0
- package/source/linen-theme/img/emoji/1f5a5.svg +7 -0
- package/source/linen-theme/img/emoji/1f5a8.svg +10 -0
- package/source/linen-theme/img/emoji/1f5b1.svg +4 -0
- package/source/linen-theme/img/emoji/1f5c2.svg +8 -0
- package/source/linen-theme/img/emoji/1f5d1.svg +5 -0
- package/source/linen-theme/img/emoji/1f5d2.svg +11 -0
- package/source/linen-theme/img/emoji/1f5e3.svg +6 -0
- package/source/linen-theme/img/emoji/1f5fa.svg +7 -0
- package/source/linen-theme/img/emoji/1f5fb.svg +6 -0
- package/source/linen-theme/img/emoji/1f5fc.svg +9 -0
- package/source/linen-theme/img/emoji/1f5fd.svg +7 -0
- package/source/linen-theme/img/emoji/1f600.svg +9 -0
- package/source/linen-theme/img/emoji/1f601.svg +8 -0
- package/source/linen-theme/img/emoji/1f602.svg +9 -0
- package/source/linen-theme/img/emoji/1f603.svg +9 -0
- package/source/linen-theme/img/emoji/1f604.svg +7 -0
- package/source/linen-theme/img/emoji/1f605.svg +8 -0
- package/source/linen-theme/img/emoji/1f606.svg +7 -0
- package/source/linen-theme/img/emoji/1f607.svg +8 -0
- package/source/linen-theme/img/emoji/1f608.svg +10 -0
- package/source/linen-theme/img/emoji/1f609.svg +9 -0
- package/source/linen-theme/img/emoji/1f60a.svg +8 -0
- package/source/linen-theme/img/emoji/1f60b.svg +7 -0
- package/source/linen-theme/img/emoji/1f60c.svg +8 -0
- package/source/linen-theme/img/emoji/1f60d.svg +7 -0
- package/source/linen-theme/img/emoji/1f60e.svg +9 -0
- package/source/linen-theme/img/emoji/1f60f.svg +10 -0
- package/source/linen-theme/img/emoji/1f610.svg +8 -0
- package/source/linen-theme/img/emoji/1f611.svg +6 -0
- package/source/linen-theme/img/emoji/1f612.svg +10 -0
- package/source/linen-theme/img/emoji/1f613.svg +7 -0
- package/source/linen-theme/img/emoji/1f614.svg +8 -0
- package/source/linen-theme/img/emoji/1f615.svg +8 -0
- package/source/linen-theme/img/emoji/1f616.svg +6 -0
- package/source/linen-theme/img/emoji/1f617.svg +8 -0
- package/source/linen-theme/img/emoji/1f618.svg +10 -0
- package/source/linen-theme/img/emoji/1f619.svg +6 -0
- package/source/linen-theme/img/emoji/1f61a.svg +10 -0
- package/source/linen-theme/img/emoji/1f61b.svg +10 -0
- package/source/linen-theme/img/emoji/1f61c.svg +11 -0
- package/source/linen-theme/img/emoji/1f61d.svg +8 -0
- package/source/linen-theme/img/emoji/1f61e.svg +6 -0
- package/source/linen-theme/img/emoji/1f61f.svg +10 -0
- package/source/linen-theme/img/emoji/1f620.svg +10 -0
- package/source/linen-theme/img/emoji/1f621.svg +10 -0
- package/source/linen-theme/img/emoji/1f622.svg +11 -0
- package/source/linen-theme/img/emoji/1f623.svg +8 -0
- package/source/linen-theme/img/emoji/1f624.svg +20 -0
- package/source/linen-theme/img/emoji/1f625.svg +11 -0
- package/source/linen-theme/img/emoji/1f626.svg +8 -0
- package/source/linen-theme/img/emoji/1f627.svg +10 -0
- package/source/linen-theme/img/emoji/1f628.svg +11 -0
- package/source/linen-theme/img/emoji/1f629.svg +9 -0
- package/source/linen-theme/img/emoji/1f62a.svg +9 -0
- package/source/linen-theme/img/emoji/1f62b.svg +6 -0
- package/source/linen-theme/img/emoji/1f62c.svg +10 -0
- package/source/linen-theme/img/emoji/1f62d.svg +8 -0
- package/source/linen-theme/img/emoji/1f62e-200d-1f4a8.svg +20 -0
- package/source/linen-theme/img/emoji/1f62e.svg +8 -0
- package/source/linen-theme/img/emoji/1f62f.svg +10 -0
- package/source/linen-theme/img/emoji/1f630.svg +12 -0
- package/source/linen-theme/img/emoji/1f631.svg +9 -0
- package/source/linen-theme/img/emoji/1f632.svg +11 -0
- package/source/linen-theme/img/emoji/1f633.svg +12 -0
- package/source/linen-theme/img/emoji/1f634.svg +9 -0
- package/source/linen-theme/img/emoji/1f635-200d-1f4ab.svg +6 -0
- package/source/linen-theme/img/emoji/1f635.svg +6 -0
- package/source/linen-theme/img/emoji/1f636-200d-1f32b.svg +18 -0
- package/source/linen-theme/img/emoji/1f636.svg +7 -0
- package/source/linen-theme/img/emoji/1f637.svg +10 -0
- package/source/linen-theme/img/emoji/1f641.svg +11 -0
- package/source/linen-theme/img/emoji/1f642.svg +8 -0
- package/source/linen-theme/img/emoji/1f643.svg +8 -0
- package/source/linen-theme/img/emoji/1f644.svg +8 -0
- package/source/linen-theme/img/emoji/1f645.svg +25 -0
- package/source/linen-theme/img/emoji/1f646.svg +34 -0
- package/source/linen-theme/img/emoji/1f647.svg +25 -0
- package/source/linen-theme/img/emoji/1f648.svg +11 -0
- package/source/linen-theme/img/emoji/1f649.svg +16 -0
- package/source/linen-theme/img/emoji/1f64a.svg +13 -0
- package/source/linen-theme/img/emoji/1f64b.svg +22 -0
- package/source/linen-theme/img/emoji/1f64c.svg +15 -0
- package/source/linen-theme/img/emoji/1f64f.svg +10 -0
- package/source/linen-theme/img/emoji/1f680.svg +9 -0
- package/source/linen-theme/img/emoji/1f681.svg +11 -0
- package/source/linen-theme/img/emoji/1f682.svg +11 -0
- package/source/linen-theme/img/emoji/1f684.svg +9 -0
- package/source/linen-theme/img/emoji/1f686.svg +9 -0
- package/source/linen-theme/img/emoji/1f687.svg +9 -0
- package/source/linen-theme/img/emoji/1f689.svg +10 -0
- package/source/linen-theme/img/emoji/1f68a.svg +10 -0
- package/source/linen-theme/img/emoji/1f68c.svg +9 -0
- package/source/linen-theme/img/emoji/1f695.svg +10 -0
- package/source/linen-theme/img/emoji/1f697.svg +10 -0
- package/source/linen-theme/img/emoji/1f6a6.svg +12 -0
- package/source/linen-theme/img/emoji/1f6a7.svg +6 -0
- package/source/linen-theme/img/emoji/1f6a9.svg +4 -0
- package/source/linen-theme/img/emoji/1f6aa.svg +7 -0
- package/source/linen-theme/img/emoji/1f6ab.svg +4 -0
- package/source/linen-theme/img/emoji/1f6b2.svg +11 -0
- package/source/linen-theme/img/emoji/1f6b4.svg +31 -0
- package/source/linen-theme/img/emoji/1f6b6.svg +20 -0
- package/source/linen-theme/img/emoji/1f6cb.svg +11 -0
- package/source/linen-theme/img/emoji/1f6cf.svg +8 -0
- package/source/linen-theme/img/emoji/1f6d1.svg +4 -0
- package/source/linen-theme/img/emoji/1f6d2.svg +7 -0
- package/source/linen-theme/img/emoji/1f6d5.svg +9 -0
- package/source/linen-theme/img/emoji/1f6e0.svg +6 -0
- package/source/linen-theme/img/emoji/1f6f0.svg +7 -0
- package/source/linen-theme/img/emoji/1f6f3.svg +9 -0
- package/source/linen-theme/img/emoji/1f6f4.svg +4 -0
- package/source/linen-theme/img/emoji/1f6f5.svg +9 -0
- package/source/linen-theme/img/emoji/1f6f8.svg +8 -0
- package/source/linen-theme/img/emoji/1f7e0.svg +3 -0
- package/source/linen-theme/img/emoji/1f7e1.svg +3 -0
- package/source/linen-theme/img/emoji/1f7e2.svg +3 -0
- package/source/linen-theme/img/emoji/1f7e3.svg +3 -0
- package/source/linen-theme/img/emoji/1f90c.svg +5 -0
- package/source/linen-theme/img/emoji/1f90d.svg +7 -0
- package/source/linen-theme/img/emoji/1f90e.svg +6 -0
- package/source/linen-theme/img/emoji/1f90f.svg +5 -0
- package/source/linen-theme/img/emoji/1f910.svg +8 -0
- package/source/linen-theme/img/emoji/1f911.svg +9 -0
- package/source/linen-theme/img/emoji/1f912.svg +16 -0
- package/source/linen-theme/img/emoji/1f913.svg +10 -0
- package/source/linen-theme/img/emoji/1f914.svg +12 -0
- package/source/linen-theme/img/emoji/1f915.svg +11 -0
- package/source/linen-theme/img/emoji/1f916.svg +10 -0
- package/source/linen-theme/img/emoji/1f917.svg +10 -0
- package/source/linen-theme/img/emoji/1f918.svg +5 -0
- package/source/linen-theme/img/emoji/1f919.svg +4 -0
- package/source/linen-theme/img/emoji/1f91b.svg +4 -0
- package/source/linen-theme/img/emoji/1f91c.svg +4 -0
- package/source/linen-theme/img/emoji/1f91d.svg +15 -0
- package/source/linen-theme/img/emoji/1f91e.svg +6 -0
- package/source/linen-theme/img/emoji/1f91f.svg +4 -0
- package/source/linen-theme/img/emoji/1f920.svg +12 -0
- package/source/linen-theme/img/emoji/1f921.svg +14 -0
- package/source/linen-theme/img/emoji/1f922.svg +10 -0
- package/source/linen-theme/img/emoji/1f923.svg +9 -0
- package/source/linen-theme/img/emoji/1f924.svg +9 -0
- package/source/linen-theme/img/emoji/1f926.svg +15 -0
- package/source/linen-theme/img/emoji/1f927.svg +9 -0
- package/source/linen-theme/img/emoji/1f928.svg +10 -0
- package/source/linen-theme/img/emoji/1f929.svg +7 -0
- package/source/linen-theme/img/emoji/1f92a.svg +10 -0
- package/source/linen-theme/img/emoji/1f92b.svg +9 -0
- package/source/linen-theme/img/emoji/1f92c.svg +16 -0
- package/source/linen-theme/img/emoji/1f92d.svg +8 -0
- package/source/linen-theme/img/emoji/1f92e.svg +10 -0
- package/source/linen-theme/img/emoji/1f92f.svg +18 -0
- package/source/linen-theme/img/emoji/1f932.svg +12 -0
- package/source/linen-theme/img/emoji/1f937.svg +24 -0
- package/source/linen-theme/img/emoji/1f941.svg +9 -0
- package/source/linen-theme/img/emoji/1f942.svg +9 -0
- package/source/linen-theme/img/emoji/1f943.svg +7 -0
- package/source/linen-theme/img/emoji/1f947.svg +7 -0
- package/source/linen-theme/img/emoji/1f948.svg +7 -0
- package/source/linen-theme/img/emoji/1f949.svg +7 -0
- package/source/linen-theme/img/emoji/1f950.svg +8 -0
- package/source/linen-theme/img/emoji/1f951.svg +6 -0
- package/source/linen-theme/img/emoji/1f957.svg +13 -0
- package/source/linen-theme/img/emoji/1f958.svg +11 -0
- package/source/linen-theme/img/emoji/1f95b.svg +5 -0
- package/source/linen-theme/img/emoji/1f95f.svg +9 -0
- package/source/linen-theme/img/emoji/1f965.svg +6 -0
- package/source/linen-theme/img/emoji/1f96d.svg +4 -0
- package/source/linen-theme/img/emoji/1f970.svg +9 -0
- package/source/linen-theme/img/emoji/1f971.svg +6 -0
- package/source/linen-theme/img/emoji/1f972.svg +9 -0
- package/source/linen-theme/img/emoji/1f973.svg +15 -0
- package/source/linen-theme/img/emoji/1f974.svg +10 -0
- package/source/linen-theme/img/emoji/1f975.svg +14 -0
- package/source/linen-theme/img/emoji/1f976.svg +12 -0
- package/source/linen-theme/img/emoji/1f978.svg +12 -0
- package/source/linen-theme/img/emoji/1f979.svg +12 -0
- package/source/linen-theme/img/emoji/1f97a.svg +12 -0
- package/source/linen-theme/img/emoji/1f981.svg +11 -0
- package/source/linen-theme/img/emoji/1f984.svg +18 -0
- package/source/linen-theme/img/emoji/1f985.svg +10 -0
- package/source/linen-theme/img/emoji/1f986.svg +8 -0
- package/source/linen-theme/img/emoji/1f988.svg +7 -0
- package/source/linen-theme/img/emoji/1f989.svg +12 -0
- package/source/linen-theme/img/emoji/1f98a.svg +11 -0
- package/source/linen-theme/img/emoji/1f98b.svg +15 -0
- package/source/linen-theme/img/emoji/1f995.svg +6 -0
- package/source/linen-theme/img/emoji/1f996.svg +7 -0
- package/source/linen-theme/img/emoji/1f99a.svg +32 -0
- package/source/linen-theme/img/emoji/1f9a2.svg +6 -0
- package/source/linen-theme/img/emoji/1f9c1.svg +9 -0
- package/source/linen-theme/img/emoji/1f9c3.svg +9 -0
- package/source/linen-theme/img/emoji/1f9cb.svg +13 -0
- package/source/linen-theme/img/emoji/1f9d0.svg +11 -0
- package/source/linen-theme/img/emoji/1f9d1-200d-1f4bb.svg +22 -0
- package/source/linen-theme/img/emoji/1f9d7.svg +30 -0
- package/source/linen-theme/img/emoji/1f9e0.svg +5 -0
- package/source/linen-theme/img/emoji/1f9e1.svg +6 -0
- package/source/linen-theme/img/emoji/1f9e7.svg +8 -0
- package/source/linen-theme/img/emoji/1f9e8.svg +5 -0
- package/source/linen-theme/img/emoji/1f9e9.svg +4 -0
- package/source/linen-theme/img/emoji/1f9ed.svg +9 -0
- package/source/linen-theme/img/emoji/1f9f0.svg +9 -0
- package/source/linen-theme/img/emoji/1f9f2.svg +5 -0
- package/source/linen-theme/img/emoji/1f9f3.svg +7 -0
- package/source/linen-theme/img/emoji/1f9f8.svg +14 -0
- package/source/linen-theme/img/emoji/1fa75.svg +6 -0
- package/source/linen-theme/img/emoji/1fa76.svg +6 -0
- package/source/linen-theme/img/emoji/1fa77.svg +6 -0
- package/source/linen-theme/img/emoji/1fa79.svg +16 -0
- package/source/linen-theme/img/emoji/1fa7a.svg +9 -0
- package/source/linen-theme/img/emoji/1fa84.svg +5 -0
- package/source/linen-theme/img/emoji/1fa9b.svg +6 -0
- package/source/linen-theme/img/emoji/1fa9e.svg +5 -0
- package/source/linen-theme/img/emoji/1fa9f.svg +9 -0
- package/source/linen-theme/img/emoji/1fab2.svg +17 -0
- package/source/linen-theme/img/emoji/1fac2.svg +8 -0
- package/source/linen-theme/img/emoji/1fae0.svg +10 -0
- package/source/linen-theme/img/emoji/1fae1.svg +10 -0
- package/source/linen-theme/img/emoji/1fae2.svg +10 -0
- package/source/linen-theme/img/emoji/1fae3.svg +10 -0
- package/source/linen-theme/img/emoji/1fae4.svg +8 -0
- package/source/linen-theme/img/emoji/1fae5.svg +6 -0
- package/source/linen-theme/img/emoji/1fae8.svg +24 -0
- package/source/linen-theme/img/emoji/1faf0.svg +7 -0
- package/source/linen-theme/img/emoji/1faf5.svg +4 -0
- package/source/linen-theme/img/emoji/1faf6.svg +7 -0
- package/source/linen-theme/img/emoji/203c.svg +6 -0
- package/source/linen-theme/img/emoji/2049.svg +6 -0
- package/source/linen-theme/img/emoji/2139.svg +5 -0
- package/source/linen-theme/img/emoji/2194.svg +4 -0
- package/source/linen-theme/img/emoji/2195.svg +4 -0
- package/source/linen-theme/img/emoji/2197.svg +4 -0
- package/source/linen-theme/img/emoji/2198.svg +4 -0
- package/source/linen-theme/img/emoji/2199.svg +4 -0
- package/source/linen-theme/img/emoji/231a.svg +9 -0
- package/source/linen-theme/img/emoji/231b.svg +6 -0
- package/source/linen-theme/img/emoji/2328.svg +4 -0
- package/source/linen-theme/img/emoji/23e9.svg +4 -0
- package/source/linen-theme/img/emoji/23ea.svg +4 -0
- package/source/linen-theme/img/emoji/23f0.svg +9 -0
- package/source/linen-theme/img/emoji/23f1.svg +8 -0
- package/source/linen-theme/img/emoji/23f3.svg +8 -0
- package/source/linen-theme/img/emoji/23f8.svg +5 -0
- package/source/linen-theme/img/emoji/23f9.svg +4 -0
- package/source/linen-theme/img/emoji/25aa.svg +3 -0
- package/source/linen-theme/img/emoji/25ab.svg +4 -0
- package/source/linen-theme/img/emoji/25b6.svg +4 -0
- package/source/linen-theme/img/emoji/25fb.svg +4 -0
- package/source/linen-theme/img/emoji/25fc.svg +3 -0
- package/source/linen-theme/img/emoji/2600.svg +4 -0
- package/source/linen-theme/img/emoji/2601.svg +4 -0
- package/source/linen-theme/img/emoji/2602.svg +5 -0
- package/source/linen-theme/img/emoji/2603.svg +13 -0
- package/source/linen-theme/img/emoji/2604.svg +11 -0
- package/source/linen-theme/img/emoji/2611.svg +4 -0
- package/source/linen-theme/img/emoji/2614.svg +6 -0
- package/source/linen-theme/img/emoji/2615.svg +8 -0
- package/source/linen-theme/img/emoji/261d.svg +5 -0
- package/source/linen-theme/img/emoji/265f.svg +3 -0
- package/source/linen-theme/img/emoji/267b.svg +8 -0
- package/source/linen-theme/img/emoji/267e.svg +3 -0
- package/source/linen-theme/img/emoji/2696.svg +10 -0
- package/source/linen-theme/img/emoji/2699.svg +5 -0
- package/source/linen-theme/img/emoji/26a0.svg +5 -0
- package/source/linen-theme/img/emoji/26a1.svg +3 -0
- package/source/linen-theme/img/emoji/26aa.svg +4 -0
- package/source/linen-theme/img/emoji/26ab.svg +3 -0
- package/source/linen-theme/img/emoji/26bd.svg +24 -0
- package/source/linen-theme/img/emoji/26be.svg +7 -0
- package/source/linen-theme/img/emoji/26c4.svg +11 -0
- package/source/linen-theme/img/emoji/26c5.svg +6 -0
- package/source/linen-theme/img/emoji/26c8.svg +5 -0
- package/source/linen-theme/img/emoji/26d4.svg +4 -0
- package/source/linen-theme/img/emoji/26e9.svg +5 -0
- package/source/linen-theme/img/emoji/26ea.svg +6 -0
- package/source/linen-theme/img/emoji/26f0.svg +7 -0
- package/source/linen-theme/img/emoji/26f4.svg +18 -0
- package/source/linen-theme/img/emoji/26f5.svg +7 -0
- package/source/linen-theme/img/emoji/26f7.svg +24 -0
- package/source/linen-theme/img/emoji/26fa.svg +8 -0
- package/source/linen-theme/img/emoji/26fd.svg +6 -0
- package/source/linen-theme/img/emoji/2702.svg +6 -0
- package/source/linen-theme/img/emoji/2705.svg +4 -0
- package/source/linen-theme/img/emoji/2708.svg +6 -0
- package/source/linen-theme/img/emoji/2709.svg +7 -0
- package/source/linen-theme/img/emoji/270a.svg +4 -0
- package/source/linen-theme/img/emoji/270b.svg +11 -0
- package/source/linen-theme/img/emoji/270c.svg +7 -0
- package/source/linen-theme/img/emoji/270d.svg +8 -0
- package/source/linen-theme/img/emoji/270f.svg +7 -0
- package/source/linen-theme/img/emoji/2714.svg +3 -0
- package/source/linen-theme/img/emoji/2728.svg +5 -0
- package/source/linen-theme/img/emoji/2733.svg +4 -0
- package/source/linen-theme/img/emoji/2734.svg +4 -0
- package/source/linen-theme/img/emoji/2744.svg +3 -0
- package/source/linen-theme/img/emoji/2747.svg +4 -0
- package/source/linen-theme/img/emoji/274c.svg +3 -0
- package/source/linen-theme/img/emoji/274e.svg +4 -0
- package/source/linen-theme/img/emoji/2753.svg +4 -0
- package/source/linen-theme/img/emoji/2754.svg +4 -0
- package/source/linen-theme/img/emoji/2755.svg +4 -0
- package/source/linen-theme/img/emoji/2757.svg +4 -0
- package/source/linen-theme/img/emoji/2764-200d-1f525.svg +4 -0
- package/source/linen-theme/img/emoji/2764.svg +6 -0
- package/source/linen-theme/img/emoji/2795.svg +3 -0
- package/source/linen-theme/img/emoji/2796.svg +3 -0
- package/source/linen-theme/img/emoji/2797.svg +5 -0
- package/source/linen-theme/img/emoji/27a1.svg +4 -0
- package/source/linen-theme/img/emoji/2b05.svg +4 -0
- package/source/linen-theme/img/emoji/2b06.svg +4 -0
- package/source/linen-theme/img/emoji/2b07.svg +4 -0
- package/source/linen-theme/img/emoji/2b50.svg +3 -0
package/scripts/emoji.js
ADDED
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const fs = require("fs");
|
|
4
|
+
const path = require("path");
|
|
5
|
+
|
|
6
|
+
const EMOJI_DIR = path.join(__dirname, "../source/linen-theme/img/emoji");
|
|
7
|
+
|
|
8
|
+
const SKIP_TAGS = new Set([
|
|
9
|
+
"script",
|
|
10
|
+
"style",
|
|
11
|
+
"pre",
|
|
12
|
+
"code",
|
|
13
|
+
"textarea",
|
|
14
|
+
"svg",
|
|
15
|
+
"noscript",
|
|
16
|
+
"title",
|
|
17
|
+
]);
|
|
18
|
+
|
|
19
|
+
// Match full emoji sequences (including modifiers & ZWJ sequences) so compound
|
|
20
|
+
// emojis are never partially replaced.
|
|
21
|
+
const EMOJI_REGEX =
|
|
22
|
+
/\p{Extended_Pictographic}(?:\uFE0F|\uFE0E)?(?:\p{Emoji_Modifier})?(?:\u200D\p{Extended_Pictographic}(?:\uFE0F|\uFE0E)?(?:\p{Emoji_Modifier})?)*/gu;
|
|
23
|
+
|
|
24
|
+
const HTML_TOKEN_REGEX = /<!--[\s\S]*?-->|<\/?[a-zA-Z][^>]*>|[^<]+/g;
|
|
25
|
+
|
|
26
|
+
function loadAvailableEmojis() {
|
|
27
|
+
try {
|
|
28
|
+
const files = fs.readdirSync(EMOJI_DIR);
|
|
29
|
+
return new Set(
|
|
30
|
+
files
|
|
31
|
+
.filter((file) => file.endsWith(".svg"))
|
|
32
|
+
.map((file) => file.slice(0, -4).toLowerCase()),
|
|
33
|
+
);
|
|
34
|
+
} catch (error) {
|
|
35
|
+
return new Set();
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
function toCodepoint(emoji) {
|
|
40
|
+
return [...emoji]
|
|
41
|
+
.map((ch) => ch.codePointAt(0).toString(16))
|
|
42
|
+
.filter((cp) => cp !== "fe0f")
|
|
43
|
+
.join("-");
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
function replaceEmojisInHtml(html, availableEmojis, emojiBaseUrl) {
|
|
47
|
+
if (!html || typeof html !== "string" || !availableEmojis.size) {
|
|
48
|
+
return html;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
const bodyStart = html.search(/<body\b/i);
|
|
52
|
+
// Only process full HTML documents (skip RSS markdown fragments & partials)
|
|
53
|
+
if (bodyStart === -1) {
|
|
54
|
+
return html;
|
|
55
|
+
}
|
|
56
|
+
const headPart = html.slice(0, bodyStart);
|
|
57
|
+
const bodyPart = html.slice(bodyStart);
|
|
58
|
+
|
|
59
|
+
let skipDepth = 0;
|
|
60
|
+
|
|
61
|
+
const processedBody = bodyPart.replace(HTML_TOKEN_REGEX, (token) => {
|
|
62
|
+
if (token.startsWith("<!--")) {
|
|
63
|
+
return token;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
if (token.startsWith("<")) {
|
|
67
|
+
const tagMatch = /^<(\/?)([a-zA-Z][a-zA-Z0-9-]*)/.exec(token);
|
|
68
|
+
if (tagMatch) {
|
|
69
|
+
const isClosing = tagMatch[1] === "/";
|
|
70
|
+
const tagName = tagMatch[2].toLowerCase();
|
|
71
|
+
const isSelfClosing = /\/>$/.test(token);
|
|
72
|
+
if (SKIP_TAGS.has(tagName) && !isSelfClosing) {
|
|
73
|
+
if (isClosing) {
|
|
74
|
+
skipDepth = Math.max(0, skipDepth - 1);
|
|
75
|
+
} else {
|
|
76
|
+
skipDepth += 1;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
return token;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
if (skipDepth > 0) {
|
|
84
|
+
return token;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
return token.replace(EMOJI_REGEX, (match) => {
|
|
88
|
+
// Respect explicit text-presentation selector
|
|
89
|
+
if (match.includes("\uFE0E")) {
|
|
90
|
+
return match;
|
|
91
|
+
}
|
|
92
|
+
const cp = toCodepoint(match);
|
|
93
|
+
if (!availableEmojis.has(cp)) {
|
|
94
|
+
return match;
|
|
95
|
+
}
|
|
96
|
+
return `<img class="linen-emoji" src="${emojiBaseUrl}${cp}.svg" alt="${match}" draggable="false" loading="lazy" decoding="async" />`;
|
|
97
|
+
});
|
|
98
|
+
});
|
|
99
|
+
|
|
100
|
+
return headPart + processedBody;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
function registerEmojiFilter(hexoInstance) {
|
|
104
|
+
const availableEmojis = loadAvailableEmojis();
|
|
105
|
+
if (!availableEmojis.size) return;
|
|
106
|
+
|
|
107
|
+
hexoInstance.extend.filter.register("after_render:html", function (str) {
|
|
108
|
+
if (
|
|
109
|
+
hexoInstance.theme?.config?.emoji?.enable === false ||
|
|
110
|
+
hexoInstance.config?.theme_config?.emoji?.enable === false
|
|
111
|
+
) {
|
|
112
|
+
return str;
|
|
113
|
+
}
|
|
114
|
+
const root = String(hexoInstance.config?.root || "/").replace(/\/+$/, "");
|
|
115
|
+
const emojiBaseUrl = `${root}/linen-theme/img/emoji/`;
|
|
116
|
+
return replaceEmojisInHtml(str, availableEmojis, emojiBaseUrl);
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
if (typeof hexo !== "undefined") {
|
|
121
|
+
registerEmojiFilter(hexo);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
module.exports = registerEmojiFilter;
|
package/scripts/helpers/tools.js
CHANGED
|
@@ -57,6 +57,22 @@ hexo.extend.helper.register("getSeriesInfo", function (seriesName) {
|
|
|
57
57
|
return seriesInfo?.[seriesName] || {};
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
+
hexo.extend.helper.register("getCategoryInfo", function (categoryName) {
|
|
61
|
+
const categoriesInfo = getFile(
|
|
62
|
+
path.join(hexo.base_dir, "assets-db/categories.json"),
|
|
63
|
+
{},
|
|
64
|
+
);
|
|
65
|
+
return categoriesInfo?.[categoryName] || {};
|
|
66
|
+
});
|
|
67
|
+
|
|
68
|
+
hexo.extend.helper.register("getTagInfo", function (tagName) {
|
|
69
|
+
const tagsInfo = getFile(
|
|
70
|
+
path.join(hexo.base_dir, "assets-db/tags.json"),
|
|
71
|
+
{},
|
|
72
|
+
);
|
|
73
|
+
return tagsInfo?.[tagName] || {};
|
|
74
|
+
});
|
|
75
|
+
|
|
60
76
|
hexo.extend.helper.register("getTranslationPage", function () {
|
|
61
77
|
try {
|
|
62
78
|
const page = this.page;
|
package/scripts/index.js
CHANGED
|
@@ -152,6 +152,10 @@
|
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
@media (max-width: 1000px) {
|
|
155
|
+
#content-outer.series-outer,
|
|
156
|
+
#content-outer.post-outer {
|
|
157
|
+
padding: 0;
|
|
158
|
+
}
|
|
155
159
|
#content-outer.series-outer {
|
|
156
160
|
.posts-info-layout {
|
|
157
161
|
@include pageXPadding;
|
|
@@ -276,6 +280,12 @@
|
|
|
276
280
|
width: 100%;
|
|
277
281
|
}
|
|
278
282
|
.info-wrap {
|
|
283
|
+
.taxonomy-sidebar {
|
|
284
|
+
padding: 16px 0 0 0;
|
|
285
|
+
.taxonomy-category-link {
|
|
286
|
+
margin: 0;
|
|
287
|
+
}
|
|
288
|
+
}
|
|
279
289
|
.site {
|
|
280
290
|
display: none;
|
|
281
291
|
}
|
|
@@ -559,6 +569,17 @@
|
|
|
559
569
|
#archive .tag-list {
|
|
560
570
|
justify-content: flex-start;
|
|
561
571
|
}
|
|
572
|
+
.taxonomy-header {
|
|
573
|
+
padding: 16px 0 13px;
|
|
574
|
+
margin-bottom: 8px;
|
|
575
|
+
.taxonomy-accent-bar {
|
|
576
|
+
height: 1.85em;
|
|
577
|
+
margin-top: 3px;
|
|
578
|
+
}
|
|
579
|
+
.taxonomy-desc {
|
|
580
|
+
font-size: 13.5px;
|
|
581
|
+
}
|
|
582
|
+
}
|
|
562
583
|
.image-grid {
|
|
563
584
|
margin-bottom: 1em;
|
|
564
585
|
|
|
@@ -300,6 +300,10 @@ a {
|
|
|
300
300
|
|
|
301
301
|
body {
|
|
302
302
|
margin: 0;
|
|
303
|
+
min-height: 100vh;
|
|
304
|
+
min-height: 100dvh;
|
|
305
|
+
display: flex;
|
|
306
|
+
flex-direction: column;
|
|
303
307
|
text-rendering: optimizeLegibility;
|
|
304
308
|
line-height: 1.5;
|
|
305
309
|
@include defaultFont;
|
|
@@ -328,9 +332,26 @@ body {
|
|
|
328
332
|
box-sizing: border-box;
|
|
329
333
|
}
|
|
330
334
|
|
|
335
|
+
img.linen-emoji {
|
|
336
|
+
display: inline-block !important;
|
|
337
|
+
width: 1.15em !important;
|
|
338
|
+
height: 1.15em !important;
|
|
339
|
+
margin: 0 0.08em !important;
|
|
340
|
+
padding: 0 !important;
|
|
341
|
+
vertical-align: -0.2em !important;
|
|
342
|
+
border: none !important;
|
|
343
|
+
border-radius: 0 !important;
|
|
344
|
+
box-shadow: none !important;
|
|
345
|
+
background: transparent !important;
|
|
346
|
+
object-fit: contain;
|
|
347
|
+
cursor: inherit !important;
|
|
348
|
+
pointer-events: none;
|
|
349
|
+
}
|
|
350
|
+
|
|
331
351
|
.nav-header-pleaceholder {
|
|
332
352
|
width: 100%;
|
|
333
353
|
height: $navbarMinHeight;
|
|
354
|
+
flex-shrink: 0;
|
|
334
355
|
display: none;
|
|
335
356
|
background-color: #fff;
|
|
336
357
|
}
|
|
@@ -345,6 +366,7 @@ body {
|
|
|
345
366
|
left: 0;
|
|
346
367
|
right: 0;
|
|
347
368
|
height: $navbarMinHeight;
|
|
369
|
+
flex-shrink: 0;
|
|
348
370
|
.header-inner {
|
|
349
371
|
height: 100%;
|
|
350
372
|
max-width: $siteMaxWidth;
|
|
@@ -448,13 +470,30 @@ body {
|
|
|
448
470
|
content: "";
|
|
449
471
|
position: absolute;
|
|
450
472
|
inset: 0;
|
|
451
|
-
background: linear-gradient(
|
|
473
|
+
background: linear-gradient(
|
|
474
|
+
135deg,
|
|
475
|
+
#ff2d55 0%,
|
|
476
|
+
#ff8a00 34%,
|
|
477
|
+
#00c7be 70%,
|
|
478
|
+
#2979ff 100%
|
|
479
|
+
);
|
|
480
|
+
@supports (color: color(display-p3 1 0 0)) {
|
|
481
|
+
background: linear-gradient(
|
|
482
|
+
135deg,
|
|
483
|
+
color(display-p3 1 0.16 0.36) 0%,
|
|
484
|
+
color(display-p3 1 0.56 0) 34%,
|
|
485
|
+
color(display-p3 0 0.84 0.78) 70%,
|
|
486
|
+
color(display-p3 0.12 0.48 1) 100%
|
|
487
|
+
);
|
|
488
|
+
}
|
|
452
489
|
-webkit-mask: url("../img/icons/hdr.svg") no-repeat center;
|
|
453
490
|
mask: url("../img/icons/hdr.svg") no-repeat center;
|
|
454
491
|
-webkit-mask-size: contain;
|
|
455
492
|
mask-size: contain;
|
|
456
493
|
opacity: 0;
|
|
457
|
-
transition:
|
|
494
|
+
transition:
|
|
495
|
+
opacity 0.3s $easeOut,
|
|
496
|
+
filter 0.3s $easeOut;
|
|
458
497
|
pointer-events: none;
|
|
459
498
|
}
|
|
460
499
|
|
|
@@ -481,6 +520,7 @@ body {
|
|
|
481
520
|
&.hdr_on {
|
|
482
521
|
&::before {
|
|
483
522
|
opacity: 1;
|
|
523
|
+
filter: drop-shadow(0 0 3px rgba(255, 94, 58, 0.28));
|
|
484
524
|
}
|
|
485
525
|
&::after {
|
|
486
526
|
opacity: 0;
|
|
@@ -2215,8 +2255,234 @@ body {
|
|
|
2215
2255
|
}
|
|
2216
2256
|
}
|
|
2217
2257
|
|
|
2218
|
-
|
|
2219
|
-
|
|
2258
|
+
.taxonomy-header {
|
|
2259
|
+
padding: 26px 0 18px;
|
|
2260
|
+
margin-bottom: 12px;
|
|
2261
|
+
border-bottom: 1px solid rgba(34, 33, 31, 0.14);
|
|
2262
|
+
position: relative;
|
|
2263
|
+
&::after {
|
|
2264
|
+
content: "";
|
|
2265
|
+
position: absolute;
|
|
2266
|
+
left: 0;
|
|
2267
|
+
right: 0;
|
|
2268
|
+
bottom: -4px;
|
|
2269
|
+
height: 1px;
|
|
2270
|
+
background-color: $borderSubtle;
|
|
2271
|
+
}
|
|
2272
|
+
.taxonomy-header-inner {
|
|
2273
|
+
display: flex;
|
|
2274
|
+
align-items: flex-start;
|
|
2275
|
+
gap: 12px;
|
|
2276
|
+
}
|
|
2277
|
+
.taxonomy-accent-bar {
|
|
2278
|
+
width: 3px;
|
|
2279
|
+
height: 2.15em;
|
|
2280
|
+
margin-top: 4px;
|
|
2281
|
+
border-radius: 999px;
|
|
2282
|
+
background-color: $accent;
|
|
2283
|
+
flex: 0 0 auto;
|
|
2284
|
+
}
|
|
2285
|
+
.taxonomy-header-main {
|
|
2286
|
+
flex: 1 1 auto;
|
|
2287
|
+
min-width: 0;
|
|
2288
|
+
}
|
|
2289
|
+
.taxonomy-title-row {
|
|
2290
|
+
display: flex;
|
|
2291
|
+
flex-wrap: wrap;
|
|
2292
|
+
align-items: baseline;
|
|
2293
|
+
justify-content: space-between;
|
|
2294
|
+
gap: 8px 16px;
|
|
2295
|
+
}
|
|
2296
|
+
.taxonomy-title-group {
|
|
2297
|
+
display: flex;
|
|
2298
|
+
align-items: baseline;
|
|
2299
|
+
flex-wrap: wrap;
|
|
2300
|
+
gap: 6px 10px;
|
|
2301
|
+
min-width: 0;
|
|
2302
|
+
}
|
|
2303
|
+
.taxonomy-title {
|
|
2304
|
+
@include sourceSerifFont;
|
|
2305
|
+
margin: 0;
|
|
2306
|
+
font-size: clamp(24px, 2.6vw, 30px);
|
|
2307
|
+
font-weight: bold;
|
|
2308
|
+
line-height: 1.25;
|
|
2309
|
+
color: $darkText;
|
|
2310
|
+
.taxonomy-hash {
|
|
2311
|
+
color: $accent;
|
|
2312
|
+
font-weight: normal;
|
|
2313
|
+
margin-right: 3px;
|
|
2314
|
+
opacity: 0.85;
|
|
2315
|
+
}
|
|
2316
|
+
}
|
|
2317
|
+
.taxonomy-kind {
|
|
2318
|
+
@include defaultFont;
|
|
2319
|
+
font-size: 12.5px;
|
|
2320
|
+
color: $moreGrayText;
|
|
2321
|
+
letter-spacing: 0.06em;
|
|
2322
|
+
text-transform: uppercase;
|
|
2323
|
+
text-decoration: none;
|
|
2324
|
+
transition: color 180ms $easeOut;
|
|
2325
|
+
&:hover {
|
|
2326
|
+
color: $accent;
|
|
2327
|
+
}
|
|
2328
|
+
}
|
|
2329
|
+
.taxonomy-meta {
|
|
2330
|
+
@include defaultFont;
|
|
2331
|
+
font-size: 13px;
|
|
2332
|
+
color: $metaText;
|
|
2333
|
+
font-variant-numeric: tabular-nums;
|
|
2334
|
+
display: inline-flex;
|
|
2335
|
+
align-items: center;
|
|
2336
|
+
gap: 6px;
|
|
2337
|
+
flex-wrap: wrap;
|
|
2338
|
+
flex-shrink: 0;
|
|
2339
|
+
.meta-sep {
|
|
2340
|
+
color: $grayc;
|
|
2341
|
+
}
|
|
2342
|
+
.meta-page {
|
|
2343
|
+
color: $accent;
|
|
2344
|
+
}
|
|
2345
|
+
}
|
|
2346
|
+
.taxonomy-desc {
|
|
2347
|
+
margin: 8px 0 0;
|
|
2348
|
+
font-size: 14px;
|
|
2349
|
+
line-height: 1.6;
|
|
2350
|
+
color: $grayerText;
|
|
2351
|
+
max-width: 68ch;
|
|
2352
|
+
}
|
|
2353
|
+
}
|
|
2354
|
+
|
|
2355
|
+
.taxonomy-sidebar {
|
|
2356
|
+
padding: 20px 0 0 28px;
|
|
2357
|
+
.taxonomy-sidebar-block {
|
|
2358
|
+
padding-top: 18px;
|
|
2359
|
+
border-top: 1px solid $borderSubtle;
|
|
2360
|
+
}
|
|
2361
|
+
.taxonomy-sidebar-header {
|
|
2362
|
+
display: flex;
|
|
2363
|
+
align-items: center;
|
|
2364
|
+
justify-content: space-between;
|
|
2365
|
+
gap: 8px;
|
|
2366
|
+
margin-bottom: 10px;
|
|
2367
|
+
}
|
|
2368
|
+
.taxonomy-sidebar-title {
|
|
2369
|
+
@include defaultFont;
|
|
2370
|
+
font-size: 12px;
|
|
2371
|
+
font-weight: 500;
|
|
2372
|
+
letter-spacing: 0.08em;
|
|
2373
|
+
text-transform: uppercase;
|
|
2374
|
+
color: $metaText;
|
|
2375
|
+
}
|
|
2376
|
+
.taxonomy-sidebar-all {
|
|
2377
|
+
@include defaultFont;
|
|
2378
|
+
font-size: 12px;
|
|
2379
|
+
color: $accent;
|
|
2380
|
+
text-decoration: none;
|
|
2381
|
+
transition: opacity 160ms $easeOut;
|
|
2382
|
+
&:hover {
|
|
2383
|
+
opacity: 0.78;
|
|
2384
|
+
text-decoration: underline;
|
|
2385
|
+
text-underline-offset: 0.2em;
|
|
2386
|
+
}
|
|
2387
|
+
}
|
|
2388
|
+
.taxonomy-category-list {
|
|
2389
|
+
list-style: none;
|
|
2390
|
+
margin: 0;
|
|
2391
|
+
padding: 0;
|
|
2392
|
+
display: flex;
|
|
2393
|
+
flex-direction: column;
|
|
2394
|
+
gap: 2px;
|
|
2395
|
+
}
|
|
2396
|
+
.taxonomy-category-link {
|
|
2397
|
+
display: flex;
|
|
2398
|
+
align-items: center;
|
|
2399
|
+
justify-content: space-between;
|
|
2400
|
+
gap: 8px;
|
|
2401
|
+
padding: 6px 8px;
|
|
2402
|
+
margin: 0 -8px;
|
|
2403
|
+
border-radius: $radiusMd;
|
|
2404
|
+
text-decoration: none;
|
|
2405
|
+
color: $grayerText;
|
|
2406
|
+
font-size: 14px;
|
|
2407
|
+
transition:
|
|
2408
|
+
background-color 180ms $easeOut,
|
|
2409
|
+
color 180ms $easeOut;
|
|
2410
|
+
.name {
|
|
2411
|
+
@include sourceSerifFont;
|
|
2412
|
+
@include ellipsis(1);
|
|
2413
|
+
}
|
|
2414
|
+
.count {
|
|
2415
|
+
@include defaultFont;
|
|
2416
|
+
font-size: 12px;
|
|
2417
|
+
font-variant-numeric: tabular-nums;
|
|
2418
|
+
color: $moreGrayText;
|
|
2419
|
+
flex-shrink: 0;
|
|
2420
|
+
}
|
|
2421
|
+
&:hover {
|
|
2422
|
+
background-color: $surface;
|
|
2423
|
+
color: $darkText;
|
|
2424
|
+
}
|
|
2425
|
+
&.active {
|
|
2426
|
+
background-color: $accentSoft;
|
|
2427
|
+
color: $accent;
|
|
2428
|
+
font-weight: 600;
|
|
2429
|
+
.count {
|
|
2430
|
+
color: $accent;
|
|
2431
|
+
opacity: 0.85;
|
|
2432
|
+
}
|
|
2433
|
+
}
|
|
2434
|
+
}
|
|
2435
|
+
.taxonomy-related-tags {
|
|
2436
|
+
display: flex;
|
|
2437
|
+
flex-wrap: wrap;
|
|
2438
|
+
gap: 6px;
|
|
2439
|
+
}
|
|
2440
|
+
.taxonomy-tag-chip {
|
|
2441
|
+
@include defaultFont;
|
|
2442
|
+
display: inline-flex;
|
|
2443
|
+
align-items: center;
|
|
2444
|
+
gap: 4px;
|
|
2445
|
+
padding: 3px 8px;
|
|
2446
|
+
border-radius: $radiusMd;
|
|
2447
|
+
font-size: 12.5px;
|
|
2448
|
+
color: $grayerText;
|
|
2449
|
+
background-color: $surface;
|
|
2450
|
+
border: 1px solid $borderSubtle;
|
|
2451
|
+
text-decoration: none;
|
|
2452
|
+
transition:
|
|
2453
|
+
color 180ms $easeOut,
|
|
2454
|
+
background-color 180ms $easeOut,
|
|
2455
|
+
border-color 180ms $easeOut;
|
|
2456
|
+
&::before {
|
|
2457
|
+
content: "";
|
|
2458
|
+
width: 10px;
|
|
2459
|
+
height: 10px;
|
|
2460
|
+
background-color: currentColor;
|
|
2461
|
+
-webkit-mask: url("../img/icons/tag.svg") no-repeat center / contain;
|
|
2462
|
+
mask: url("../img/icons/tag.svg") no-repeat center / contain;
|
|
2463
|
+
display: inline-block;
|
|
2464
|
+
opacity: 0.4;
|
|
2465
|
+
flex-shrink: 0;
|
|
2466
|
+
transition: opacity 180ms $easeOut;
|
|
2467
|
+
}
|
|
2468
|
+
.count {
|
|
2469
|
+
font-size: 11px;
|
|
2470
|
+
color: $moreGrayText;
|
|
2471
|
+
font-variant-numeric: tabular-nums;
|
|
2472
|
+
transition: color 180ms $easeOut;
|
|
2473
|
+
}
|
|
2474
|
+
&:hover {
|
|
2475
|
+
color: $accent;
|
|
2476
|
+
background-color: $accentSoft;
|
|
2477
|
+
border-color: $accentBorder;
|
|
2478
|
+
&::before {
|
|
2479
|
+
opacity: 0.78;
|
|
2480
|
+
}
|
|
2481
|
+
.count {
|
|
2482
|
+
color: $accent;
|
|
2483
|
+
}
|
|
2484
|
+
}
|
|
2485
|
+
}
|
|
2220
2486
|
}
|
|
2221
2487
|
|
|
2222
2488
|
.posts-info-layout {
|
|
@@ -2396,17 +2662,23 @@ body {
|
|
|
2396
2662
|
|
|
2397
2663
|
.page-body {
|
|
2398
2664
|
width: 100%;
|
|
2665
|
+
flex: 1 0 auto;
|
|
2399
2666
|
display: flex;
|
|
2400
2667
|
flex-wrap: nowrap;
|
|
2401
2668
|
.side-content {
|
|
2402
2669
|
width: 0;
|
|
2403
2670
|
flex: 1 1 auto;
|
|
2404
|
-
height:
|
|
2671
|
+
height: auto;
|
|
2405
2672
|
position: sticky;
|
|
2406
2673
|
top: 0;
|
|
2407
2674
|
display: flex;
|
|
2408
2675
|
align-items: center;
|
|
2409
2676
|
justify-content: flex-end;
|
|
2677
|
+
@media (min-width: 1281px) {
|
|
2678
|
+
&:has(> *) {
|
|
2679
|
+
height: 100vh;
|
|
2680
|
+
}
|
|
2681
|
+
}
|
|
2410
2682
|
&:first-child {
|
|
2411
2683
|
order: 1;
|
|
2412
2684
|
}
|
|
@@ -2419,21 +2691,16 @@ body {
|
|
|
2419
2691
|
order: 2;
|
|
2420
2692
|
width: 100%;
|
|
2421
2693
|
flex: 0 0 auto;
|
|
2422
|
-
min-height: calc(100vh - 65px - 80px - 32 * 0.67px - 10px);
|
|
2423
2694
|
max-width: $siteMaxWidth;
|
|
2424
2695
|
min-width: 50%;
|
|
2425
2696
|
margin: 0 auto;
|
|
2426
2697
|
@include pageXPadding;
|
|
2427
2698
|
&.series-outer {
|
|
2428
|
-
max-width: $postWidth;
|
|
2429
|
-
padding: 0;
|
|
2430
2699
|
.info-wrap .site-info {
|
|
2431
2700
|
padding-right: 0;
|
|
2432
2701
|
}
|
|
2433
2702
|
}
|
|
2434
2703
|
&.post-outer {
|
|
2435
|
-
max-width: $postWidth;
|
|
2436
|
-
padding: 0;
|
|
2437
2704
|
.content-inner {
|
|
2438
2705
|
background-color: $bg;
|
|
2439
2706
|
}
|
|
@@ -2842,6 +3109,18 @@ body {
|
|
|
2842
3109
|
&:hover {
|
|
2843
3110
|
color: $grayerText;
|
|
2844
3111
|
}
|
|
3112
|
+
&.is-current {
|
|
3113
|
+
background-color: $accentSoft;
|
|
3114
|
+
color: $accent;
|
|
3115
|
+
font-weight: 500;
|
|
3116
|
+
&::before {
|
|
3117
|
+
opacity: 0.82;
|
|
3118
|
+
}
|
|
3119
|
+
&:hover {
|
|
3120
|
+
color: $accent;
|
|
3121
|
+
background-color: $accentSoft;
|
|
3122
|
+
}
|
|
3123
|
+
}
|
|
2845
3124
|
}
|
|
2846
3125
|
}
|
|
2847
3126
|
}
|
|
@@ -3164,6 +3443,7 @@ body {
|
|
|
3164
3443
|
}
|
|
3165
3444
|
|
|
3166
3445
|
#footer {
|
|
3446
|
+
flex-shrink: 0;
|
|
3167
3447
|
background-color: $bg;
|
|
3168
3448
|
border-top: 1px solid $borderSubtle;
|
|
3169
3449
|
padding: 40px 0;
|
|
@@ -3420,31 +3700,6 @@ body {
|
|
|
3420
3700
|
}
|
|
3421
3701
|
}
|
|
3422
3702
|
|
|
3423
|
-
// Align Header and Footer strictly with Post & Series outer cover rails on desktop
|
|
3424
|
-
body.is-post {
|
|
3425
|
-
.nav-header .header-inner,
|
|
3426
|
-
#footer .footerInner {
|
|
3427
|
-
max-width: $postWidth;
|
|
3428
|
-
padding-left: $commonPadding;
|
|
3429
|
-
padding-right: $commonPadding;
|
|
3430
|
-
@media (min-width: 1001px) {
|
|
3431
|
-
padding-left: 0;
|
|
3432
|
-
padding-right: 0;
|
|
3433
|
-
}
|
|
3434
|
-
}
|
|
3435
|
-
}
|
|
3436
|
-
|
|
3437
|
-
body:has(#content-outer.series-outer) {
|
|
3438
|
-
.nav-header .header-inner,
|
|
3439
|
-
#footer .footerInner {
|
|
3440
|
-
max-width: $postWidth;
|
|
3441
|
-
@media (min-width: 1001px) {
|
|
3442
|
-
padding-left: 0;
|
|
3443
|
-
padding-right: 0;
|
|
3444
|
-
}
|
|
3445
|
-
}
|
|
3446
|
-
}
|
|
3447
|
-
|
|
3448
3703
|
@media (max-width: 768px) {
|
|
3449
3704
|
#footer {
|
|
3450
3705
|
padding-top: 24px;
|
|
@@ -3606,7 +3861,7 @@ body:has(#content-outer.series-outer) {
|
|
|
3606
3861
|
}
|
|
3607
3862
|
|
|
3608
3863
|
#toc {
|
|
3609
|
-
max-width: calc((100vw - $
|
|
3864
|
+
max-width: calc((100vw - $siteMaxWidth) / 2);
|
|
3610
3865
|
text-align: right;
|
|
3611
3866
|
max-height: 100vh;
|
|
3612
3867
|
padding: 24px 0;
|
|
@@ -4146,6 +4401,7 @@ html[lang="zh-CN"] {
|
|
|
4146
4401
|
}
|
|
4147
4402
|
|
|
4148
4403
|
.travel-leaflet-marker {
|
|
4404
|
+
cursor: pointer;
|
|
4149
4405
|
span {
|
|
4150
4406
|
position: relative;
|
|
4151
4407
|
display: block;
|
|
@@ -4328,6 +4584,80 @@ html[lang="zh-CN"] {
|
|
|
4328
4584
|
margin: 12px 14px;
|
|
4329
4585
|
}
|
|
4330
4586
|
|
|
4587
|
+
.maplibregl-map {
|
|
4588
|
+
font-family: inherit;
|
|
4589
|
+
width: 100%;
|
|
4590
|
+
height: 100%;
|
|
4591
|
+
}
|
|
4592
|
+
|
|
4593
|
+
.maplibregl-ctrl-group {
|
|
4594
|
+
border: 1px solid rgba(34, 33, 31, 0.06) !important;
|
|
4595
|
+
border-radius: 8px !important;
|
|
4596
|
+
background: rgba(255, 255, 255, 0.92) !important;
|
|
4597
|
+
backdrop-filter: blur(10px);
|
|
4598
|
+
-webkit-backdrop-filter: blur(10px);
|
|
4599
|
+
box-shadow:
|
|
4600
|
+
0 6px 18px rgba(34, 33, 31, 0.1),
|
|
4601
|
+
0 1px 3px rgba(34, 33, 31, 0.04) !important;
|
|
4602
|
+
overflow: hidden;
|
|
4603
|
+
|
|
4604
|
+
button {
|
|
4605
|
+
width: 32px !important;
|
|
4606
|
+
height: 32px !important;
|
|
4607
|
+
transition: background-color 180ms $easeOut !important;
|
|
4608
|
+
|
|
4609
|
+
& + button {
|
|
4610
|
+
border-top: 1px solid rgba(34, 33, 31, 0.06) !important;
|
|
4611
|
+
}
|
|
4612
|
+
|
|
4613
|
+
&:hover,
|
|
4614
|
+
&:focus-visible {
|
|
4615
|
+
background-color: $accentSoft !important;
|
|
4616
|
+
}
|
|
4617
|
+
}
|
|
4618
|
+
}
|
|
4619
|
+
|
|
4620
|
+
.maplibregl-ctrl-attrib {
|
|
4621
|
+
@include defaultFont;
|
|
4622
|
+
background: rgba(255, 255, 255, 0.78) !important;
|
|
4623
|
+
backdrop-filter: blur(8px);
|
|
4624
|
+
-webkit-backdrop-filter: blur(8px);
|
|
4625
|
+
color: $moreGrayText !important;
|
|
4626
|
+
font-size: 10px !important;
|
|
4627
|
+
|
|
4628
|
+
a {
|
|
4629
|
+
color: $moreGrayText !important;
|
|
4630
|
+
text-decoration: none !important;
|
|
4631
|
+
&:hover {
|
|
4632
|
+
color: $accent !important;
|
|
4633
|
+
text-decoration: underline !important;
|
|
4634
|
+
}
|
|
4635
|
+
}
|
|
4636
|
+
}
|
|
4637
|
+
|
|
4638
|
+
.maplibregl-popup-content {
|
|
4639
|
+
border-radius: $radiusLg !important;
|
|
4640
|
+
padding: 12px 14px !important;
|
|
4641
|
+
box-shadow:
|
|
4642
|
+
0 10px 30px rgba(34, 33, 31, 0.1),
|
|
4643
|
+
0 1px 8px rgba(34, 33, 31, 0.04) !important;
|
|
4644
|
+
border: 1px solid rgba(34, 33, 31, 0.06) !important;
|
|
4645
|
+
background: $bg !important;
|
|
4646
|
+
}
|
|
4647
|
+
|
|
4648
|
+
.maplibregl-popup-close-button {
|
|
4649
|
+
top: 4px;
|
|
4650
|
+
right: 6px;
|
|
4651
|
+
color: $moreGrayText;
|
|
4652
|
+
font-size: 16px;
|
|
4653
|
+
line-height: 1;
|
|
4654
|
+
padding: 4px;
|
|
4655
|
+
&:hover {
|
|
4656
|
+
background: transparent;
|
|
4657
|
+
color: $accent;
|
|
4658
|
+
}
|
|
4659
|
+
}
|
|
4660
|
+
|
|
4331
4661
|
.travel-place-list {
|
|
4332
4662
|
display: grid;
|
|
4333
4663
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
@@ -4343,6 +4673,7 @@ html[lang="zh-CN"] {
|
|
|
4343
4673
|
border-radius: $radiusMd;
|
|
4344
4674
|
border: 1px solid $borderColor;
|
|
4345
4675
|
background-color: $bg;
|
|
4676
|
+
cursor: pointer;
|
|
4346
4677
|
transition:
|
|
4347
4678
|
border-color 0.22s $easeOut,
|
|
4348
4679
|
box-shadow 0.22s $easeOut,
|