MCPcopy Create free account
hub / github.com/XIU2/UserScript / addStyle

Function addStyle

52pojie-Beautification.user.js:25–115  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23 GM_registerMenuCommand('💬 反馈 & 建议', function () {window.GM_openInTab('https://github.com/XIU2/UserScript#xiu2userscript', {active: true,insert: true,setParent: true});window.GM_openInTab('https://greasyfork.org/zh-CN/scripts/412681/feedback', {active: true,insert: true,setParent: true});});
24 addStyle();
25 function addStyle() {
26 let style = `.bml {display:none !important;}
27#postlist .plc .t_f img, #postlist .plc .tattl img {
28 max-height: 500px !important;
29 width: auto !important;
30}
31a[href="connect.php?mod=config"], #toptb, #navmenu, #nv_ph, #nv, #pt .y, #chart, #ft, #custominfo_pmenu, .bm.lk, .dnch_eo_pt, .dnch_eo_pr, .dnch_eo_f, dl.pil.cl, td.plc.plm .sign, .dnch_eo_pb, .dnch_eo_pt, .pls .side-star, .pls .side-group, .res-footer-note, .comiis_nav, .scbar_hot_td, .md_ctrl, .pls.favatar .xg1 {
32 display:none !important;
33}
34
35@media (max-width:650px) {
36 #postlist .favatar.pls .avatar img {
37 margin:0 0 2px;
38 }
39 .pls .avatar img {
40 background:none;
41 padding:0;
42 border:4px solid #ffffff
43 }
44 .avtm img {
45 width:60px;
46 }
47}
48.t_fsz {
49 min-height:60px;
50}
51.pls .pi {
52 text-align:center;
53 padding:10px 0 0 0;
54 border:none;
55 overflow:visible;
56}
57.xw1 {
58 font-size:15px;
59}
60textarea#fastpostmessage {
61 background:none !important;
62}
63.pcb img {
64 max-width:60%;
65 margin:4px;
66}
67.rate {
68 margin:0;
69}
70.ratl td {
71 padding:0px;
72}
73.xw1 {
74 font-size:12px;
75 font-weight:500;
76}
77.xi2,.xi2 a,.xi3 a {
78 color:red;
79}
80.toptitle_7ree td {
81 border-top: 1px solid #CDCDCD;
82}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected