版本比较
ZoStyle——新一代洛谷界面美化(Stylus)
标题
增加 1 行删除 1 行
11__zszl__ 的洛谷界面美化(Stylus)ZoStyle——新一代洛谷界面美化(Stylus)正文
增加 26 行删除 21 行
1123456778910111213141516161718192014 行未改动353637383939404142424344454445464748494849505152535455565758575859606162270 行未改动全部展开33333433533633733733833934033934034134234334434534434534634734834935034734834935035135235335435535635735535835936036136236336436533 行未改动如果你在洛谷保存站,请注意实时保存,不定期更新。遇到 bug 或有建议请向 __zszl__ 反馈。如果你在洛谷保存站,请注意实时保存,不定期更新。遇到 bug 或有建议请向 \_\_zszl\_\_ 反馈。
## Step.1 下载、安装 Stylus::::info[MicroSoft Edge 使用者请看这]进入 [$\Huge\rm\,Link\,$](https://www.luogu.com.cn/problem/U682316) 点击下载附件里面的 `clngdbkpkpeebahjckkjfobafhncgmne_2.3.17_chrome.zzzmh.cn.crx`(如图 A)。:::align{center}[](https://cdn.luogu.com.cn/upload/image_hosting/j7vkgwfo.png)$\Huge\quad$[](https://cdn.luogu.com.cn/upload/image_hosting/ob7a5s53.png) [](https://cdn.luogu.com.cn/upload/image_hosting/j7vkgwfo.png)$\Huge\quad$[](https://cdn.luogu.com.cn/upload/image_hosting/ob7a5s53.png)图 A $\Huge\qquad\qquad\qquad\qquad$ 图 B:::然后来到[插件管理区](edge://extensions/),打开“开发人员模式”(如图 B)接着直接将下载的文件拖进游览器界面即可。::::## Step.2 安装插件新建标签页,点击右上角的拼图 logo,然后点击“Stylus”,会出现图一界面:::align{center}[](https://cdn.luogu.com.cn/upload/image_hosting/nuw77flo.png) $\Huge\qquad$ [](https://cdn.luogu.com.cn/upload/image_hosting/7rfxtaz5.png) [](https://cdn.luogu.com.cn/upload/image_hosting/nuw77flo.png) $\Huge\qquad$ [](https://cdn.luogu.com.cn/upload/image_hosting/7rfxtaz5.png)图一 $\Huge\qquad\qquad\qquad\qquad$ 图二:::这个时候直接点击“管理样式”,左上角出现类似图二界面,点击加号复制下面的源码,按下 Ctrl+S(Command+S)即可。
14 行未改动html,body{background:transparent!important;background-image:none!important}.lg-article.am-hide-sm{display:none!important}}
@-moz-document regexp("https://www\\.luogu\\.com\\.cn/user/\\d+$") {@-moz-document regexp("https://www\\.luogu\\.com\\.cn/user/\\d+/(activity|article(\\?.*)?|practice|following(\\?.*)?|follower(\\?.*)?|blacklist(\\?.*)?)$"), regexp("https://www\\.luogu\\.com\\.cn/user/\\d+$"), regexp("https://www\\.luogu\\.com\\.cn/user/mine/(team|contestJoined(\\?.*)?|discuss(\\?.*)?|problem(\\?.*)?|contest(\\?.*)?|training(\\?.*)?|trainingFav(\\?.*)?|articleFav(\\?.*)?)$") {body,#app,main,.columba-content-wrap{background:transparent!important;background-color:transparent!important}.card:not(.l-card),.wrapper,.main-container,.lfe-body,[class*="panel"],[class*="box"],[class*="container"]:not(.l-card),.header,.content,.main,section,article,[class*="content"]{background:transparent!important;background-color:transparent!important;box-shadow:none!important;backdrop-filter:none!important}*[style*="background"]:not(.l-card):not(.user-header-top):not(nav):not([class*="sidebar"]):not([class*="nav"]):not(span):not(.tag):not(button):not([class*="btn"]):not(.heat-map-cell){background:transparent!important;background-color:transparent!important}*[style*="background"]:not(.katex):not(.l-card):not(.user-header-top):not(nav):not([class*="sidebar"]):not([class*="nav"]):not(span):not(.tag):not(button):not([class*="btn"]):not(.heat-map-cell){background:transparent!important;background-color:transparent!important}footer[data-v-14b843ef]{background:transparent!important;color:rgba(0,0,0,0.45)!important}footer[data-v-14b843ef] a{color:rgba(0,0,0,0.55)!important}footer[data-v-14b843ef] a:hover{color:rgba(0,0,0,0.85)!important}footer[data-v-14b843ef] a{color:rgba(0,0,0,0.55)}footer[data-v-14b843ef] a:hover{color:rgba(0,0,0,0.85)}footer[data-v-14b843ef] hr{border-color:rgba(0,0,0,0.1)!important}.l-card{border-radius:12px!important;overflow:hidden!important}.l-card[data-v-3d378fbe],.l-card[data-v-f4fefeb2]:not([data-v-3d378fbe]){background:rgba(255,255,255,0.7)!important;box-shadow:0 1px 3px rgba(0,0,0,0.08)!important;transition:background 0.3s ease,box-shadow 0.3s ease!important}.l-card[data-v-3d378fbe]:hover,.l-card[data-v-f4fefeb2]:not([data-v-3d378fbe]):hover{background:rgba(255,255,255,0.85)!important;box-shadow:0 4px 20px rgba(0,0,0,0.15)!important}.l-card[data-v-3d378fbe],.l-card[data-v-f4fefeb2]:not([data-v-3d378fbe]){background:transparent!important;box-shadow:0 1px 3px rgba(0,0,0,0.08)!important;transition:background 0.3s ease,box-shadow 0.3s ease!important}.l-card[data-v-3d378fbe]:hover,.l-card[data-v-f4fefeb2]:not([data-v-3d378fbe]):hover{background:rgba(255,255,255,0.6)!important;box-shadow:0 4px 20px rgba(0,0,0,0.15)!important}}
@-moz-document regexp("https://www\\.luogu\\.com\\.cn/article/\\w+$") {body,#app,main,.columba-content-wrap{background:transparent!important;background-color:transparent!important}.card,.wrapper,.main-container,.lfe-body,[class*="panel"],[class*="box"],[class*="container"],section,[class*="content"]{background:transparent!important;background-color:transparent!important;box-shadow:none!important;backdrop-filter:none!important}*[style*="background"]:not(.l-card):not(span):not(.tag):not(button):not([class*="btn"]):not(.heat-map-cell){background:transparent!important;background-color:transparent!important}footer[data-v-14b843ef]{background:transparent!important;color:rgba(0,0,0,0.45)!important}footer[data-v-14b843ef] a{color:rgba(0,0,0,0.55)!important}footer[data-v-14b843ef] a:hover{color:rgba(0,0,0,0.85)!important}footer[data-v-14b843ef] a{color:rgba(0,0,0,0.55)}footer[data-v-14b843ef] a:hover{color:rgba(0,0,0,0.85)}footer[data-v-14b843ef] hr{border-color:rgba(0,0,0,0.1)!important}.l-card{background:transparent!important;border:1px solid rgba(0,0,0,0.12)!important;border-radius:12px!important;padding:20px!important;margin-bottom:16px!important;box-shadow:none!important;transition:border-color 0.3s ease,box-shadow 0.3s ease!important}.l-card:hover{border-color:rgba(0,0,0,0.25)!important;box-shadow:0 2px 12px rgba(0,0,0,0.08)!important}.l-card .meta,.l-card .header,.l-card [class*="meta"],.l-card [class*="header"],.l-card .left,.l-card .time,.l-card .username{background:transparent!important;background-color:transparent!important}270 行未改动全部展开.mdui-textfield-input{font-weight:bolder!important}.mdui-toolbar.mdui-color-theme{background-image:linear-gradient(120deg,#e0c3fc 0%,#8ec5fc 100%)!important}}
@-moz-document regexp("https://www\\.luogu\\.com\\.cn/user/\\d+/(activity|article(\\?.*)?|practice|following(\\?.*)?|follower(\\?.*)?|blacklist(\\?.*)?)$"), regexp("https://www\\.luogu\\.com\\.cn/user/\\d+$"), regexp("https://www\\.luogu\\.com\\.cn/user/(notification(\\?.*)?|setting.*)"), regexp("https://www\\.luogu\\.com\\.cn/user/mine/(team|contestJoined(\\?.*)?|discuss(\\?.*)?|problem(\\?.*)?|contest(\\?.*)?|training(\\?.*)?|trainingFav(\\?.*)?|articleFav(\\?.*)?)$"), regexp("https://www\\.luogu\\.com\\.cn/team/(create|\\d+)(/.*)?$"), regexp("https://www\\.luogu\\.com\\.cn/contest/\\d+.*"), regexp("https://www\\.luogu\\.com\\.cn/article($|\\?.*|/mine|/new|/collection/\\d+|/\\w+/edit)"), regexp("https://www\\.luogu\\.com\\.cn/discuss(\\?.*)?$"), regexp("https://www\\.luogu\\.com\\.cn/discuss/\\d+(\\?.*)?"), regexp("https://www\\.luogu\\.com\\.cn/discuss/new(\\?.*)?"), regexp("https://www\\.luogu\\.com\\.cn/problem/(new.*|((?!.*ide).)*$)"), regexp("https://www\\.luogu\\.com\\.cn/ranking($|/elo)(\\?.*)?"), regexp("https://www\\.luogu\\.com\\.cn/ranking\\?.*"), regexp("https://www\\.luogu\\.com\\.cn/ranking/elo\\?.*"), regexp("https://www\\.luogu\\.com\\.cn/judgement(\\?.*)?"), regexp("https://www\\.luogu\\.com\\.cn/training(/.*)?$"), regexp("https://www\\.luogu\\.com\\.cn/ticket.*") {@-moz-document regexp("https://www\\.luogu\\.com\\.cn/user/\\d+/(activity|article(\\?.*)?|practice|following(\\?.*)?|follower(\\?.*)?|blacklist(\\?.*)?)$"), regexp("https://www\\.luogu\\.com\\.cn/user/\\d+$"), regexp("https://www\\.luogu\\.com\\.cn/user/(notification(\\?.*)?|setting.*)"), regexp("https://www\\.luogu\\.com\\.cn/user/mine/(team|contestJoined(\\?.*)?|discuss(\\?.*)?|problem(\\?.*)?|contest(\\?.*)?|training(\\?.*)?|trainingFav(\\?.*)?|articleFav(\\?.*)?)$"), regexp("https://www\\.luogu\\.com\\.cn/team/(create|\\d+)(/.*)?$"), regexp("https://www\\.luogu\\.com\\.cn/contest/\\d+.*"), regexp("https://www\\.luogu\\.com\\.cn/article($|\\?.*|/.*)"), regexp("https://www\\.luogu\\.com\\.cn/discuss(\\?.*)?$"), regexp("https://www\\.luogu\\.com\\.cn/discuss/\\d+(\\?.*)?"), regexp("https://www\\.luogu\\.com\\.cn/discuss/new(\\?.*)?"), regexp("https://www\\.luogu\\.com\\.cn/problem/(new.*|((?!.*ide).)*$)"), regexp("https://www\\.luogu\\.com\\.cn/ranking($|/elo)(\\?.*)?"), regexp("https://www\\.luogu\\.com\\.cn/ranking\\?.*"), regexp("https://www\\.luogu\\.com\\.cn/ranking/elo\\?.*"), regexp("https://www\\.luogu\\.com\\.cn/judgement(\\?.*)?"), regexp("https://www\\.luogu\\.com\\.cn/training(/.*)?$"), regexp("https://www\\.luogu\\.com\\.cn/ticket.*") {body,#app,main,.columba-content-wrap{background:transparent!important;background-color:transparent!important}.card,.wrapper,.main-container,.lfe-body,[class*="panel"],[class*="box"],[class*="container"],.header,.content,.main,section,article,[class*="content"]{background:transparent!important;background-color:transparent!important;box-shadow:none!important;backdrop-filter:none!important}*[style*="background"]:not(.l-card):not(.user-header-top):not(nav):not([class*="sidebar"]):not([class*="nav"]):not(span):not(.tag):not(button):not([class*="btn"]):not(.heat-map-cell):not([class*="first-ac"]):not([class*="ac-cell"]){background:transparent!important;background-color:transparent!important}.card,.wrapper,.main-container,.lfe-body,[class*="panel"],[class*="container"],.header,.content,.main,section,article,[class*="content"]{background:transparent!important;background-color:transparent!important;box-shadow:none!important;backdrop-filter:none!important}*[style*="background"]:not(.katex):not(.l-card):not(.user-header-top):not(nav):not([class*="sidebar"]):not([class*="nav"]):not(span):not(.tag):not(button):not([class*="btn"]):not(.heat-map-cell):not([class*="first-ac"]):not([class*="ac-cell"]){background:transparent!important;background-color:transparent!important}footer.lcolor-bg-background,footer[data-v-14b843ef],footer[data-v-e9b0168c],.lcolor-bg-background{background:transparent!important;background-color:transparent!important;background-image:none!important}footer.lcolor-bg-background>*,footer[data-v-14b843ef]>*,footer[data-v-e9b0168c]>*{background:transparent!important;background-image:none!important}footer{color:rgba(0,0,0,0.45)!important}footer a{color:rgba(0,0,0,0.55)!important}footer a:hover{color:rgba(0,0,0,0.85)!important}footer a{color:rgba(0,0,0,0.55)}footer a:hover{color:rgba(0,0,0,0.85)}footer hr{border-color:rgba(0,0,0,0.1)!important}.l-card{border-radius:12px!important;overflow:hidden!important}.l-card[data-v-3d378fbe],.l-card[data-v-754e1ea4-s]{background:rgba(255,255,255,0.7)!important;box-shadow:0 1px 3px rgba(0,0,0,0.08)!important;transition:background 0.3s ease,box-shadow 0.3s ease!important}.l-card[data-v-3d378fbe]:hover,.l-card[data-v-754e1ea4-s]:hover{background:rgba(255,255,255,0.85)!important;box-shadow:0 4px 20px rgba(0,0,0,0.15)!important}#app>article>h2,#app>article>ul:not(:last-child){background:rgba(255,255,255,0.7)!important;border-radius:12px!important;padding:16px!important;margin-bottom:16px!important;box-shadow:0 1px 3px rgba(0,0,0,0.08)!important}.l-card{border-radius:12px!important;}.l-card[data-v-3d378fbe],.l-card[data-v-754e1ea4-s],.l-card[data-v-c3407962],.author{background:transparent!important;box-shadow:none!important;transition:background 0.3s ease,box-shadow 0.3s ease!important;border:0.05px solid rgba(220,220,220,0.15) !important;}.l-card[data-v-3d378fbe]:hover,.l-card[data-v-754e1ea4-s]:hover,.l-card[data-v-c3407962]:hover{background:rgba(255,255,255,0.6)!important;box-shadow:0 4px 20px rgba(0,0,0,0.15)!important}.l-card[data-v-c3407962]:has(.row[data-v-1dd53196]):hover{background:transparent!important;box-shadow:none!important}.heat-map-cell.v-popper--has-tooltip[style*="background-color: rgb(232, 232, 232)"]{opacity:0.5}.heat-map-cell:hover{opacity:1}#app>article>h2,#app>article>ul:not(:last-child){background:transparent!important;border-radius:12px!important;padding:16px!important;margin-bottom:16px!important;box-shadow:0 1px 3px rgba(0,0,0,0.08)!important}#app>article>ul:not(:last-child) li{padding:8px 0!important;border-bottom:1px solid rgba(0,0,0,0.06)!important}#app>article>ul:not(:last-child) li:last-child{border-bottom:none!important}.l-card[data-v-0910ec7f]{background:#fff!important;border-radius:12px!important;padding:20px!important;margin:0!important;box-shadow:0 2px 12px rgba(0,0,0,0.15)!important}[data-v-0910ec7f]:not(.l-card){background:transparent!important;border-radius:0!important;padding:0!important;margin:0!important;box-shadow:none!important}main[data-v-f265fec6]{margin-top:0px;}main[data-v-f265fec6]{margin-top:0px}[data-v-f265fec6]{backdrop-filter:brightness(100%)!important}}```:::
:::info[常见背景]请注意图片尺寸对视觉效果带来的未知影响!33 行未改动