打开/关闭搜索
搜索
打开/关闭菜单
1706
4999
924
6.3万
RIA | Wiki
导航
首页
最近更改
随机页面
MediaWiki帮助
上传文件
RIA社群
RIA官网&红报社
RIA论坛
打开/关闭外观设置菜单
通知
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。
user-interface-preferences
个人工具
登录
目前wiki关闭了自行注册账号的功能,如需注册账号,请查阅
Help:注册账号
。
查看“︁模板:Fstpagetest styles”︁的源代码
来自RIA | Wiki
查看
阅读
查看源代码
查看历史
associated-pages
模板
讨论
更多操作
←
模板:Fstpagetest styles
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于这些用户组的用户执行:
用户
、已验证用户
您必须确认您的电子邮件地址才能编辑页面。请通过
参数设置
设置并确认您的电子邮件地址。
您可以查看和复制此页面的源代码。
/* ============================================ FST 门户首页样式表 主题色:绿色系(森林绿 #3a8f5c) 设计原则:扁平通透、不滥用圆角、不做框中框 兼容:MediaWiki 1.39 TemplateStyles ============================================ */ /* === 变量定义(通过类复用) === */ /* === 主容器 === */ .fst-portal { max-width: 1100px; margin: 0 auto; padding: 0; font-size: 14px; line-height: 1.7; color: #1a1a1a; } /* === 1. Hero 横幅 === */ .fst-hero { background: linear-gradient(135deg, #3a8f5c 0%, #2d7048 60%, #1b5e3a 100%); color: #fff; padding: 40px 30px 30px; text-align: center; border-radius: 0 0 6px 6px; margin-bottom: 0; } .fst-hero-title { font-size: 2.4em; font-weight: 700; letter-spacing: 0.05em; margin: 0 0 6px; } .fst-hero-subtitle { font-size: 1.1em; opacity: 0.85; margin: 0 0 12px; font-weight: 400; } .fst-hero-meta { font-size: 0.85em; opacity: 0.65; margin: 0; } /* === 2. 动态 Banner(静态公告条) === */ .fst-banner { background-color: #e8f5e9; color: #2d7048; padding: 8px 20px; font-size: 0.9em; text-align: center; border-bottom: 1px solid #c8e6c9; } .fst-banner a { color: #2d7048; font-weight: 600; text-decoration: underline; } /* === 3. 三列主体区域 === */ .fst-main { display: flex; gap: 0; padding: 20px 0 0; } /* 左列:功能入口 */ .fst-sidebar-left { flex: 0 0 200px; padding: 0 16px 0 0; border-right: 1px solid #e0e0e0; } /* 中列:核心内容 */ .fst-content { flex: 1; padding: 0 20px; min-width: 0; } /* 右列:公告资讯 */ .fst-sidebar-right { flex: 0 0 220px; padding: 0 0 0 16px; border-left: 1px solid #e0e0e0; } /* === 区块标题统一样式 === */ .fst-section-title { font-size: 1.05em; font-weight: 700; color: #3a8f5c; margin: 0 0 12px; padding-bottom: 6px; border-bottom: 2px solid #3a8f5c; } /* === 4. 功能入口网格(左列) === */ .fst-quicknav { display: flex; flex-wrap: wrap; gap: 6px; } .fst-nav-item { display: flex; flex-direction: column; align-items: center; justify-content: center; width: calc(50% - 3px); padding: 12px 4px; text-align: center; font-size: 0.82em; color: #333; text-decoration: none; background: #f5f5f5; transition: background 0.15s; } .fst-nav-item:hover { background: #e8f5e9; color: #2d7048; } /* 图标区域(用 emoji 或 Unicode 字符) */ .fst-nav-icon { font-size: 1.6em; margin-bottom: 4px; line-height: 1; } .fst-nav-label { font-size: 0.85em; line-height: 1.3; } /* === 5. 世界图标区(中列上方) === */ .fst-worlds { display: flex; justify-content: center; gap: 24px; padding: 10px 0 16px; margin-bottom: 16px; border-bottom: 1px solid #e0e0e0; } .fst-world-icon { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: #333; transition: color 0.15s; } .fst-world-icon:hover { color: #3a8f5c; } /* 世界符号:无边框极简图标 */ .fst-world-symbol { font-size: 2.2em; line-height: 1; margin-bottom: 4px; } .fst-world-name { font-size: 0.8em; color: #666; } .fst-world-icon:hover .fst-world-name { color: #3a8f5c; } /* === 6. Tab 切换区域(中列) === */ .fst-tabs { margin-bottom: 20px; } /* Tab 导航栏 */ .fst-tabbar { display: flex; gap: 0; border-bottom: 2px solid #e0e0e0; margin-bottom: 0; } .fst-tabbar a { padding: 8px 16px; font-size: 0.92em; color: #666; text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: color 0.15s; } .fst-tabbar a:hover { color: #3a8f5c; } /* 当前 Tab 高亮(通过 :target 关联的 panel 来间接标识, 但因 CSS-only 限制,tabbar 高亮需用 :target 面板配合)*/ .fst-tabbar a.fst-tab-active { color: #3a8f5c; border-bottom-color: #3a8f5c; font-weight: 600; } /* Tab 面板 */ .fst-panel { display: none; padding: 14px 0 0; } /* 默认面板(虾仁起步):在无 :target 时显示 */ .fst-panel-default { display: block; } /* :target 激活时显示对应面板 */ .fst-panel:target { display: block; } /* 当任意面板被 :target 激活时,隐藏默认面板 通过 :target 同级选择器实现 */ .fst-panel:target~.fst-panel-default { display: none; } /* Tab 面板内容样式 */ .fst-panel-content { font-size: 0.92em; color: #333; line-height: 1.8; } .fst-panel-content ul { margin: 6px 0; padding-left: 18px; } .fst-panel-content li { margin-bottom: 4px; } /* 面板内链接列表 */ .fst-link-list { margin: 10px 0; padding: 0; list-style: none; } .fst-link-list li { padding: 6px 0; border-bottom: 1px solid #f0f0f0; } .fst-link-list li:last-child { border-bottom: none; } /* === 7. 发展历程时间线(中列下方) === */ .fst-timeline { margin: 20px 0; padding: 0; } .fst-timeline-item { display: flex; align-items: flex-start; gap: 12px; padding: 8px 0; border-left: 2px solid #c8e6c9; margin-left: 6px; padding-left: 16px; } /* 时间线节点圆点 */ .fst-timeline-dot { flex-shrink: 0; width: 10px; height: 10px; background: #3a8f5c; border-radius: 50%; margin-top: 5px; margin-left: -23px; } .fst-timeline-date { flex-shrink: 0; font-size: 0.82em; color: #999; min-width: 70px; } .fst-timeline-text { font-size: 0.88em; color: #333; } .fst-timeline-text a { color: #3a8f5c; } /* === 8. 公告资讯(右列) === */ .fst-news { padding: 0; } .fst-news-list { list-style: none; margin: 0; padding: 0; } .fst-news-list li { padding: 8px 0; border-bottom: 1px solid #f0f0f0; font-size: 0.88em; color: #333; line-height: 1.5; } .fst-news-list li:last-child { border-bottom: none; } /* 圆点装饰 */ .fst-news-list li::before { content: "●"; color: #3a8f5c; font-size: 0.6em; margin-right: 6px; vertical-align: middle; } /* === 9. 地标列表区(全宽) === */ .fst-landmarks { margin: 24px 0 0; padding: 20px 0 0; border-top: 1px solid #e0e0e0; } .fst-landmarks-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; } .fst-landmark-item { flex: 0 0 calc(33.333% - 7px); padding: 10px 12px; background: #fafafa; font-size: 0.88em; border-left: 3px solid #3a8f5c; transition: background 0.15s; } .fst-landmark-item:hover { background: #e8f5e9; } .fst-landmark-name { font-weight: 600; color: #1a1a1a; margin-bottom: 2px; } .fst-landmark-desc { font-size: 0.85em; color: #888; } /* === 10. 页脚 === */ .fst-footer { margin-top: 24px; padding: 16px 0; border-top: 1px solid #e0e0e0; text-align: center; font-size: 0.82em; color: #999; } .fst-footer a { color: #3a8f5c; } /* === 11. 通用辅助 === */ /* 链接默认样式 */ .fst-portal a { color: #3a8f5c; text-decoration: none; } .fst-portal a:hover { text-decoration: underline; color: #2d7048; } /* 表格样式(在 panel 内使用) */ .fst-table { width: 100%; border-collapse: collapse; font-size: 0.9em; margin: 8px 0; } .fst-table th { text-align: left; padding: 6px 10px; background: #e8f5e9; color: #2d7048; font-weight: 600; border-bottom: 2px solid #c8e6c9; } .fst-table td { padding: 6px 10px; border-bottom: 1px solid #f0f0f0; } /* 模组徽章 */ .fst-mod-tag { display: inline-block; padding: 2px 8px; background: #e8f5e9; color: #2d7048; font-size: 0.82em; margin: 2px 4px 2px 0; border-radius: 3px; } /* === 12. 响应式 === */ @media (max-width: 768px) { /* 三列转单列 */ .fst-main { flex-direction: column; } .fst-sidebar-left { flex: none; border-right: none; border-bottom: 1px solid #e0e0e0; padding: 0 0 16px; margin-bottom: 16px; } .fst-sidebar-right { flex: none; border-left: none; border-top: 1px solid #e0e0e0; padding: 16px 0 0; margin-top: 16px; } .fst-content { padding: 0; } /* 入口网格单列 */ .fst-nav-item { width: calc(33.333% - 4px); } /* 地标双列 */ .fst-landmark-item { flex: 0 0 calc(50% - 5px); } /* Hero 缩小 */ .fst-hero { padding: 24px 16px 20px; } .fst-hero-title { font-size: 1.8em; } } @media (max-width: 480px) { .fst-nav-item { width: calc(50% - 3px); } .fst-landmark-item { flex: 0 0 100%; } .fst-worlds { gap: 16px; } .fst-tabbar a { padding: 6px 10px; font-size: 0.85em; } }
返回
模板:Fstpagetest styles
。
查看“︁模板:Fstpagetest styles”︁的源代码
来自RIA | Wiki