打开/关闭搜索
搜索
打开/关闭菜单
30
8
13
1.6K
陋室
导航
首页
最近更改
随机页面
特殊页面
社群首页
新闻动态
帮助
上传文件
内容
分类树
所有页面
导入页面
活跃用户列表
界面
侧边栏
站点公告
匿名用户通知
公共样式表
公共脚本
系统消息
打开/关闭外观设置菜单
通知
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。
user-interface-preferences
中文(简体)
个人工具
登录
查看“︁MediaWiki:Common.css”︁的源代码
MediaWiki界面页面
查看
阅读
查看源代码
查看历史
associated-pages
系统消息
讨论
更多操作
←
MediaWiki:Common.css
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于这些用户组的用户执行:
用户
、
自动确认用户
此页面为本wiki上的软件提供界面文本,并受到保护以防止滥用。 如欲修改所有wiki的翻译,请访问
translatewiki.net
上的MediaWiki本地化项目。
您无权编辑此CSS页面,因为编辑此页面可能会影响所有访问者。
您可以查看和复制此页面的源代码。
/* =========================== 字体与基础设置 =========================== */ body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Noto Sans CJK SC", "Noto Sans CJK TC", "Noto Sans JP", "Noto Sans KR", "PingFang SC", "Microsoft YaHei", sans-serif; background-color: #ffffff; line-height: 1.7; color: #333; } /* =========================== 顶部横幅 =========================== */ .banner { display: flex; flex-direction: column; justify-content: center; align-items: center; background: linear-gradient(90deg, #b30000, #e64545); border-radius: 12px; color: white; padding: 24px 20px; margin-bottom: 25px; text-align: center; box-shadow: 0 6px 14px rgba(0,0,0,0.2); } .banner .chinese-text { font-size: 26px; font-weight: 700; margin-bottom: 8px; } .banner .english-text { font-size: 16px; opacity: 0.9; } /* =========================== 主分类模块 =========================== */ .main-category { background: #fafafa; border-left: 6px solid #b30000; } /* =========================== 内容卡片 =========================== */ .content-box { background: #ffffff; border-radius: 12px; border: 1px solid #e0e0e0; padding: 22px; margin: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); transition: all 0.3s ease; } .content-box:hover { transform: translateY(-6px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); } .content-box h2 { font-size: 1.25rem; margin-bottom: 12px; border-left: 5px solid #b30000; padding-left: 10px; color: #333; } /* =========================== 区块分色 =========================== */ .section-think { background: #f7f6f4; padding: 30px 20px; border-radius: 12px; } .section-engineering { background: #f4f8fb; padding: 30px 20px; border-radius: 12px; } .section-growth { background: #f6faf6; padding: 30px 20px; border-radius: 12px; } .section-structure { background: #ffffff; padding: 30px 20px; border-radius: 12px; } /* =========================== Flex 布局 =========================== */ .flex-container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; } .flex-container .content-box { flex: 1 1 calc(33% - 18px); min-width: 280px; box-sizing: border-box; } /* 让每个部分首卡更突出 */ .flex-container .content-box:first-child { flex: 2 1 calc(66% - 12px); background: linear-gradient(135deg, #fff8f8, #ffeaea); } /* =========================== 响应式设计 =========================== */ @media screen and (max-width: 768px) { .flex-container { flex-direction: column; } .flex-container .content-box { flex: 1 1 100%; } .banner .chinese-text { font-size: 22px; } .banner .english-text { font-size: 14px; } }
返回
MediaWiki:Common.css
。
查看“︁MediaWiki:Common.css”︁的源代码
MediaWiki界面页面