Hydro/vijos美化

给开源Vijos(vj4)和Hydro(vj5)等OJ圆角并改了个背景

目前为 2024-02-14 提交的版本。查看 最新版本

/* ==UserStyle==
@name			Hydro/vijos美化
@namespace		https://hydro.ac
@author			Leo2011
@description 	给开源Vijos(vj4)和Hydro(vj5)等OJ圆角并改了个背景
@version        4.0.0
@license      	CC-BY-NC-SA-4.0
@preprocessor 	uso
@advanced dropdown backpic "背景图片" {
    undefined "默认*" <<<EOT https://pic.imgdb.cn/item/62df71a5f54cd3f9376f351d.jpg EOT;

	backpic-custom-dropdown "自定义" <<<EOT /*[[backpic-custom]]*\/ EOT;
}
@advanced text backpic-custom "背景图片 (请先选择自定义模式)" "https://example.com/image.png"
@advanced text per "透明度(0为完全透明,1为不透明,默认为0.95,推荐为0.9~1之间)" "0.95"
==/UserStyle== */
@-moz-document domain("hydro.ac"),
domain("yundouxueyuan.com"),
domain("oiclass.com"),
domain("vijos.org"),
domain("wonderland.run"),
domain("wonderpython.run") {
	.main {
		background-image: url(/*[[backpic]]*/) !important;
		/*把这链接改成你想要的背景吧~记得开图床哟~Change the URL To Your Background!*/
		background-size: cover !important;
		background-attachment: fixed !important;
	}
	.section {
		border-radius: 10px;
	}
	.button,
	.dropdown .menu {
		border-radius: 10px;
	}
	body {
		font-family: -apple-system, BlinkMacSystemFont, "San Francisco Display", "San Francisco", "Helvetica Neue", "Noto Sans", "Noto Sans CJK SC", "Noto Sans CJK", "Source Han Sans", "PingFang SC", "Segoe UI", "Microsoft YaHei", sans-serif;
	}
	.user-profile-badge {
		border-radius: 7px;
		box-shadow: 0px 1px 3px #656565;
	}
	data-tooltip,
	.data-tooltip,
	span.time.relative.tooltip {
		border-radius: 10px;
	}
	input.textbox,
	textarea.textbox,
	time relative tooltip drop-target drop-element-attached-bottom drop-element-attached-center drop-target-attached-top drop-target-attached-center {
		border-radius: 10px;
	}
	.search > input {
		border-radius: 10px 0px 0px 0px;
	}
	.search > button {
		border-radius: 0px 10px 0px 0px;
	}
	.bp4-tag.bp4-minimal:not([class *= bp4-intent-]) {
		border-radius: 10px;
	}
	.problem__tag-link,
	.select-container.compact .select,
	.select.compact {
		border-radius: 10px;
	}
	pre[class *= language-],
	.autocomplete-wrapper {
		border-radius: 10px;
	}
	.section__table-header {
		border-radius: 10px 10px 0 0;
	}
	div.code-toolbar > .toolbar > .toolbar-item > a,
	div.code-toolbar > .toolbar > .toolbar-item > button,
	div.code-toolbar > .toolbar > .toolbar-item > span {
		border-radius: 0 0 0 10px;
	}
	.contest-sidebar__bg {
		border-radius: 7px 7px 0 0;
	}
	blockquote {
		border-radius: 7px;
		box-shadow: 2px 3px 3px #aaa;
	}
	#status > .section__header {
		padding: 0.78125rem .9375rem;
	}
	#app > .main-container > .header-layout.tiny[data-v-7958fe72] {
		height: 60px;
		z-index: 999;
		margin-left: -10%;
		padding-left: 10%;
		background-color: #ffffff4a !important;
		-webkit-backdrop-filter: blur(10px) !important;
		backdrop-filter: blur(10px) !important;
		font-weight: bolder;
	}
	.columns{
        opacity: /*[[per]]*/;
    }
    .slideout-menu{
        opacity: /*[[per]]*/;
    }
}

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址