The editors' meeting has been canceled for technical reasons.

User:Selfice/sandbox/首页/styles.css

来自NeuroWiki
跳转到导航 跳转到搜索
.base_block {
	padding: 15px;
	margin: 0.8em auto;
	background-color: rgba(255, 255, 255, 0.1);
	box-shadow: 0 2px 5px #aaa;
}
.base_block_main{
	max-width: 1600px;
}
.base_100_img{
	margin:0;
	padding:3px;
}
.base_100_img span img{
	width: 100%;
	height: 100%;
	object-fit: contain;
	max-height: 108px;
}
@media (max-width: 1500px) {
	.welcome_title{
		font-size: 32px;
	}
}
@media (min-width: 1500px) {
	.welcome_title{
		font-size: 36px;
	}
}
.flex_block{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.grid_block {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* 响应式列宽 */
    gap: 10px; /* 设置列和行之间的间距 */
    justify-items: center; /* 内容水平居中 */
    align-items: start; /* 内容垂直对齐顶部 */
}
.welcome_title{
	font-weight: bold;
	text-align:center;
}
.sidebar_block{
	min-width:300px;
	margin:2px;
	flex-grow: 1;
	padding: 0.6em;
	flex: 1 1 30%;
}
.statisticians_block{
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	gap: 10px;
}
.statisticians_left{
	flex: 1 1 0;
	display: flex;
}
.statisticians_right{
	flex: 1 1 0;
	float: right;
	text-align: right;
}
.title_h2{
	font-size: 1.5em;
	border-left: 8px solid var(--twitch-purple);
	padding-left: 5px;
	font-weight: 900;
}
.title_h2_neuro{
	font-size: 1.5em;
	border-left: 8px solid #e3c3ad;
	padding-left: 5px;
	font-weight: 900;
}
.title_h2_evil{
	font-size: 1.5em;
	border-left: 8px solid #b30239;
	padding-left: 5px;
	font-weight: 900;
}
.style_button{
	width: 100%;
	background-color: var(--twitch-purple);
	color: #fff;
	transition: all 0.2s ease;
}
.style_button:hover{
	background-color: var(--twitch-purple-2);
}
.style_button a{
	width: 100%;
	padding: 3px;
	color: #fff;
	display: flex;
	justify-content: center;
	font-size: 16px;
}
.sidebar_block_img{
	padding: 0;
}
.sidebar_block_img .item-img div .mw-halign-center span img{
	width: 100%;
	height: 100%;
	object-fit: contain;
}
@media (max-width: 1654px) {
	.sidebar_block_img{
		flex: 1 1 100%;
	}
}
@media (max-width: 800px) {
	.sidebar_block_img{
		flex: auto;
	}
}
@media (min-width: 1654px) {
	.sidebar_block_img{
		flex: 1 1 30%;
	}
}
.img_button{
	height: 80px;
    color: white;
    font-weight: bold;
    font-size: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition:background-color 0.5s ease-out;
    cursor:pointer;
    margin:3px;
}
.img_button:hover{
	border: 3px solid yellow;
}
.neuro_button_lock{
    background-color: #e3baad;
}
.evil_button_lock{
    background-color: #b30256;
}
.neuro_button_lock:hover{
    background-color: #e3c3ad;
}
.evil_button_lock:hover{
    background-color: #B30239;
}
.neuro_button{
    background-color: #e3c3ad;
}
.evil_button{
    background-color: #B30239;
}
.synopsis{
	overflow: hidden; /* 隐藏超出部分 */
	text-overflow: ellipsis; /* 使用省略号表示超出部分 */
	white-space: normal; /* 允许换行 */
	word-break: break-all; /* 保证文本不会因没有空格而长单词不换行 */
}