跳转到内容
主菜单
主菜单
移至侧栏
隐藏
导航
首页
最近更改
随机页面
MediaWiki帮助
特殊页面
新番推荐
搜索
搜索
外观
创建账号
登录
个人工具
创建账号
登录
查看“︁MediaWiki:Common.css”︁的源代码
系统消息
讨论
English
阅读
查看源代码
查看历史
工具
工具
移至侧栏
隐藏
操作
阅读
查看源代码
查看历史
常规
链入页面
相关更改
页面信息
外观
移至侧栏
隐藏
←
MediaWiki:Common.css
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
此页面为本wiki上的软件提供界面文本,并受到保护以防止滥用。 如欲修改所有wiki的翻译,请访问
translatewiki.net
上的MediaWiki本地化项目。
您无权编辑此CSS页面,因为编辑此页面可能会影响所有访问者。
您可以查看和复制此页面的源代码。
/**************************************************** * 次元企鹅百科 · 分类导航网格(美观卡片样式) ****************************************************/ /* 卡片网格布局 */ .beautiful-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin: 20px 0; padding: 0; box-sizing: border-box; } /* 卡片容器 */ .home-card { background: #ffffff; border: 1px solid #e3e8f0; border-radius: 14px; padding: 0; box-shadow: 0 2px 8px rgba(0,0,0,0.05); transition: all .25s ease; overflow: hidden; } /* 卡片内的链接(真正可点击部分) */ .home-card > a { display: flex; align-items: center; gap: 12px; padding: 18px 22px; font-size: 17px; font-weight: 600; color: #1b4d7a !important; text-decoration: none; width: 100%; height: 100%; box-sizing: border-box; } /* 让图标稳定显示 */ .home-card > a::before { font-size: 22px; width: 26px; text-align: center; flex-shrink: 0; } /* 各卡片图标(自动配对) */ .home-card:nth-child(1) > a::before { content: "📺"; } .home-card:nth-child(2) > a::before { content: "🧍"; } .home-card:nth-child(3) > a::before { content: "🎬"; } .home-card:nth-child(4) > a::before { content: "🌍"; } .home-card:nth-child(5) > a::before { content: "🎞️"; } .home-card:nth-child(6) > a::before { content: "📚"; } /* Hover 视觉效果 */ .home-card:hover { transform: translateY(-4px); box-shadow: 0 6px 14px rgba(0,0,0,.12); border-color: #bcd7ff; background: #f8fbff; }
返回
MediaWiki:Common.css
。
搜索
搜索
查看“︁MediaWiki:Common.css”︁的源代码
添加话题