MediaWiki:Common.css:修订间差异
| (未显示同一用户的18个中间版本) | |||
| 第14行: | 第14行: | ||
--imageblock-shadow-color: 0, 0, 0, 0; | --imageblock-shadow-color: 0, 0, 0, 0; | ||
--imageblock-border-color: var(--background-color-neutral, #eaecf0); | --imageblock-border-color: var(--background-color-neutral, #eaecf0); | ||
--Found-color: #5CB85C; | |||
--Lost-color: #EE3131; | |||
--Partially-Found-color: #FFA500; | |||
--Existence-Unconfirmed-color: #696969; | |||
--Non-Existence-color: var(--darkblock-background-color); | |||
--Unidentified-color: #A9A9A9; | |||
--Partially-Identified-color: #FF7F50; | |||
--Identified-color: var(--Found-color); | |||
} | } | ||
| 第93行: | 第103行: | ||
} | } | ||
.scp-image-block.block- | .scp-image-block.block-右, | ||
.image-container.floatright { | .image-container.floatright { | ||
float: right; | float: right; | ||
| 第99行: | 第109行: | ||
} | } | ||
.scp-image-block.block- | .scp-image-block.block-左, | ||
.image-container.floatleft { | .image-container.floatleft { | ||
float: left; | float: left; | ||
| 第105行: | 第115行: | ||
} | } | ||
.scp-image-block.block- | .scp-image-block.block-居中 { | ||
margin: 1rem auto; | margin: 1rem auto; | ||
} | } | ||
| 第111行: | 第121行: | ||
@media only screen and (max-width: 540px) { | @media only screen and (max-width: 540px) { | ||
.scp-image-block.block- | .scp-image-block.block-右, .scp-image-block.block-左 { | ||
float: none; | float: none; | ||
margin: 0.1rem auto; | margin: 0.1rem auto; | ||
| 第129行: | 第139行: | ||
} | } | ||
/* | /*修主体高度*/ | ||
#mw-content-text{ | #mw-content-text{ | ||
| 第135行: | 第145行: | ||
} | } | ||
/*底栏按钮CSS*/ | /*底栏按钮CSS*/ | ||
| 第246行: | 第224行: | ||
/* 段落编辑按钮 */ | /* 段落编辑按钮 */ | ||
/* | |||
.custom-section-edit-btn { | .custom-section-edit-btn { | ||
margin-left: 0.5rem; | margin-left: 0.5rem; | ||
| 第255行: | 第234行: | ||
text-decoration: underline; | text-decoration: underline; | ||
} | } | ||
*/ | |||
/*电脑端我喜欢左右留空*/ | /*电脑端我喜欢左右留空*/ | ||
| 第267行: | 第247行: | ||
'content columnEnd'; | 'content columnEnd'; | ||
} | } | ||
} | |||
#user-page-right{ | |||
float: unset; | |||
width: 100%; | |||
} | |||
/*电脑端改鼠标指针样式*/ | |||
#minerva-user-menu-checkbox{ | |||
cursor: pointer; | |||
} | |||
/*脚注*/ | |||
.mw-references-wrap::before { | |||
content: "脚注"; | |||
font-size: 150%; | |||
display: block; | |||
margin-bottom: 8px; | |||
font-weight: bold; | |||
border-bottom: 1px solid var(--background-color-neutral, #eaecf0); | |||
} | |||
/* | |||
.mw-references-wrap .references { | |||
margin-top: 0; | |||
padding-left: 0; | |||
} | |||
*/ | |||
/*分页优化*/ | |||
.tabber__tab, .tabber__tab:visited { | |||
transition: all ease 0.3s; | |||
color: var(--color-base, #202122); | |||
background: transparent; | |||
position: relative; | |||
padding: 8px 12px; | |||
border: none; | |||
cursor: pointer; | |||
z-index: 1; | |||
} | |||
.tabber__tab[aria-selected='true'], .tabber__tab[aria-selected='true']:visited { | |||
color: var(--background-color-neutral-subtle, #f8f9fa); | |||
background: var(--color-progressive, #36c); | |||
} | |||
.tabber__tab::after { | |||
content: ''; | |||
position: absolute; | |||
top: 0; | |||
left: 0; | |||
width: 0; | |||
height: 100%; | |||
background: var(--box-shadow-color-progressive-selected--hover, #447ff5); | |||
transition: width 0.3s ease; | |||
z-index: -1; | |||
} | |||
.tabber__tab:hover { | |||
color: var(--background-color-neutral-subtle, #f8f9fa) !important; | |||
} | |||
.tabber__tab:hover::after { | |||
width: 100%; | |||
} | |||
.tabber__tab[aria-selected='true']::after { | |||
width: 100%; | |||
background: var(--color-progressive, #36c); | |||
} | |||
.tabber__tab[aria-selected='true']:hover { | |||
color: var(--background-color-neutral-subtle, #f8f9fa); | |||
} | |||
/*维基语法里用的CSS*/ | |||
.table-icon-img{ | |||
display: inline-block; | |||
width: 1em; | |||
height: 1em; | |||
padding: 5px; | |||
background-image: url(data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3E table %3C/title%3E%3Cpath d=%22M2 2a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2zm0 4h7v4H2zm0 10v-4h7v4zm16 0h-7v-4h7zm0-6h-7V6h7z%22/%3E%3C/svg%3E); | |||
background-repeat: no-repeat; | |||
background-size: contain; | |||
margin-bottom: -5px; | |||
} | |||
.pre-style{ | |||
background-color: var(--background-color-neutral-subtle, #f8f9fa); | |||
color: var(--color-emphasized, #101418); | |||
border: 1px solid var(--border-color-muted, #dadde3); | |||
padding: 1em; | |||
} | } | ||