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

来自NeuroWiki
跳转到导航 跳转到搜索
无编辑摘要
无编辑摘要
 
(未显示同一用户的121个中间版本)
第1行: 第1行:
.base_block {
.base_block {
max-width: 1600px;
padding: 15px;
padding: 1.6em;
margin: 0.8em auto;
margin: 0.8em auto;
background-color: rgba(255, 255, 255, 0.1);
background-color: rgba(255, 255, 255, 0.1);
box-shadow: 0 2px 5px #aaa;
box-shadow: 0 2px 5px #aaa;
}
.mw-indicators{
display:none;
}
.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;
}
.news{
clear: both;
text-align: left;
flex: 1 1 auto;
max-height:400px;
overflow-y: scroll;
}
}
@media (min-width: 1500px) {
.welcome_title{
font-size: 36px;
}
.news{
clear: both;
text-align: left;
flex: 1 1 0;
overflow-y: scroll;
}
}
}
.flex_block{
.flex_block{
display: flex;
display: flex;
flex-wrap: wrap;
flex-wrap: wrap;
width:100%;
height:100%;
justify-content: center;
justify-content: center;
}
}
.video_block{
.welcome_title{
position: relative;  
font-weight: bold;
box-shadow: 0 2px 5px #aaa;
text-align:center;
max-width: 800px;
}
transition: transform 0.3s ease-in-out;
.sidebar_block{
overflow: hidden;
min-width:300px;
margin:2px;
flex-grow: 1;
padding: 0.6em;
flex: 1 1 33%;
}
.sidebar_block ul{
flex: 1;
}
.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;
}
}
.video_block:hover {
.title_h2_evil{
box-shadow: 1px 5px 8px #aaa;
font-size: 1.5em;
animation: float 4s infinite ease-in-out;
border-left: 8px solid #b30239;
padding-left: 5px;
font-weight: 900;
}
}
.video_block .neuro-button{
.style_button{
position: absolute;
width: 100%;
width: 0;
background-color: var(--twitch-purple);
height: 40px;
color: #fff;
overflow: hidden;
transition: all 0.2s ease;
white-space: nowrap;
}
background-color: rgba(150, 50, 220, 0.4);
.style_button:hover{
color: white;
background-color: var(--twitch-purple-2);
padding: 0;
box-sizing: border-box;
transition: width 1.2s ease-in-out, padding 2.3s ease-in-out, height 0.3s ease-in-out, transform 0.3s ease-in-out;
font-size: 24px;
text-align: center;
}
}
.video_block:hover .neuro-button{
.style_button a{
width: 120px;
width: 100%;
padding: 3px;
padding: 3px;
padding-left:6px;
color: #fff;
padding-right:6px;
display: flex;
justify-content: center;
font-size: 16px;
}
.sidebar_block_img{
padding: 0;
}
}
.video_block .neuro-button:hover{
.sidebar_block_img .item-img div .mw-halign-center span img{
height: 60px;
width: 100%;
padding: 9px;
height: 100%;
object-fit: contain;
}
}
.video_block #neuro{
@media (max-width: 1669px) {
top: 55%;
.sidebar_block_img{
right: 5%;
flex: 1 1 100%;
animation: float-neuro 0.35s infinite ease-in-out;
}
.sidebar_block_img > div{
max-width: 450px;
position: relative;
margin: 0 auto
}
}
}
.video_block #evil{
@media (max-width: 800px) {
top: 53%;
.sidebar_block_img{
left: 18%;
flex: auto;
animation: float-evil 0.27s infinite ease-in-out;
}
}
}
.video_block #vedal{
@media (min-width: 1669px) {
top: 25%;
.sidebar_block_img{
right: 25%;
flex: 1 1 33%;
animation: float-vedal 0.41s infinite ease-in-out;
}
}
}
.video_block * a{
 
.img_button{
height: 80px;
color: white;
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;
}
}
.video_block * a.new{
.neuro_button_lock{
color: white;
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;
}
}
@keyframes float {
.evil_button_lock:hover{
0%, 100% {
background-color: #B30239;
transform: translateY(0);
color:#000;
}
50% {
transform: translateY(-10px);
}
}
}
@keyframes float-neuro {
.neuro_button{
0%, 100% {transform: translate(0px, 0px);}
background-color: #e3c3ad;
50% {transform: translate(1px, -1.67px);}
border: 3px solid #e3c3ad;
80% {transform: translate(-1.67px, 0.83px);}
}
}
@keyframes float-evil {
.evil_button{
0%, 100% {transform: translate(0px, 0px);}
background-color: #B30239;
30% {transform: translate(-0.83px, 1px);}
border: 3px solid #B30239;
70% {transform: translate(1.67px, -1.67px);}
}
}
@keyframes float-vedal {
.synopsis{
0%, 100% {transform: translate(0px, 0px);}
overflow: hidden; /* 隐藏超出部分 */
40% {transform: translate(-1.03px, 0.7px);}
text-overflow: ellipsis; /* 使用省略号表示超出部分 */
50% {transform: translate(1.67px, 1px);}
word-break: break-all; /* 保证文本不会因没有空格而长单词不换行 */
90% {transform: translate(-0.83px, -1.67px);}
}
}
.video_block .mw-default-size span img {
.page_button{
max-width: 100%;
display: flex;
height: 100%;
justify-content: center;
object-fit: contain;
}
}
.video_block .progress_bar{
.page_button a{
position: absolute;
background-color: #eeccdd;
bottom: 0;
width: 100%;
width: 100%;
height: 0;
display: flex;
justify-content: center;
height: 100px;
align-items: center;
font-size: 24px;
color: white;
color: white;
text-align: center;
padding-left: 0;
background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
transition:all 0.2s ease-out;
transition: height 0.3s ease-in-out, transform 0.3s ease-in-out;
}
}
.video_block:hover .progress_bar{
.page_button a:hover{
height: 64px;
text-decoration: none;
padding-left: 50%;
color: darkcyan;
background-color: #debccd;
}
}
.video_block .progress_bar .bar{
#t-collapsible-toggle-all{
position: absolute;
display:none;
top: 22px;
left: 2.5%;
width: 95%;
height: 4px;
color: white;
text-align: center;
background-color: rgba(255, 255, 255, 0.8);
}
}
.dOOPAe {
.synopsis_2{
position: absolute;
display: flex;
top: 26px;
flex-direction: column;
left: 24px;
justify-content: space-around;
color: white;
font-size: 20px;
text-align: center;
}
}
.dO1PAe {
.container_character_page {
position: absolute;
width: 100%;
top: 4px;
overflow: hidden;
left: 20px;
display: flex;
color: white;
justify-content: space-evenly;
text-align: center;
flex-wrap: wrap;
}
}
.sidebar_block{
.scroll-content_page{
min-width:220px;
display: flex;
margin:0;
flex-wrap: wrap;
flex-grow: 1;
align-content:center;
padding: 0;
justify-content: center;
}
}
.flex_button{
.cdx-button.edit-button {
min-width:150px;
font-family:sans-serif;
max-width:200px;
font-size: 1rem;
height:150px;
float: right;
flex-grow: 1;
}
}

