打开/关闭菜单
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

模块:Prevnext/styles.css:修订间差异

爱来自星云工艺喵!(づ。◕◡◡◕。)づ
Kuina留言 | 贡献
创建页面,内容为“.template-prevnext { margin: var( --space-md ) 0; padding: var( --space-xxs ); background-color: var( --color-surface-2 ); border-radius: var( --border-radius--medium ); font-size: var( --font-size-small ); line-height: var( --line-height-sm ); display: grid; align-items: center; grid-template-areas: 'prev current next'; grid-template-columns: minmax( max-content, 1fr ) minmax( max-content, 1fr ) minmax( max-content, 1fr…”
 
Kuina留言 | 贡献
已保护“模块:Prevnext/styles.css”​([编辑=仅允许管理员](无限期)​[移动=仅允许管理员](无限期))
 
(未显示同一用户的1个中间版本)
第2行: 第2行:
     margin: var( --space-md ) 0;
     margin: var( --space-md ) 0;
     padding: var( --space-xxs );
     padding: var( --space-xxs );
     background-color: var( --color-surface-2 );
     background-color: var( --color-surface-1 );
     border-radius: var( --border-radius--medium );
    border: var( --border-base );
     border-radius: var( --border-radius-medium );
     font-size: var( --font-size-small );
     font-size: var( --font-size-small );
     line-height: var( --line-height-sm );
     line-height: var( --line-height-xx-small );
     display: grid;
     display: grid;
     align-items: center;
     align-items: center;
第15行: 第16行:
.template-prevnext__next {
.template-prevnext__next {
     position: relative;
     position: relative;
     border-radius: var( --border-radius--small );
     border-radius: var( --border-radius-base );
     display: flex;
     display: flex;
     align-items: center;
     align-items: center;
第43行: 第44行:


.template-prevnext__link:hover {
.template-prevnext__link:hover {
     background-color: var( --background-color-quiet--hover );
     background-color: var( --background-color-button-quiet--hover );
}
}


第59行: 第60行:


.template-prevnext__link:active {
.template-prevnext__link:active {
     background-color: var( --background-color-quiet--active );
     background-color: var( --background-color-button-quiet--active );
}
}


.template-prevnext__link:active > .template-prevnext__icon {
.template-prevnext__link:active > .template-prevnext__icon {
     opacity: var( --opacity-icon-base--active );
     opacity: var( --opacity-icon-base--selected );
}
}


第76行: 第77行:


.template-prevnext__title {
.template-prevnext__title {
     color: var( --color-base--emphasized );
     color: var( --color-emphasized );
     font-weight: 500;
     font-weight: 500;
}
}


.template-prevnext__link .template-prevnext__title {
.template-prevnext__link .template-prevnext__title {
     color: var( --color-primary );
     color: var( --color-progressive );
}
}


第89行: 第90行:


.template-prevnext__desc {
.template-prevnext__desc {
     color: var( --color-base--subtle );
     color: var( --color-subtle );
     font-size: var( --font-size-x-small );
     font-size: var( --font-size-x-small );
}
}

2025年5月16日 (五) 17:44的最新版本

.template-prevnext {
    margin: var( --space-md ) 0;
    padding: var( --space-xxs );
    background-color: var( --color-surface-1 );
    border: var( --border-base );
    border-radius: var( --border-radius-medium );
    font-size: var( --font-size-small );
    line-height: var( --line-height-xx-small );
    display: grid;
    align-items: center;
    grid-template-areas: 'prev current next';
    grid-template-columns: minmax( max-content, 1fr ) minmax( max-content, 1fr ) minmax( max-content, 1fr );
}

.template-prevnext__prev,
.template-prevnext__next {
    position: relative;
    border-radius: var( --border-radius-base );
    display: flex;
    align-items: center;
    gap: var( --space-sm );
}

.template-prevnext__prev,
.template-prevnext__current,
.template-prevnext__next {
    padding: var( --space-xs );
}

.template-prevnext__prev {
    grid-area: prev;
}

.template-prevnext__current {
    grid-area: current;
    text-align: center;
}

.template-prevnext__next {
    grid-area: next;
    justify-content: flex-end;
    text-align: end;
}

.template-prevnext__link:hover {
    background-color: var( --background-color-button-quiet--hover );
}

.template-prevnext__link:hover > .template-prevnext__icon {
    opacity: var( --opacity-icon-base--hover );
}

.template-prevnext__prev:hover > .template-prevnext__icon {
    transform: translateX( -2px );
}

.template-prevnext__next:hover > .template-prevnext__icon {
    transform: translateX( 2px );
}

.template-prevnext__link:active {
    background-color: var( --background-color-button-quiet--active );
}

.template-prevnext__link:active > .template-prevnext__icon {
    opacity: var( --opacity-icon-base--selected );
}

.template-prevnext__icon {
    opacity: var( --opacity-icon-base );
    transition: transform 250ms ease;
}

.template-prevnext__icon img {
    filter: var( --filter-invert );
}

.template-prevnext__title {
    color: var( --color-emphasized );
    font-weight: 500;
}

.template-prevnext__link .template-prevnext__title {
    color: var( --color-progressive );
}

.template-prevnext__link--new .template-prevnext__title {
    color: var( --color-link-new );
}

.template-prevnext__desc {
    color: var( --color-subtle );
    font-size: var( --font-size-x-small );
}

.template-prevnext__linkoverlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.template-prevnext__linkoverlay > a {
    display: block;
    font-size: 0;
    height: 100%;
}

@media screen and ( max-width: 639px ) {
    .template-prevnext {
        grid-template-areas:
			'current current'
			'prev next';
        grid-template-columns: auto;
    }

    .template-prevnext__current {
        border-bottom: 1px solid var( --border-color-base );
    }
}
我们为您提供服务需要使用Cookie。使用我们的服务即表示您同意我们使用Cookie。