打开/关闭搜索
搜索
打开/关闭菜单
331
1.7K
131
11.8K
星露谷物语扩展百科
导航
首页
最近更改
随机页面
交流群
互通站
上传文件
打开/关闭外观设置菜单
通知
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。
user-interface-preferences
个人工具
创建账号
登录
查看“︁模板:Villager/styles.css”︁的源代码
来自星露谷物语扩展百科
查看
阅读
查看源代码
查看历史
associated-pages
模板
讨论
更多操作
←
模板:Villager/styles.css
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:已验证邮箱用户
您必须确认您的电子邮件地址才能编辑页面。请通过
参数设置
设置并确认您的电子邮件地址。
您可以查看和复制此页面的源代码。
.villagers { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 0fr)); gap: 10px; margin: 20px 0; justify-content: center; } .villagers>div { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 4px; transition: all 0.3s ease; min-height: 150px; } .villagers>div:hover { transform: translateY(-2px); } .villagers>div img { width: 128px; height: 128px; object-fit: cover; margin-bottom: 8px; flex-shrink: 0; } .villagers>div a { text-decoration: none !important; color: var(--color-link, #0645ad); line-height: 1.3; word-wrap: break-word; word-break: break-all; hyphens: auto; max-width: 100%; display: block; } .villagers>div a:hover { text-decoration: underline; } @media (max-width: 768px) { .villagers { grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 8px; } .villagers>div { min-height: 140px; padding: 8px; } .villagers>div img { width: 100px; height: 100px; } } @media (max-width: 480px) { .villagers { grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 6px; } .villagers>div { min-height: 130px; padding: 6px; } .villagers>div img { width: 90px; height: 90px; } }
返回
模板:Villager/styles.css
。
查看“︁模板:Villager/styles.css”︁的源代码
来自星露谷物语扩展百科