Skip to content

cbs's wzoi UI by cbs001

Screenshot of cbs's wzoi UI

Details

Authorcbs001

LicenseNo License

Categorywzoi.cc

Created

Updated

Size7.2 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Nothing.

Notes

Nothing.

Source code

/* ==UserStyle==
@name         Smart_WZOI
@version      114.514.1919810
@namespace    https://userstyles.world/user/cbs001
==/UserStyle== */
@-moz-document regexp("(http|https)://(wzoi.cc|python.wzms.com).*") {
	.dropdown-menu.dropdown-menu-right.show {
		width: 180px !important;
	}
	.container.text-center {
		display: none;
	}
	/*---------------------侧栏---------------------*/
	nav#left-navbar {
		border-radius: 15px;
		margin-bottom: 290px !important;
	}
	/*调节位置*/
	a.navbar-brand {
		transform: translateX(3px) !important;
	}
	a.nav-link {
		transform: translateX(8px) !important;
	}
	div#navbar-collapse {
		transform: translateX(-5px) !important;
	}
	/*侧边栏呼出(自行选择是否开启)*/
	/*
	nav#left-navbar {
        transition: all .2s ease;
        margin-left: -70px;
    }
    nav#left-navbar:hover {
        margin-left: 0px;
    }
	*/
	/*此段代码参考了smart-luogu*/
	ul.navbar-nav > li.nav-item {
		position: relative;
		transition: all .1s ease;
	}
	ul.navbar-nav > li.nav-item:hover {
		background: #0000000f;
		border-radius: 8px;
	}
	ul.navbar-nav > li.nav-item::after {
		content: "";
		width: 0;
		height: 2px;
		background: rgba(255, 0, 0, .63);
		position: absolute;
		top: 100%;
		left: 50%;
		transition: all .35s;
	}
	ul.navbar-nav > li.nav-item:hover::after {
		left: 0%;
		width: 100%;
	}
	/*---------------------主界面---------------------*/
	/*图片背景*/
	html.h-100 > body {
		background-image: url(https://s2.ax1x.com/2019/08/01/ea5j4H.jpg) !important;
		background-repeat: no-repeat;
		background-size: cover;
		background-position: center;
		background-attachment: fixed;
	}
	/*超链接动画*/
	a {
		transition: all .15s ease;
		text-decoration: none !important;
	}
	a:hover {
		color: #fa4b4b;
	}
	/*卡片微微透明*/
	ol.breadcrumb {
		background: #ffffffe8 !important;
	}
	.card {
		background: #ffffffe8 !important;
	}
	.card-body {
		background: #ffffffe8 !important;
	}
	/*底部*/
	.container.h-100 {
		background: #ffffffad !important;
		padding: 12px;
		/*大圆角*/
		border-radius: 15px;
		margin-top: 5px;
	}
	/*登录*/
	h2.form-signin-heading {
		background: #0000 !important;
	}
	/*---------------------比赛界面---------------------*/
	/*顶部信息栏*/
	ol.breadcrumb {
		background: #ffffff94 !important;
		border-width: 0;
		/*小圆角*/
		border-radius: 5px;
	}
	h6.text-center {
		background: #fff0 !important;
		border-width: 0;
		transition: all .2s ease;
	}
	h6.text-center:hover {
		background: #0002 !important;
	}
	.card.mb-1 {
		background: #fff0 !important;
		border-width: 0;
		transition: all .2s ease;
	}
	.card.mb-1:hover {
		background: #0001 !important;
	}
	.card-body.text-center {
		background: #fff0 !important;
		border-width: 0;
		transition: all .2s ease;
	}
	/*比赛顶部*/
	thead {
		background: #ffffff9c !important;
	}
	/*AC标记*/
	span.fa.fa-check {
		padding: 5px;
		transition: all .3s ease;
		background: #fff0;
	}
	span.fa.fa-check:hover {
		background: #b6ffb6 !important;
		box-shadow: 0px 0px 3px #b6ffb6;
	}
	/*题目标签*/
	span.badge.badge-secondary {
		transition: all .2s ease;
		background: #737373 !important;
		box-shadow: 0px 0px 5px #00000029;
	}
	span.badge.badge-secondary:hover {
		background: #4bca4f !important;
		box-shadow: 0px 0px 8px #0000004f;
	}
	/*---------------------题目界面---------------------*/
	/*底部*/
	div#problem {
		background: #ffffffad;
		padding: 15px;
		/*大圆角*/
		border-radius: 25px;
	}
	/*字的背景色*/
	p, .row > .col-sm-12 > div[style] > div:not(.w-100.text-center) {
		background: #ffffffd0;
		padding: 10px;
		transition: all .1s ease;
		margin-top: -4px;
		margin-bottom: 10px;
		/*小圆角*/
		border-radius: 3px;
	}
	p:hover {
		background: #fff;
	}
	h2 {
		background: #ffffffe8 !important;
		padding: 8px;
	}
	h3 {
		background: #ffffffe8 !important;
		padding: 8px;
	}
	h4 {
		margin-bottom: 15px !important;
	}
	h5 {
		background: #ffffffe8 !important;
		padding: 8px;
	}
	h6 {
		background: #ffffffe8 !important;
		padding: 8px;
	}
	td {
		background: #ffffffe8 !important;
		padding: 8px;
	}
	text {
		margin-bottom: 20px !important;
	}
	span {
		background: #fff0 !important;
		border-width: 0;
	}
	/*样例输入输出*/
	pre.sample_io {
		background: #ffffffe8 !important;
		transition: all .2s ease;
	}
	pre.sample_io:hover {
		background: #efefefe8 !important;
	}
	pre.sample_io:active {
		background: #e6e6e6e6 !important;
	}
	/*选择信息*/
	input#problemset_id {
		transition: all .2s ease;
	}
	input#problemset_id:hover {
		background: #f5f5f5e8 !important;
	}
	input#user_name {
		transition: all .2s ease;
	}
	input#user_name:hover {
		background: #f5f5f5e8 !important;
	}
	input#problem_id {
		transition: all .2s ease;
	}
	input#problem_id:hover {
		background: #f5f5f5e8 !important;
	}
	input#score_min {
		transition: all .2s ease;
	}
	input#score_min:hover {
		background: #f5f5f5e8 !important;
	}
	input#score_max {
		transition: all .2s ease;
	}
	input#score_max:hover {
		background: #f5f5f5e8 !important;
	}
	select#language:hover {
		background: #f5f5f5e8 !important;
	}
	select#status:hover {
		background: #f5f5f5e8 !important;
	}
	/*提交界面底部*/
	tbody {
		background: #fff7 !important;
	}
	/*页面切换*/
	ul#problemTabs > li.nav-item > a {
		position: relative;
		transition: all .1s ease;
	}
	ul#problemTabs > li.nav-item > a::after {
		content: "";
		width: 0;
		height: 2px;
		background: rgba(255, 0, 0, .63);
		position: absolute;
		top: 100%;
		left: 50%;
		transition: all .3s;
	}
	ul#problemTabs > li.nav-item > a:hover::after {
		left: 0%;
		width: 100%;
	}
	/*图片缩放控制*/
	img {
		max-width: 100%;
	}
	/*---------------------排名界面---------------------*/
	a.user-badge.badge.badge-light {
		padding: 10px;
		border-radius: 100px;
		background: #fff0 !important;
	}
	a.user-badge.badge.badge-light:hover {
		background: #0002 !important;
	}
	div[style] {
		/*强制换行*/
		word-break: break-all;
	}
	.table-responsive {
		border-radius: 5px;
	}
}

