|
|
(11 intermediate revisions by 2 users not shown) |
Line 1: |
Line 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); |
Line 7: |
Line 7: |
| .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{ |
Line 13: |
Line 46: |
| justify-content: center; | | justify-content: center; |
| } | | } |
| .video_block{ | | .base_block .sidebar_block > p{ |
| position: relative; | | margin:0; |
| box-shadow: 0 2px 5px #aaa;
| |
| max-width: 800px;
| |
| transition: transform 0.3s ease-in-out;
| |
| overflow: hidden;
| |
| } | | } |
| .video_block:hover { | | .welcome_title{ |
| box-shadow: 1px 5px 8px #aaa; | | font-weight: bold; |
| animation: float 4s infinite ease-in-out; | | text-align:center; |
| } | | } |
| .video_block .neuro-button{ | | .sidebar_block{ |
| position: absolute; | | min-width:300px; |
| width: 0;
| | margin:2px; |
| height: 40px; | | flex-grow: 1; |
| overflow: hidden; | | padding: 0.6em; |
| white-space: nowrap;
| | flex: 1 1 33%; |
| 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{ | | .sidebar_block ul{ |
| width: 120px; | | flex: 1; |
| padding: 3px;
| |
| padding-left:6px;
| |
| padding-right:6px;
| |
| } | | } |
| .video_block .neuro-button:hover{ | | .statisticians_block{ |
| height: 60px; | | display: flex; |
| padding: 9px; | | flex-wrap: nowrap; |
| | justify-content: space-between; |
| | gap: 10px; |
| } | | } |
| .video_block #neuro{ | | .statisticians_left{ |
| top: 55%; | | flex: 1 1 0; |
| right: 5%;
| | display: flex; |
| animation: float-neuro 0.35s infinite ease-in-out; | |
| } | | } |
| .video_block #evil{ | | .statisticians_right{ |
| top: 53%; | | flex: 1 1 0; |
| left: 18%; | | float: right; |
| animation: float-evil 0.27s infinite ease-in-out; | | text-align: right; |
| } | | } |
| .video_block #vedal{ | | .title_h2{ |
| top: 25%; | | font-size: 1.5em; |
| right: 25%; | | border-left: 8px solid var(--twitch-purple); |
| animation: float-vedal 0.41s infinite ease-in-out; | | padding-left: 5px; |
| } | | } |
| .video_block * a{ | | .title_h2_neuro{ |
| color: white; | | font-size: 1.5em; |
| width:100%;
| | border-left: 8px solid #e3c3ad; |
| height:100%;
| | padding-left: 5px; |
| text-decoration: none; | | font-weight: 900; |
| justify-content: center; | |
| align-items: center; | |
| } | | } |
| .video_block * a.new{ | | .title_h2_evil{ |
| color: white; | | font-size: 1.5em; |
| width:100%;
| | border-left: 8px solid #b30239; |
| height:100%;
| | padding-left: 5px; |
| text-decoration: none; | | font-weight: 900; |
| justify-content: center; | |
| align-items: center; | |
| } | | } |
| @keyframes float {
| | .style_button{ |
| 0%, 100% { | | width: 100%; |
| transform: translateY(0);
| | background-color: var(--twitch-purple); |
| } | | color: #fff; |
| 50% { | | transition: all 0.2s ease; |
| transform: translateY(-10px);
| |
| }
| |
| } | | } |
| @keyframes float-neuro {
| | .style_button:hover{ |
| 0%, 100% {transform: translate(0px, 0px);} | | background-color: var(--twitch-purple-2); |
| 50% {transform: translate(1px, -1.67px);}
| |
| 80% {transform: translate(-1.67px, 0.83px);}
| |
| } | | } |
| @keyframes float-evil {
| | .style_button a{ |
| 0%, 100% {transform: translate(0px, 0px);} | | width: 100%; |
| 30% {transform: translate(-0.83px, 1px);} | | padding: 3px; |
| 70% {transform: translate(1.67px, -1.67px);} | | color: #fff; |
| | display: flex; |
| | justify-content: center; |
| | font-size: 16px; |
| } | | } |
| @keyframes float-vedal {
| | .sidebar_block_img{ |
| 0%, 100% {transform: translate(0px, 0px);}
| | padding: 0; |
| 40% {transform: translate(-1.03px, 0.7px);}
| |
| 50% {transform: translate(1.67px, 1px);}
| |
| 90% {transform: translate(-0.83px, -1.67px);} | |
| } | | } |
| .video_block .mw-default-size span img { | | .sidebar_block_img .item-img div .mw-halign-center span img{ |
| max-width: 100%; | | width: 100%; |
| height: 100%; | | height: 100%; |
| object-fit: contain; | | object-fit: contain; |
| } | | } |
| .video_block .progress_bar{
| | @media (max-width: 1669px) { |
| position: absolute; | | .sidebar_block_img{ |
| bottom: 0;
| | flex: 1 1 100%; |
| width: 100%;
| | } |
| height: 0; | | .sidebar_block_img > div{ |
| color: white; | | max-width: 450px; |
| text-align: center;
| | position: relative; |
| background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
| | margin: 0 auto |
| transition: height 0.3s ease-in-out, transform 0.3s ease-in-out; | | } |
| } | | } |
| .video_block:hover .progress_bar{
| | @media (max-width: 800px) { |
| height: 64px;
| | .sidebar_block_img{ |
| | flex: auto; |
| | } |
| } | | } |
| .video_block .progress_bar .bar{
| | @media (min-width: 1669px) { |
| position: absolute; | | .sidebar_block_img{ |
| top: 22px;
| | flex: 1 1 33%; |
| left: 2.5%;
| | } |
| width: 95%;
| |
| height: 4px; | |
| color: white;
| |
| text-align: center;
| |
| background-color: rgba(255, 255, 255, 0.8);
| |
| } | | } |
| .dOOPAe { | | .img_button{ |
| position: absolute; | | height: 80px; |
| top: 26px;
| |
| left: 24px;
| |
| color: white; | | color: white; |
| font-size: 20px; | | font-weight: bold; |
| text-align: center; | | font-size: 32px; |
| }
| | display: flex; |
| .dO1PAe {
| | justify-content: center; |
| position: absolute; | | align-items: center; |
| top: 4px; | | transition:background-color 0.2s ease-out, color 0.3s ease-out; |
| left: 20px; | | cursor:pointer; |
| color: white; | | margin:3px; |
| text-align: center; | |
| } | | } |
| .sidebar_block{ | | .img_button:hover{ |
| min-width:300px; | | border: 3px solid #000; |
| margin:0;
| |
| flex-grow: 1;
| |
| padding: 0;
| |
| } | | } |
| .flex_button{ | | .neuro_button_lock{ |
| width:auto; | | background-color: #e3baad; |
| min-width:70px;
| | border: 3px solid #e3baad; |
| height:150px; | |
| flex-grow: 1;
| |
| transition: transform 0.3s ease-in-out;
| |
| } | | } |
| .flex_button_2{ | | .evil_button_lock{ |
| width:auto; | | background-color: #b30256; |
| min-width:70px;
| | border: 3px solid #b30256; |
| height:auto;
| |
| font-size: 18px;
| |
| flex-grow: 1;
| |
| border-right: 3px solid rgba(198, 154, 133, 0.85); | |
| border-bottom: 3px solid rgba(198, 154, 133, 0.85);
| |
| margin:0.3em;
| |
| background-color: rgba(255, 255, 255, 0.2);
| |
| box-shadow: 0 2px 5px #aaa;
| |
| transition: transform 0.3s ease-in-out,box-shadow 0.4s ease-in-out,font-size 0.6s ease-in-out;
| |
| padding:4px;
| |
| } | | } |
| .flex_button_2:hover{ | | .neuro_button_lock:hover{ |
| box-shadow: 0 8px 15px #aaa; | | background-color: #e3c3ad; |
| font-size: 16px; | | color:#000; |
| } | | } |
| .flex_button:hover{ | | .evil_button_lock:hover{ |
| transform: scale(1.15); | | background-color: #B30239; |
| | color:#000; |
| } | | } |
| @media (min-width: 1720px) {
| | .neuro_button{ |
| .flex_button{ | | background-color: #e3c3ad; |
| width:50%;
| | border: 3px solid #e3c3ad; |
| } | |
| .sidebar_block{
| |
| flex-basis: 300px;
| |
| }
| |
| } | | } |
| @media (min-width: 1500px) {
| | .evil_button{ |
| .sidebar_block_left_2{ | | background-color: #B30239; |
| max-width: 400px;
| | border: 3px solid #B30239; |
| } | |
| } | | } |
| .flex_button a{ | | .synopsis{ |
| width:100%; | | overflow: hidden; /* 隐藏超出部分 */ |
| height:100%;
| | text-overflow: ellipsis; /* 使用省略号表示超出部分 */ |
| text-decoration: none; | |
| font-size: 24px;
| |
| display: flex;
| |
| justify-content: center;
| |
| align-items: center;
| |
| }
| |
| .flex_button_2 a{
| |
| width:100%;
| |
| height:100%;
| |
| text-decoration: none;
| |
| display: flex;
| |
| justify-content: center;
| |
| align-items: center;
| |
| }
| |
| .sidebar_block_left{
| |
| padding:0.2em;
| |
| margin:0.2em;
| |
| width:100%;
| |
| } | | } |
| | | .page_button{ |
| .container { | |
| width: 100%;
| |
| display: flex; | | display: flex; |
| flex-wrap: wrap;
| |
| justify-content: center; | | justify-content: center; |
| } | | } |
| /*.container p{
| | .page_button a{ |
| display: flex; | | background-color: #eeccdd; |
| flex-wrap: wrap;
| |
| width: 100%; | | width: 100%; |
| justify-content: center;
| |
| }*/
| |
| .container * a{
| |
| padding:0.2em;
| |
| padding-right:0.4em;
| |
| padding-left:0.4em;
| |
| flex: 1 1 calc(33.333% - 10px); /* 3 items per row with space for borders */
| |
| font-weight: bold;
| |
| font-size:20px;
| |
| display: flex; | | display: flex; |
| justify-content: center; | | justify-content: center; |
| | height: 100px; |
| align-items: center; | | align-items: center; |
| box-sizing: border-box; | | font-size: 24px; |
| margin:2px; /* Space between items */
| |
| text-decoration: none;
| |
| transition: all 0.15s ease-in;
| |
| box-shadow: 5px 5px 2px rgba(150, 150, 150, 0.6);
| |
| }
| |
| .container * a:hover{
| |
| box-shadow: 7px 7px 6px rgba(150, 150, 150, 0.6);
| |
| }
| |
| .container * a.external{
| |
| background-image:none;
| |
| }
| |
| .container .en a{
| |
| background-color: rgba(1, 33, 105, 0.8); /* 80% transparent blue */
| |
| border: 5px solid rgba(200, 16, 46, 0.8); /* 5px 80% transparent red */
| |
| color: white; | | color: white; |
| | padding-left: 0; |
| | transition:all 0.2s ease-out; |
| } | | } |
| .container .en a.external:visited{ | | .page_button a:hover{ |
| color: white; | | text-decoration: none; |
| }
| | padding-left: 50%; |
| .container .zh a{
| | color: darkcyan; |
| background-color: rgba(238, 28, 37, 0.8); /* 80% transparent blue */ | | background-color: #debccd; |
| border: 5px solid rgba(238, 28, 37, 0.8); /* 5px 80% transparent red */
| |
| color: #ffff00; | |
| }
| |
| .container .zh a.external:visited{
| |
| color: #ffff00; | |
| } | | } |
| .container .ja a{
| | #t-collapsible-toggle-all{ |
| background-color: rgba(255, 255, 255, 0.8); /* 80% transparent blue */ | | display:none; |
| border: 5px solid rgba(255, 255, 255, 0.8); /* 5px 80% transparent red */
| |
| color: #bd0029;
| |
| } | | } |
| .container .ja a.external:visited{ | | .container_character_page { |
| color: #bd0029;
| |
| }
| |
| | |
| .container_character {
| |
| width: 100%; | | width: 100%; |
| overflow: hidden; | | overflow: hidden; |
| display: flex; | | display: flex; |
| background-color: rgba(255, 255, 255, 0.1); | | justify-content: space-evenly; |
| box-shadow: 0 2px 5px #aaa; | | flex-wrap: wrap; |
| } | | } |
| | | .scroll-content_page{ |
| .scroll-content { | |
| display: flex; | | display: flex; |
| /*animation: scroll 15s linear infinite;*/ | | flex-wrap: wrap; |
| }
| | align-content:center; |
| | | justify-content: center; |
| .item {
| |
| width: 160px;
| |
| height:180px;
| |
| margin:6px;
| |
| border-right: 1px solid #ccc;
| |
| text-align: center; | |
| padding: 10px; | |
| background-color: rgba(255, 255, 255, 0.1);
| |
| box-shadow: 0 2px 5px #aaa;
| |
| }
| |
| .item-img {
| |
| width: 150px;
| |
| height:150px;
| |
| position: relative;
| |
| overflow: hidden;
| |
| } | | } |
|
| |
|
| @keyframes scroll {
| | .cdx-button.edit-button { |
| 0% { | | font-family:sans-serif; |
| transform: translateX(100%);
| | font-size: 1rem; |
| } | | float: right; |
| 50% {
| |
| transform: translateX(-100%);
| |
| }
| |
| 100% {
| |
| transform: translateX(100%);
| |
| } | |
| }
| |
| .container_character:hover .scroll-content {
| |
| animation-play-state: paused;
| |
| } | | } |