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

跳转到导航 跳转到搜索
无编辑摘要
无编辑摘要
 
(未显示同一用户的140个中间版本)
第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;
}
}
.base_block .video_block{
.mw-indicators{
position: relative;  
display:none;
box-shadow: 0 2px 5px #aaa;
}
max-width: 800px;
.base_block_main{
transition: transform 0.3s ease-in-out;
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;
}
}
.base_block .video_block:hover {
.title_h2_neuro{
box-shadow: 1px 5px 8px #aaa;
font-size: 1.5em;
animation: float 4s infinite ease-in-out;
border-left: 8px solid #e3c3ad;
padding-left: 5px;
font-weight: 900;
}
}
.base_block .video_block .neuro-button{
.title_h2_evil{
position: absolute;
font-size: 1.5em;
width: 0;
border-left: 8px solid #b30239;
height: 36px;
padding-left: 5px;
overflow: hidden;
font-weight: 900;
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;
}
}
.base_block .video_block:hover .neuro-button{
.style_button{
width: 120px;
width: 100%;
padding: 3px;
background-color: var(--twitch-purple);
padding-left:6px;
color: #fff;
padding-right:6px;
transition: all 0.2s ease;
animation: float-left 0.35s infinite ease-in-out;
}
}
.base_block .video_block .neuro-button:hover{
.style_button:hover{
height: 40px;
background-color: var(--twitch-purple-2);
padding: 6px;
}
}
.base_block .video_block #neuro{
.style_button a{
top: 55%;
width: 100%;
right: 5%;
padding: 3px;
color: #fff;
display: flex;
justify-content: center;
font-size: 16px;
}
}
.base_block .video_block * a{
.sidebar_block_img{
color: white;
padding: 0;
}
}
.base_block .video_block * a.new{
.sidebar_block_img .item-img div .mw-halign-center span img{
color: white;
width: 100%;
height: 100%;
object-fit: contain;
}
}
@keyframes float {
@media (max-width: 1669px) {
0%, 100% {
.sidebar_block_img{
transform: translateY(0);
flex: 1 1 100%;
}
}
50% {
.sidebar_block_img > div{
transform: translateY(-10px);
max-width: 450px;
position: relative;
margin: 0 auto
}
}
}
}
@keyframes float-left {
@media (max-width: 800px) {
0%, 100% {
.sidebar_block_img{
transform: translateX(0);
flex: auto;
transform: translateY(0);
}
}
50% {
}
transform: translateY(-5px);
@media (min-width: 1669px) {
transform: translateX(-2px);
.sidebar_block_img{
}
flex: 1 1 33%;
80% {
transform: translateX(-3px);
transform: translateY(-2.5px);
}
}
}
}
.base_block .video_block p .mw-default-size span img {
 
max-width: 100%;
.img_button{
height: 100%;
height: 80px;
object-fit: contain;
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;
}
}
.video_block .progress_bar{
.page_button a{
position: absolute;
background-color: #eeccdd;
bottom: 0;
width: 100%;
width: 100%;
height: 64px;
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;
}
}
.video_block .progress_bar .bar{
.page_button a:hover{
position: absolute;
text-decoration: none;
top: 22px;
padding-left: 50%;
left: 2.5%;
color: darkcyan;
width: 95%;
background-color: #debccd;
height: 4px;
}
color: white;
#t-collapsible-toggle-all{
text-align: center;
display:none;
background-color: rgba(255, 255, 255, 0.8);
}
.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;
}
}
.dOOPAe {
.scroll-content_page{
position: absolute;
display: flex;
bottom: 6px;
flex-wrap: wrap;
left: 24px;
align-content:center;
color: white;
justify-content: center;
font-size: 20px;
text-align: center;
}
}
.dO1PAe {
.cdx-button.edit-button {
position: absolute;
font-family:sans-serif;
top: 4px;
font-size: 1rem;
left: 20px;
float: right;
color: white;
text-align: center;
}
}