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

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

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;
}