The editors' meeting has been canceled for technical reasons.
Main Page/styles.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
edit button styles |
||
(3 intermediate revisions by one other user not shown) | |||
Line 32: | Line 32: | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
justify-content: center; | justify-content: center; | ||
} | |||
.base_block .sidebar_block > p{ | |||
margin:0; | |||
} | } | ||
.welcome_title{ | .welcome_title{ | ||
Line 43: | Line 46: | ||
padding: 0.6em; | padding: 0.6em; | ||
flex: 1 1 33%; | flex: 1 1 33%; | ||
} | |||
.sidebar_block ul{ | |||
flex: 1; | |||
} | } | ||
.statisticians_block{ | .statisticians_block{ | ||
Line 105: | Line 111: | ||
.sidebar_block_img{ | .sidebar_block_img{ | ||
flex: 1 1 100%; | flex: 1 1 100%; | ||
} | |||
.sidebar_block_img > div{ | |||
max-width: 450px; | |||
position: relative; | |||
margin: 0 auto | |||
} | } | ||
} | } | ||
Line 197: | Line 208: | ||
align-content:center; | align-content:center; | ||
justify-content: center; | justify-content: center; | ||
} | |||
.cdx-button.edit-button { | |||
font-size: 1rem; | |||
float: right; | |||
} | } |
Latest revision as of 22:40, 4 March 2025
.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; } .base_block .sidebar_block > p{ margin:0; } .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; /* 使用省略号表示超出部分 */ } .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; } .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-size: 1rem; float: right; }