MediaWiki:Common.css:修订间差异

HW
HW留言 | 贡献
HW
HW留言 | 贡献
 
(未显示同一用户的12个中间版本)
第103行: 第103行:
}
}


.scp-image-block.block-right,
.scp-image-block.block-,
.image-container.floatright {
.image-container.floatright {
     float: right;
     float: right;
第109行: 第109行:
}
}


.scp-image-block.block-left,
.scp-image-block.block-,
.image-container.floatleft {
.image-container.floatleft {
     float: left;
     float: left;
第115行: 第115行:
}
}


.scp-image-block.block-center {
.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-right, .scp-image-block.block-left {
     .scp-image-block.block-, .scp-image-block.block-{
         float: none;
         float: none;
         margin: 0.1rem auto;
         margin: 0.1rem auto;
第224行: 第224行:


/* 段落编辑按钮 */
/* 段落编辑按钮 */
/*
.custom-section-edit-btn {
.custom-section-edit-btn {
     margin-left: 0.5rem;
     margin-left: 0.5rem;
第233行: 第234行:
     text-decoration: underline;
     text-decoration: underline;
}
}
*/


/*电脑端我喜欢左右留空*/
/*电脑端我喜欢左右留空*/
第257行: 第259行:
}
}


/*脚注*/


.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*/
/*维基语法里用的CSS*/
第278行: 第342行:
     border: 1px solid var(--border-color-muted, #dadde3);
     border: 1px solid var(--border-color-muted, #dadde3);
     padding: 1em;
     padding: 1em;
    white-space: pre-wrap;
    overflow-x: hidden;
    word-wrap: break-word;
}
}