打开/关闭搜索
搜索
打开/关闭菜单
17
78
34
2.1K
INFWiki
导航
百科首页
最近更改
随机页面
特殊页面
上传文件
人气页面
入服指南
回响地标
百科创作
介绍
语法
打开/关闭外观设置菜单
notifications
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。
user-interface-preferences
个人工具
登录
查看“︁模块:Navpills/styles.css”︁的源代码
来自INFWiki
查看
阅读
查看源代码
查看历史
associated-pages
模块
讨论
更多操作
←
Navpills/styles.css
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您必须确认您的电子邮件地址才能编辑页面。请通过
参数设置
设置并确认您的电子邮件地址。
您可以查看和复制此页面的源代码。
.template-navpills { display: grid; gap: var( --space-xs ); grid-template-columns: repeat( auto-fill, minmax( 160px, 1fr ) ); grid-auto-rows: 3rem; font-size: var( --font-size-small ); } @media (min-width: 768px) { .template-navpills { grid-template-columns: repeat( auto-fill, minmax( 178px, 1fr ) ); } } .template-navpill { position: relative; border: 1px solid var( --border-color-base ); border-radius: var( --border-radius-medium ); font-weight: var( --font-weight-medium ); line-height: var( --line-height-xx-small ); overflow: hidden; } .template-navpill-background { position: absolute; inset: 0; pointer-events: none; } .template-navpill-background:after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, #000, transparent); transition: transform 250ms ease; } .template-navpill-background img { width: 100%; height: 100%; object-fit: cover; transition: var( --transition-hover ); transition-property: transform; } .template-navpill:hover .template-navpill-background::after { transform: translateX( -100% ); } .template-navpill:hover .template-navpill-background img { transform: scale( 1.1 ); } .template-navpill > a { position: relative; padding: 0 var( --space-md ); display: flex; align-items: center; color: var( --color-emphasized ); text-decoration: none; height: 100%; } .template-navpill > .template-navpill-background + a { color: #fff; text-shadow: -1px 0 .2em #000, 0 1px .2em #000, 1px 0 .2em #000, 0 -1px .2em #000; } .template-navpill:hover { background: var( --background-color-button-quiet--hover ); } .template-navpill:active { background: var( --background-color-button-quiet--active ); }
返回
Navpills/styles.css
。
查看“︁模块:Navpills/styles.css”︁的源代码
来自INFWiki