The editors' meeting has been canceled for technical reasons.

User:Selfice/sandbox/首页/styles.css:修订间差异

来自NeuroWiki
跳转到导航 跳转到搜索
无编辑摘要
无编辑摘要
 
(未显示同一用户的7个中间版本)
第32行: 第32行:
flex-wrap: wrap;
flex-wrap: wrap;
justify-content: center;
justify-content: center;
}
.grid_block {
display: grid;
grid-template-columns: 1fr 2fr;
gap: 1px; /* 设置列和行之间的间距 */
justify-items: center; /* 内容水平居中 */
align-items: start; /* 内容垂直对齐顶部 */
}
@media (max-width: 960px) {
.grid_block {
grid-template-columns: none; /* 当宽度足够时,手动分配比例 */
}
}
}
.welcome_title{
.welcome_title{
第54行: 第42行:
flex-grow: 1;
flex-grow: 1;
padding: 0.6em;
padding: 0.6em;
flex: 1 1 30%;
flex: 1 1 33%;
}
}
.statisticians_block{
.statisticians_block{
第114行: 第102行:
object-fit: contain;
object-fit: contain;
}
}
@media (max-width: 1654px) {
@media (max-width: 1669px) {
.sidebar_block_img{
.sidebar_block_img{
flex: 1 1 100%;
flex: 1 1 100%;
第124行: 第112行:
}
}
}
}
@media (min-width: 1654px) {
@media (min-width: 1669px) {
.sidebar_block_img{
.sidebar_block_img{
flex: 1 1 30%;
flex: 1 1 33%;
}
}
}
}
第137行: 第125行:
justify-content: center;
justify-content: center;
align-items: center;
align-items: center;
transition:background-color 0.5s ease-out, color 0.5s ease-out;
transition:background-color 0.2s ease-out, color 0.3s ease-out;
cursor:pointer;
cursor:pointer;
margin:3px;
margin:3px;
}
}
.img_button:hover{
.img_button:hover{
border: 3px solid #9944B0;
border: 3px solid #000;
color:#bbaadd;
}
}
.neuro_button_lock{
.neuro_button_lock{
第155行: 第142行:
.neuro_button_lock:hover{
.neuro_button_lock:hover{
background-color: #e3c3ad;
background-color: #e3c3ad;
color:#000;
}
}
.evil_button_lock:hover{
.evil_button_lock:hover{
background-color: #B30239;
background-color: #B30239;
color:#000;
}
}
.neuro_button{
.neuro_button{
第170行: 第159行:
overflow: hidden; /* 隐藏超出部分 */
overflow: hidden; /* 隐藏超出部分 */
text-overflow: ellipsis; /* 使用省略号表示超出部分 */
text-overflow: ellipsis; /* 使用省略号表示超出部分 */
white-space: normal; /* 允许换行 */
word-break: break-all; /* 保证文本不会因没有空格而长单词不换行 */
word-break: break-all; /* 保证文本不会因没有空格而长单词不换行 */
}
}
第187行: 第175行:
color: white;
color: white;
padding-left: 0;
padding-left: 0;
transition:all 0.5s ease-out;
transition:all 0.2s ease-out;
}
}
.page_button a:hover{
.page_button a:hover{
第194行: 第182行:
color: darkcyan;
color: darkcyan;
background-color: #debccd;
background-color: #debccd;
}
#t-collapsible-toggle-all{
display:none;
}
}

2025年1月5日 (日) 15:32的最新版本

.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;
}
.welcome_title{
	font-weight: bold;
	text-align:center;
}
.sidebar_block{
	min-width:300px;
	margin:2px;
	flex-grow: 1;
	padding: 0.6em;
	flex: 1 1 33%;
}
.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: 1669px) {
	.sidebar_block_img{
		flex: 1 1 100%;
	}
}
@media (max-width: 800px) {
	.sidebar_block_img{
		flex: auto;
	}
}
@media (min-width: 1669px) {
	.sidebar_block_img{
		flex: 1 1 33%;
	}
}
.img_button{
	height: 80px;
	color: white;
	font-weight: bold;
	font-size: 32px;
	display: flex;
	justify-content: center;
	align-items: center;
	transition:background-color 0.2s ease-out, color 0.3s ease-out;
	cursor:pointer;
	margin:3px;
}
.img_button:hover{
	border: 3px solid #000;
}
.neuro_button_lock{
	background-color: #e3baad;
	border: 3px solid #e3baad;
}
.evil_button_lock{
	background-color: #b30256;
	border: 3px solid #b30256;
}
.neuro_button_lock:hover{
	background-color: #e3c3ad;
	color:#000;
}
.evil_button_lock:hover{
	background-color: #B30239;
	color:#000;
}
.neuro_button{
	background-color: #e3c3ad;
	border: 3px solid #e3c3ad;
}
.evil_button{
	background-color: #B30239;
	border: 3px solid #B30239;
}
.synopsis{
	overflow: hidden; /* 隐藏超出部分 */
	text-overflow: ellipsis; /* 使用省略号表示超出部分 */
	word-break: break-all; /* 保证文本不会因没有空格而长单词不换行 */
}
.page_button{
	display: flex;
	justify-content: center;
}
.page_button a{
	background-color: #eeccdd;
	width: 100%;
	display: flex;
	justify-content: center;
	height: 100px;
	align-items: center;
	font-size: 24px;
	color: white;
	padding-left: 0;
	transition:all 0.2s ease-out;
}
.page_button a:hover{
	text-decoration: none;
	padding-left: 50%;
	color: darkcyan;
	background-color: #debccd;
}
#t-collapsible-toggle-all{
	display:none;
}