打开/关闭菜单
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

Template:OtmRanking/brick.css

模板页面
/*css变量定义,适配暗色模式*/
:root {
	--rank-color: rgba(0,0,0,0.1);
}
@media screen {
	html.skin-theme-clientpref-night {
		--rank-color: rgba(255,255,255,0.1);
	}
}
@media screen and (prefers-color-scheme: dark) {
	html.skin-theme-clientpref-os {
		--rank-color: rgba(255,255,255,0.1);
	}
}

.otm-ranking {
	font-size: 85px;
    font-weight: 900;
    position: absolute;
    right: 35px;
    top: 40px;
    color: var(--rank-color);
    line-height: 1em;
    font-family: 'Montserrat';
    user-select:none;
}

.otm-image img {
	height:130px;
}

.otm-score {
	font-size: 60px;
    color: var(--rank-color);
    line-height: 1em;
    font-family: 'Montserrat';
    user-select:none;
}

.otm-outside-box {
    display: grid;
	min-width: 20%;
    padding: 15px 15px 15px 15px;
    margin: 5px;
    box-shadow: var(--omw-surface-box-shadow);
    border: 1px solid;
    border-color: var(--omw-surface-border-color);
    border-radius: 8px;
    word-break: break-all;
	overflow: auto;
	position: relative;
}

.otm-inside-box {
	background: #FB7299;
    border-radius: 100px;
    color: white;
    padding: 0 10px;
    font-size: 14px;
    margin-top: 10px;
}

.otm-inside-box a {
	background: none!important;
    padding-right: 0px!important;
    color: white!important;
    box-sizing: border-box!important;
}

.otm-inside-box p{
	margin: 0;
}

.otm-image {
	border-radius: 6px;
    width: 208px;
    min-width: 208px;
	height: 130px;
	overflow:hidden;
	cursor: default;
	align-items: center;
	text-align: center;
}

.otm-title {
	font-size: 25px;
	font-weight:bold;
	line-height: 1em;
    margin-top: 5px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

@media all and (max-width: 850px){
	.otm-outside-box {
		padding: 7px;
		align-items: center;
	}
	.otm-inside-box {
		margin-top: 5px;
		font-size: 12px;
		padding: 0 7px;
	}
	.otm-image {
		display: none;
	}
	.otm-title {
		font-size: 20px;
	}
	.otm-score {
		font-size: 40px;
	}
	.otm-ranking {
		font-size: 45px;
	}
}