优化了一些几乎是公认的 lifan 整的比较鸡肋的花活。
所以这个八中 OJ 怎么这么丑陋 by xsc062
Details
Authorxsc062
LicenseCC Zero
CategoryCQBZOJ
Created
Updated
Size6.2 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 所以这个八中 OJ 怎么这么丑陋
@version 20221009.13.21
@namespace userstyles.world/user/xsc062
@description 优化了一些几乎是公认的 lifan 整的比较鸡肋的花活。
@author xsc062
@license CC Zero
==/UserStyle== */
/* ==UserStyle==
@name 所以这个八中 OJ 怎么这么丑陋
@version 221005.18.45
@namespace userstyles.world/user/xsc062
@description 优化了一些几乎是公认的 lifan 整的比较鸡肋的花活。
@author xsc062
@license CC Zero
==/UserStyle== */
@-moz-document url-prefix("http://222.180.160.110:1024/team") {
div.ui.large.label > img:first-child+a{
opacity: 1 !important;
}
div.ui.large.label {
color: rgb(105, 105, 105);
background-color: rgb(241, 241, 241);
}
div.ui.large.label:hover {
background-color: rgb(211, 211, 211);
}
div.ui.large.label {
margin-top: 2mm;
}
.eleven.wide.column>div:first-child+h4, .eleven.wide.column>div:first-child+h4+div{
display: none !important;
}
.eleven.wide.column>div:first-child+h4+div+h4{
margin-top: -.5mm !important;
}
img[src*=login_logo] {
margin-left: 45px !important;
margin-right: 15px !important;
}
}
@-moz-document regexp("http://222.180.160.110:1024/") {
div.eleven.wide.column > div:first-child {
display: none;
}
div.eleven.wide.column > div:first-child + h4 {
margin-top: -.5mm !important;
}
.right.floated.five.wide.column > h4:first-child + div + h4 + div {
height: 165px !important;
}
.right.floated.five.wide.column > h4:first-child + div + h4 + div + h4 + div + h4 + div + h4 + div + style + script + h4,
.right.floated.five.wide.column > h4:first-child + div + h4 + div + h4 + div + h4 + div + h4 + div + style + script + h4 + div,
.right.floated.five.wide.column > h4:last-of-type,
.right.floated.five.wide.column > div:last-child {
display: none;
}
#score-distribution-chart, .box.box-info, .eleven.wide.column>div:first-child+script+script+div+div+script+div+div+script+h4+div+h4, .eleven.wide.column>div:first-child+script+script+div+div+script+div+div+script+h4+div+h4+div {
display: none !important;
}
.eleven.wide.column>div:first-child+script+script+div+div+script+div+div+script+h4 {
margin-top:-21px;
}
span.status.wrong_answer {
/*
这个用 Wrong Answer 做的 NOIP 2022 是什么鬼啊
而且 NOIP 2022 也不在这个时候吧????
*/
margin-left: 1mm;
margin-right: 1mm;
}
.ui.red.icon.message>.header>p {
margin-top: -5px;
margin-bottom: 4px;
}
.right>h4+div[style*=overflow-y] {
height: 120px !important;
}
}
@-moz-document url-prefix("http://222.180.160.110:1024/article") {
p{
/* margin-top: revert !important; */
margin: 0mm 0mm 3mm 0mm !important;
}
.ui.simple.dropdown.item>a>p{
margin: 0mm 0mm -1.5mm 0mm !important;
}
div.font-content>div:first-child{
overflow: unset !important;
}
a.ui.mini.red.right.floated.labeled.icon.button{
margin: -4px 0px 0px 0px !important;
}
.padding>p:first-of-type>b:first-of-type+b+b+b{
display: none !important;
}
.ui.comments {
background-color: rgba(242, 246, 249, .79) !important;
padding: 25px;
box-shadow: 0px 1.6px 1.6px rgba(0, 0, 0, .13), 0px 0px 2.9px rgba(0, 0, 0, .17) !important;
margin-top: -20px;
}
}
@-moz-document url-prefix("http://222.180.160.110:1024/discussion/") {
table{
table-layout:fixed !important;
white-space: unset !important;
}
table>tbody>tr>td:first-child+td{
text-align:right !important;
}
th:last-child,td:last-child{
display:none !important;
}
.ui.header>a{
font-size: 10px !important;
margin-left: .1mm !important;
margin-top: unset !important;
}
}
@-moz-document url-prefix("http://222.180.160.110:1024/") {
table {
background-color: rgba(255, 255, 255, .87) !important;
padding: 25px;
box-shadow: 0px 1.6px 1.6px rgba(0, 0, 0, .17), 0px 0px 2.9px rgba(0, 0, 0, .17) !important;
}
body {
background: linear-gradient(rgba(255, 255, 255, .72), rgba(255, 255, 255, .72)), url(/bg.svg) !important;
}
.ui.message{
padding-top: 1em;
padding-right: 1.2em;
padding-bottom: .5em;
padding-left: 1.2em;
}
.ui.existing.segment{
padding-top: 1em;
padding-right: 1.2em;
padding-bottom: .5em;
padding-left: 1.2em;
}
pre{
margin-bottom: .3em !important;
}
pre.CodeMirror-line{
margin-bottom: unset !important;
}
p>code{
font-weight: unset !important;
font-size: 14px !important;
color: rgb(78, 78, 78) !important;
line-height: 17px;
margin-bottom: 1.5px !important;
border-radius: .1em !important;
}
.ui.container>a:first-child+a {
margin-left: 40px !important;
}
.ui.container>a>img, a[href$=forecast], .ui.container>a[href$=schedules], .ui.container>a[href$=corrections], .ui.container>a[href*=article], a[href*=exercise], a[href*=chat], a[href*=people], a[href*=team] {
display: none !important;
}
.item[href$=ndar] {
margin-left: -30px;
}
}
@-moz-document url-prefix("http://222.180.160.110:1024/user/") {
.sixteen.wide.column > div:first-child > div:first-child + div{
width: 0% !important;
display: none !important;
}
.sixteen.wide.column > div:first-child > div:first-child{
width: unset !important;
}
}
@-moz-document regexp("http://222.180.160.110:1024/contests"), regexp("http://222.180.160.110:1024/corrections") {
.inline.fields>a:first-child {
color: rgb(106,106, 106) !important;
background-color: rgb(204, 204, 204);
height: 30px;
width: 85px;
border-radius: .3em !important;
}
.inline.fields>a:first-child:hover {
background-color: rgb(190, 190, 190);
}
.inline.fields>a:first-child>i{
color: rgb(106,106, 106) !important;
margin-top: 1.5mm !important;
margin-left: 2.5mm !important;
}
}
@-moz-document url-prefix("http://222.180.160.110:1024/problems") {
td>a[style~=orange] {
background-color: unset !important;
color: rgb(161, 161, 161) !important;
}
}
@-moz-document url-prefix("http://222.180.160.110:1024/contest/") {
.ui.container>a:first-child+a {
margin-left: 40px !important;
}
a#back_to_contest {
display: none !important;
}
}