打开/关闭搜索
搜索
打开/关闭菜单
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 门户页面样式 — v3.1 * 精确还原参考图比例:大方块功能入口 + 大方框世界图标 + 品字形 * 渐变色标题条 */ /* ========== 外层容器 ========== */ .fst-portal { max-width: 100%; } /* ========== page_box 通用框架 ========== */ .fst-box { border: 1px solid #ccc; border-radius: 10px; margin-bottom: 1.2rem; overflow: hidden; } .fst-box-header { background: linear-gradient(135deg, #2e7d46, #4caf50, #66bb6a); padding: 0.5em 0; text-align: center; } .fst-box-header h2 { margin: 0; padding: 0; border-bottom: none; color: #fff; font-family: sans-serif; font-size: 1.1em; font-weight: bold; } .fst-box-content { padding: 1.2em; background: #fff; } /* ========== 1. Welcome / Hero 区域 ========== */ .fst-welcome { border: 1px solid #ccc; border-radius: 10px; margin-bottom: 1rem; overflow: hidden; text-align: center; } .fst-welcome-head { background: linear-gradient(135deg, #1b5e20, #2e7d46, #388e3c); padding: 1em 1em 0.6em; } .fst-welcome-head h2 { margin: 0; padding: 0; border-bottom: none; color: #fff; font-family: sans-serif; font-size: 1.8em; font-weight: bold; letter-spacing: 0.05em; } .fst-welcome-body { padding: 0.8em 1em; background: linear-gradient(180deg, #e8f5e9, #fff); } .fst-welcome-text { text-align: center; } .fst-welcome-meta { color: #888; font-size: 0.85em; margin-top: 0.3em; } /* ========== 2. 公告薄条 ========== */ .fst-announce { background: linear-gradient(90deg, #e8f5e9, #c8e6c9, #e8f5e9); padding: 0.4em 1em; margin-bottom: 1.2rem; font-size: 0.9em; text-align: center; border: 1px solid #c8e6c9; border-radius: 10px; } /* ========== 3. 主体区域 ========== */ /* --- 第一行:功能入口(3×2大方块) + 世界图标(品字大框) 同行 --- */ .fst-row-top { display: flex; flex-wrap: wrap; gap: 1.2em; margin-bottom: 1.5em; align-items: start; } /* 功能入口:左侧约55%宽度,3列×2行大方块按钮 */ .fst-quicknav { flex: 1 1 55%; min-width: 0; } .fst-quicknav-grid { display: flex; flex-wrap: wrap; gap: 0.8em; } /* 每个按钮:正方形大方块,图标在上、文字在下 */ .fst-quicknav-item { flex: 0 0 calc(33.33% - 0.6em); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.2em 0.6em; border: 1px solid #e0e0e0; border-radius: 10px; background: #fafafa; transition: border-color 0.2s, background 0.2s, box-shadow 0.2s; text-align: center; min-height: 5em; } .fst-quicknav-item:hover { border-color: #4caf50; background: linear-gradient(180deg, #e8f5e9, #fff); box-shadow: 0 2px 8px rgba(76, 175, 80, 0.15); } .fst-quicknav-icon { font-size: 1.8em; line-height: 1; margin-bottom: 0.3em; } .fst-quicknav-label { font-size: 0.85em; color: #555; } .fst-quicknav-label a { text-decoration: none; color: #555; } .fst-quicknav-item:hover .fst-quicknav-label, .fst-quicknav-item:hover .fst-quicknav-label a { color: #2e7d46; } /* 世界图标区:右侧约40%宽度,品字形,大框 */ .fst-worlds { flex: 1 1 35%; min-width: 180px; display: flex; flex-direction: column; align-items: center; gap: 0.8em; } .fst-worlds-row { display: flex; gap: 0.8em; justify-content: center; } /* 每个世界:大方框,和功能入口按钮差不多大 */ .fst-world-item { display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; color: #333; border: 1px solid #e0e0e0; border-radius: 10px; padding: 1em 1.5em; min-width: 6em; min-height: 5em; background: #fafafa; transition: border-color 0.2s, background 0.2s, box-shadow 0.2s; } .fst-world-item:hover { border-color: #4caf50; background: linear-gradient(180deg, #e8f5e9, #fff); box-shadow: 0 2px 8px rgba(76, 175, 80, 0.15); color: #2e7d46; } .fst-world-symbol { font-size: 2.5em; line-height: 1; margin-bottom: 0.2em; } .fst-world-name { font-size: 0.85em; margin-top: 0.2em; } /* --- 分隔线 --- */ .fst-divider { border: none; border-top: 1px solid #e8e8e8; margin: 0.5em 0 0.8em; } /* --- Tab 栏 --- */ .fst-tabbar { display: flex; gap: 0; border-bottom: 2px solid #e0e0e0; margin-bottom: 0; } .fst-tabbar a { padding: 0.5em 1.4em; text-decoration: none; color: #888; font-size: 0.95em; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: color 0.15s, border-color 0.15s; } .fst-tabbar a:hover { color: #2e7d46; border-bottom-color: #4caf50; } /* Tab 面板切换 */ .fst-panel { display: none; } .fst-panel:target { display: block; } .fst-panel-default { display: block; } .fst-panel:target~.fst-panel-default { display: none; } /* --- Tab 下方两列:内容+时间线(左) + 公告(右) --- */ .fst-row-bottom { display: flex; flex-wrap: wrap; gap: 1.5em; margin-top: 0.5em; } .fst-main-left { flex: 1 1 60%; min-width: 0; } .fst-main-right { flex: 0 0 220px; } /* Tab 面板内容 */ .fst-panel-content { padding: 1em 0; line-height: 1.7; } .fst-panel-content ul { margin: 0.5em 0; padding-left: 1.5em; } /* 模组标签 */ .fst-mod-tag { display: inline-block; padding: 0.2em 0.6em; margin: 0.2em; background: linear-gradient(135deg, #e8f5e9, #c8e6c9); border: 1px solid #a5d6a7; border-radius: 4px; font-size: 0.85em; color: #2e7d46; } /* 规则表格 */ .fst-table { width: 100%; border-collapse: collapse; margin: 0.6em 0; font-size: 0.9em; } .fst-table th { background: #f5f5f5; padding: 0.4em 0.6em; text-align: left; border-bottom: 2px solid #e0e0e0; } .fst-table td { padding: 0.4em 0.6em; border-bottom: 1px solid #eee; } /* 链接列表 */ .fst-link-list { list-style: none; padding: 0; margin: 0.5em 0; } .fst-link-list li { padding: 0.25em 0; } /* --- 时间线 --- */ .fst-timeline-title { font-weight: bold; margin-top: 1em; margin-bottom: 0.5em; padding-top: 0.8em; border-top: 1px solid #e8e8e8; } .fst-timeline { padding-left: 0; } .fst-timeline-item { display: flex; align-items: baseline; gap: 0.6em; padding: 0.25em 0; } .fst-timeline-dot { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, #4caf50, #2e7d46); flex: 0 0 auto; margin-top: 0.3em; } .fst-timeline-date { flex: 0 0 5em; color: #999; font-size: 0.85em; } .fst-timeline-text { font-size: 0.9em; color: #444; } /* --- 公告列表(右列) --- */ .fst-news-title { font-weight: bold; margin-bottom: 0.5em; color: #333; padding-bottom: 0.3em; border-bottom: 2px solid #4caf50; } .fst-news-list { list-style: none; padding: 0; margin: 0; font-size: 0.9em; line-height: 1.8; } .fst-news-list li { padding: 0.3em 0; border-bottom: 1px solid #f0f0f0; color: #555; } .fst-news-list li:last-child { border-bottom: none; } .fst-news-list a { color: #2e7d46; } /* ========== 4. 地标 page_box ========== */ .fst-landmarks-grid { display: flex; flex-wrap: wrap; gap: 0.8em; } .fst-landmark-item { flex: 1 1 calc(33.33% - 0.6em); padding: 0.8em; border: 1px solid #e0e0e0; border-radius: 10px; background: #fafafa; transition: border-color 0.2s, box-shadow 0.2s; } .fst-landmark-item:hover { border-color: #4caf50; box-shadow: 0 2px 8px rgba(76, 175, 80, 0.12); } .fst-landmark-name { font-weight: bold; margin-bottom: 0.2em; } .fst-landmark-name a { color: #2e7d46; text-decoration: none; } .fst-landmark-desc { font-size: 0.85em; color: #999; } /* ========== 5. 页脚 ========== */ .fst-footer { text-align: center; padding: 0.8em 1em; color: #aaa; font-size: 0.85em; border: 1px solid #eee; border-radius: 10px; margin-top: 0.5rem; background: #fafafa; } /* ========== 响应式 ========== */ @media (max-width: 768px) { .fst-row-top { flex-direction: column; } .fst-quicknav { flex: 1 1 100%; } .fst-worlds { flex: 1 1 100%; } .fst-quicknav-item { flex: 0 0 calc(33.33% - 0.6em); } .fst-row-bottom { flex-direction: column; } .fst-main-right { flex: 1 1 auto; } .fst-landmark-item { flex: 1 1 100%; } } @media (max-width: 480px) { .fst-quicknav-item { flex: 0 0 calc(50% - 0.4em); } .fst-world-item { min-width: 5em; padding: 0.8em 1em; } } /* ========== 暗黑模式 ========== */ @media screen { html.skin-theme-clientpref-night .fst-box-content, html.skin-theme-clientpref-night .fst-welcome-body { background: #1a1a2e; color: #ccc; } html.skin-theme-clientpref-night .fst-quicknav-item, html.skin-theme-clientpref-night .fst-world-item { background: #222; border-color: #444; } html.skin-theme-clientpref-night .fst-quicknav-label, html.skin-theme-clientpref-night .fst-quicknav-label a { color: #ccc; } html.skin-theme-clientpref-night .fst-landmark-item { background: #222; border-color: #444; } html.skin-theme-clientpref-night .fst-announce { background: #1a2e1a; border-color: #2a4a2a; color: #aaa; } html.skin-theme-clientpref-night .fst-footer { background: #1a1a1a; border-color: #333; } }
返回
模板:Fstpagetest styles
。
查看“︁模板:Fstpagetest styles”︁的源代码
来自RIA | Wiki