查看“︁MediaWiki:Common.css”︁的源代码
来自勿忘草与永远的少女
←
MediaWiki:Common.css
跳到导航
跳到搜索
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
此页面为本wiki上的软件提供界面文本,并受到保护以防止滥用。 如欲修改所有wiki的翻译,请访问
translatewiki.net
上的MediaWiki本地化项目。
您无权编辑此CSS页面,因为编辑此页面可能会影响所有访问者。
您可以查看和复制此页面的源代码。
/* 这里放置的CSS将应用于所有皮肤 */ /* ===== 终末地风格首页样式 ===== */ /* 隐藏首页标题 */ .page-首页 #firstHeading { display: none; } /* 全局容器和背景设置 */ body { background: #0a0c12; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: #e5e9f0; } /* 主容器限制最大宽度并居中 */ .zmd-container { max-width: 1300px; margin: 0 auto; padding: 0 20px; background: transparent; } /* ===== 顶部大图轮播区 ===== */ .zmd-hero { margin: -20px -20px 30px -20px; position: relative; border-radius: 0 0 20px 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.5); } .zmd-hero img { width: 100%; height: auto; display: block; transition: transform 0.3s ease; } /* ===== 通用板块样式 ===== */ .zmd-section { background: rgba(20, 24, 36, 0.6); backdrop-filter: blur(5px); border-radius: 24px; padding: 20px 24px; margin-bottom: 30px; border: 1px solid rgba(66, 140, 200, 0.2); box-shadow: 0 4px 20px rgba(0,0,0,0.3); transition: all 0.2s; } .zmd-section:hover { border-color: rgba(66, 140, 200, 0.5); box-shadow: 0 6px 16px rgba(0,0,0,0.4); } /* 板块标题 */ .zmd-section-title { font-size: 20px; font-weight: bold; margin-bottom: 20px; padding-left: 12px; border-left: 4px solid #3c7eb0; color: #f0f3fa; letter-spacing: 1px; } .zmd-section-title span { background: linear-gradient(135deg, #fff, #6ab0e6); -webkit-background-clip: text; background-clip: text; color: transparent; } /* ===== 卡片网格 ===== */ .zmd-grid-4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; } .zmd-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; } @media (max-width: 768px) { .zmd-grid-2 { grid-template-columns: 1fr; } } /* 图鉴卡片样式 */ .zmd-card { background: rgba(0, 0, 0, 0.4); border-radius: 20px; overflow: hidden; text-align: center; transition: transform 0.2s, box-shadow 0.2s; border: 1px solid #2a2e3e; cursor: pointer; } .zmd-card:hover { transform: translateY(-5px); box-shadow: 0 12px 24px rgba(0,0,0,0.4); border-color: #4c8cb0; } .zmd-card-img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #11141c; } .zmd-card-title { padding: 16px 12px; font-weight: bold; font-size: 18px; background: rgba(0,0,0,0.6); color: #e0e7ff; } /* 活动倒计时特殊样式 */ .zmd-event-item { background: rgba(0,0,0,0.6); border-radius: 18px; padding: 18px; margin-bottom: 16px; border-left: 4px solid #f4a261; } .zmd-event-name { font-size: 18px; font-weight: bold; margin-bottom: 8px; } .zmd-event-time { color: #9aa9c1; font-size: 14px; margin-bottom: 12px; } .zmd-countdown { font-family: monospace; font-size: 22px; font-weight: bold; color: #f4a261; background: #00000066; display: inline-block; padding: 6px 14px; border-radius: 40px; letter-spacing: 2px; } /* 更新动态列表 */ .zmd-update-list { list-style: none; padding: 0; } .zmd-update-list li { padding: 12px 0; border-bottom: 1px solid #2a2f3a; display: flex; gap: 16px; align-items: center; } .zmd-update-date { background: #2a3a4a; padding: 2px 10px; border-radius: 20px; font-size: 12px; color: #bcd0ff; white-space: nowrap; } .zmd-update-text a { color: #c0d4ff; text-decoration: none; } .zmd-update-text a:hover { color: white; text-decoration: underline; } /* 侧边栏小工具样式 */ .zmd-wiki-info { background: linear-gradient(145deg, #11161f, #0b0f16); border-radius: 24px; padding: 20px; margin-bottom: 30px; text-align: center; } .zmd-stats { font-size: 24px; font-weight: bold; color: #7ab3c8; margin: 10px 0; } .zmd-btn { display: inline-block; background: #2f4f6f; padding: 8px 24px; border-radius: 40px; color: white; font-weight: bold; text-decoration: none; margin-top: 12px; transition: 0.2s; } .zmd-btn:hover { background: #3f6f8f; color: white; } /* 游戏下载按钮 */ .zmd-download { background: #1f2a3e; border-radius: 28px; padding: 12px 20px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; } .zmd-download-btns a { background: #3a5a7a; padding: 6px 18px; border-radius: 30px; color: white; margin-left: 12px; text-decoration: none; } /* 页脚 */ .zmd-footer { text-align: center; margin: 40px 0 30px; padding-top: 20px; border-top: 1px solid #2a2f3a; font-size: 13px; color: #6c7a8e; }
返回
MediaWiki:Common.css
。
导航菜单
页面操作
系统消息
讨论
阅读
查看源代码
历史
页面操作
系统消息
讨论
更多
工具
个人工具
登录
工具
链入页面
相关更改
特殊页面
页面信息
Cargo数据
搜索