2025年4月16日 (三) 16:23的最新版本

.base_block {
	padding: 15px;
	margin: 0.8em auto;
	background-color: rgba(255, 255, 255, 0.1);
	box-shadow: 0 2px 5px #aaa;
}
.mw-indicators{
	display:none;
}
.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;
	}
	.news{
		clear: both;
		text-align: left;
		flex: 1 1 auto;
		max-height:400px;
		overflow-y: scroll;
	}
}
@media (min-width: 1500px) {
	.welcome_title{
		font-size: 36px;
	}
	.news{
		clear: both;
		text-align: left;
		flex: 1 1 0;
		overflow-y: scroll;
	}
}
.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%;
}
.sidebar_block ul{
	flex: 1;
}
.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%;
	}
	.sidebar_block_img > div{
		max-width: 450px;
		position: relative;
		margin: 0 auto
	}
}
@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;
}
.synopsis_2{
	display: flex;
	flex-direction: column;
	justify-content: space-around;
}
.container_character_page {
	width: 100%;
	overflow: hidden;
	display: flex;
	justify-content: space-evenly;
	flex-wrap: wrap;
}
.scroll-content_page{
	display: flex;
	flex-wrap: wrap;
	align-content:center;
	justify-content: center;
}
.cdx-button.edit-button {
	font-family:sans-serif;
	font-size: 1rem;
	float: right;
}