MediaWiki:Common.css:修订间差异
| (未显示同一用户的6个中间版本) | |||
| 第103行: | 第103行: | ||
} | } | ||
.scp-image-block.block- | .scp-image-block.block-右, | ||
.image-container.floatright { | .image-container.floatright { | ||
float: right; | float: right; | ||
| 第109行: | 第109行: | ||
} | } | ||
.scp-image-block.block- | .scp-image-block.block-左, | ||
.image-container.floatleft { | .image-container.floatleft { | ||
float: left; | float: left; | ||
| 第115行: | 第115行: | ||
} | } | ||
.scp-image-block.block- | .scp-image-block.block-居中 { | ||
margin: 1rem auto; | margin: 1rem auto; | ||
} | } | ||
| 第121行: | 第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; | ||
| 第269行: | 第269行: | ||
border-bottom: 1px solid var(--background-color-neutral, #eaecf0); | border-bottom: 1px solid var(--background-color-neutral, #eaecf0); | ||
} | } | ||
/* | |||
.mw-references-wrap .references { | .mw-references-wrap .references { | ||
margin-top: 0; | margin-top: 0; | ||
padding-left: 0; | padding-left: 0; | ||
} | } | ||
*/ | |||
/*分页优化*/ | /*分页优化*/ | ||
.tabber__tab, .tabber__tab:visited { | .tabber__tab, .tabber__tab:visited { | ||
transition: all ease 0.3s; | |||
color: var(--color-base, #202122); | color: var(--color-base, #202122); | ||
background: transparent; | background: transparent; | ||
| 第286行: | 第286行: | ||
border: none; | border: none; | ||
cursor: pointer; | cursor: pointer; | ||
z-index: 1; | |||
} | } | ||
.tabber__tab[aria-selected='true'], | .tabber__tab[aria-selected='true'], .tabber__tab[aria-selected='true']:visited { | ||
.tabber__tab[aria-selected='true']:visited { | color: var(--background-color-neutral-subtle, #f8f9fa); | ||
background: var(--color-progressive, #36c); | background: var(--color-progressive, #36c); | ||
} | } | ||
| 第307行: | 第297行: | ||
content: ''; | content: ''; | ||
position: absolute; | position: absolute; | ||
top: 0; | |||
left: 0; | left: 0; | ||
width: 0; | width: 0; | ||
height: | height: 100%; | ||
background: var(--box-shadow-color-progressive-selected--hover, #447ff5); | background: var(--box-shadow-color-progressive-selected--hover, #447ff5); | ||
transition: width 0.3s ease; | transition: width 0.3s ease; | ||
z-index: -1; | |||
} | } | ||
.tabber__tab:hover { | .tabber__tab:hover { | ||
color: var(--color- | color: var(--background-color-neutral-subtle, #f8f9fa) !important; | ||
} | } | ||
.tabber__tab:hover::after { | .tabber__tab:hover::after { | ||
width: 100%; | width: 100%; | ||
} | |||
.tabber__tab[aria-selected='true']::after { | |||
width: 100%; | |||
background: var(--color-progressive, #36c); | |||
} | } | ||
| 第325行: | 第322行: | ||
color: var(--background-color-neutral-subtle, #f8f9fa); | color: var(--background-color-neutral-subtle, #f8f9fa); | ||
} | } | ||
/*维基语法里用的CSS*/ | /*维基语法里用的CSS*/ | ||