跳转到内容
主菜单
主菜单
移至侧栏
隐藏
导航
首页
最近更改
随机条目
特殊页面
站点
关于陋室
维基社群
新闻动态
联系我们
活跃用户
统计
参与
上传文件
待撰页面
新建页面
编辑入门
帮助
内容
分类树
所有页面
前缀索引
最多链入页面
热门页面
维护
MediaWiki 消息页
系统消息
小工具管理
小工具定义
用户组权限
界面
侧边栏
英文侧边栏
站点公告
匿名用户通知
公共样式表
公共脚本
陋室
搜索
搜索
中文
外观
登录
个人工具
登录
沙盒
查看“︁MediaWiki:Common.css”︁的源代码
系统消息
讨论
English
阅读
查看源代码
查看历史
工具
工具
移至侧栏
隐藏
操作
阅读
查看源代码
查看历史
常规
链入页面
相关更改
页面信息
Cargo数据
获取短链接
外观
移至侧栏
隐藏
←
MediaWiki:Common.css
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于这些用户组的用户执行:
用户
、
自动确认用户
本页面提供本维基软件的界面文本,并受到保护以防止滥用。 要添加或更改所有维基的翻译,请使用MediaWiki的本地化项目
translatewiki.net
。
您无权编辑此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", sans-serif, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", "SimSun", "SimHei", "Songti SC", "KaiTi", "MingLiU", "PMingLiU", "Microsoft JhengHei", "Malgun Gothic"; background-color: #f8f9fa; line-height: 1.6; color: #333; } /* =========================== 横幅标语样式 - 简约版 =========================== */ .banner { background: #2c3e50; color: white; border-radius: 8px; padding: 20px; text-align: center; margin: 20px 0; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } .banner .chinese-text { font-size: 24px; font-weight: 600; margin-bottom: 8px; } .banner .english-text { font-size: 16px; opacity: 0.9; } /* =========================== 内容块样式 - 简约版 =========================== */ .content-box { margin: 12px 0; padding: 20px; border-radius: 8px; background: white; border: 1px solid #e1e5e9; transition: all 0.2s ease; } .content-box h2 { font-size: 1.25rem; font-weight: 600; color: #2c3e50; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid #ecf0f1; } .content-box p { color: #555; font-size: 0.95rem; margin: 0; } .content-box:hover { border-color: #bdc3c7; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); } /* =========================== 新布局样式 =========================== */ .section-group { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; margin: 30px 0; align-items: start; } .section-group.reverse { grid-template-columns: 1fr 2fr; } .featured-card { grid-row: span 2; } .card-group { display: flex; flex-direction: column; gap: 20px; } .featured-card .content-box { height: auto; min-height: 300px; display: flex; flex-direction: column; justify-content: center; } .card-group .content-box { flex: 1; min-height: 140px; } /* =========================== 特殊区域样式 - 简约版 =========================== */ /* 知识掌握模型区域 */ .knowledge-model { border-left: 4px solid #3498db; background: #f8fbfd; } /* 最近更改区域 */ .recent-changes { border-left: 4px solid #e74c3c; } /* 哲学与思想 */ .philosophy { border-left: 4px solid #3498db; background: #f0f8ff; } /* 文学与艺术 */ .literature { border-left: 4px solid #9b59b6; background: #faf8ff; } /* 管理与人文 */ .management { border-left: 4px solid #d35400; background: #fff8f0; } /* 技术与数据 */ .technology { border-left: 4px solid #2ecc71; background: #f0fff8; } /* 工程与实践 */ .engineering { border-left: 4px solid #e67e22; background: #fffaf0; } /* 软件与系统 */ .software { border-left: 4px solid #34495e; background: #f8f9fa; } /* 数据与智能 */ .data-intelligence { border-left: 4px solid #1abc9c; background: #f0fffc; } /* 学习与成长 */ .learning { border-left: 4px solid #f39c12; background: #fffcf0; } /* 竞赛与创造 */ .competition { border-left: 4px solid #c0392b; background: #fff0f0; } /* 站点与结构 */ .site-structure { border-left: 4px solid #7f8c8d; background: #f5f5f5; } /* =========================== 导航框样式 - 简约版 =========================== */ .nav-container { background: #f8f9fa; border-radius: 6px; padding: 12px; margin: 12px 0; border: 1px solid #e9ecef; } .nav-container a { color: #2980b9; text-decoration: none; transition: color 0.2s ease; } .nav-container a:hover { color: #1a5276; text-decoration: underline; } /* =========================== 特殊样式 =========================== */ .mw-redirect { color: #27ae60; } /* =========================== 响应式设计 - 简约版 =========================== */ /* 平板设备 */ @media screen and (max-width: 1024px) { .section-group, .section-group.reverse { grid-template-columns: 1fr; gap: 16px; } .featured-card { grid-row: auto; } .card-group { flex-direction: row; } } /* 手机设备 */ @media screen and (max-width: 768px) { .section-group, .section-group.reverse { grid-template-columns: 1fr; gap: 16px; } .card-group { flex-direction: column; } .content-box { padding: 16px; margin: 8px 0; } .banner { padding: 16px; margin: 16px 0; } .banner .chinese-text { font-size: 20px; } .banner .english-text { font-size: 14px; } } /* 小屏手机设备 */ @media screen and (max-width: 480px) { .content-box { padding: 14px; } .content-box h2 { font-size: 1.1rem; } .banner .chinese-text { font-size: 18px; } .featured-card .content-box { min-height: 250px; } }
返回
MediaWiki:Common.css
。
搜索
搜索
查看“︁MediaWiki:Common.css”︁的源代码
添加语言
添加话题