Skip to content

洛谷禁用难度和标签 by lin1991122

Details

Authorlin1991122

LicenseNo License

Categoryhttps://www.luogu.com.cn/problem

Created

Updated

Size1.1 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

可以隐藏难度大于橙的题目的难度(修改为灰),隐藏所有题目标签(修改为暂无标签)

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name       123
@version    20240819.11.02
@namespace  ?
==/UserStyle== */

@-moz-document url-prefix("https://www.luogu.com.cn/problem") {
span[data-v-263e39b8] {
    visibility: hidden; /* 隐藏原文本内容 */
    position: relative; /* 保持元素的原始布局 */
    display: inline-block;
}

span[data-v-263e39b8]::before {
    content: "暂无评定"; /* 替换为新的文本内容 */
    visibility: visible; /* 显示新的文本 */
    position: absolute;
    right:0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    color: rgb(191, 191, 191) !important; /* 设置文本颜色为灰色 */
    text-align: right; /* 保持原来的对齐方式 */
    line-height: inherit; /* 保持原来的行高 */

}
[data-v-187aafe9][data-v-1143714b][data-v-f9624136] {
  visibility: hidden;
  position: relative;
}

[data-v-187aafe9][data-v-1143714b][data-v-f9624136]::before {
  content: '暂无标签';
  visibility: visible;
  position: absolute;
  top: 0;
  left: 0;
  font-family: inherit;
  color: inherit;
}
[data-v-e4b7c2ca]{display:none!important;}

}

Reviews

No reviews yet.