@-moz-document url("https://wzoi.cc/") {
	/*删除无用元素*/
	h3:nth-child(1) {
		background: #fff0 !important;
	}
	/*标题居中*/
	h3 {
		margin-top: -33px !important;
		transform: translateX(355px) !important;
		background: #0000 !important;
	}
	/*卡片调节*/
	.card.my-3 {
		margin-top: -1px !important;
		background: #ffffff9c !important;
	}
	.card-header {
		background: #ffffff8a !important;
	}
	/*侧栏(网站公告、相关链接)*/
	.py-1 > .card {
		background: #ffffff8a !important;
		border-radius: 15px;
	}
	.card-body {
		background: #ffffff7d !important;
		border-radius: 15px;
		transition: all .2s ease;
	}
	.card-body:hover {
		background: #ffffffcf !important;
	}
	.card-body > h5 {
		background: #fff0 !important;
	}
	.card-body > p {
		background: #fff0 !important;
	}
}
@-moz-document regexp("(http|https)://(wzoi.cc|python.wzms.com).faq") {
	/* FAQ界面 */
	h3 {
		background: #fff0 !important;
	}
	td {
		background: #ffffff8a !important;
	}
	tbody {
		background: #ffffff8a !important;
		transition: all .2s ease;
	}
	tbody:hover {
		background: #ffffffe6 !important;
		box-shadow: 0px 0px 8px #000;
	}
}

Reviews

No reviews yet.