打开/关闭菜单
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

目前wiki关闭了自行注册账号的功能,如需注册账号,请查阅Help:注册账号

模板:Fstpagetest styles:修订间差异

来自RIA | Wiki
ChenM0M留言 | 贡献
无编辑摘要
ChenM0M留言 | 贡献
无编辑摘要
 
(未显示同一用户的6个中间版本)
第1行: 第1行:
/* FST 门户页面样式 — v3 重构
/* TemplateStyles for fstpagetest.wiki
* 风格:融入 RIA Wiki 的 page_box 框架,绿色主题
  Design goals:
* 布局严格遵循参考图 */
  - Portal-like wiki homepage, not a web app
  - Clear section separation (esp. mobile)
  - No rounded corners anywhere
  - Avoid nested card-on-card framing
*/


/* ========== 基础变量 ========== */
.fst-page {
/* 主色:#3a8f5c(森林绿),边框同色 */
  width: 100%;
  color: #221b50;
}
 
/* Hard rule: absolutely no rounded corners in this portal */
.fst-page,
.fst-page * {
  border-radius: 0 !important;
}
 
.fst-page * {
  box-sizing: border-box;
}
 
/* MediaWiki parser often injects <p>; neutralize default margins */
.fst-page p {
  margin: 0;
}
 
/* External-link icon removal (keep portal clean) */
.fst-page a.external {
  background: none !important;
  padding-right: 0 !important;
}
 
.fst-page a.external::after {
  display: none !important;
}
 
.fst-page .fst-muted {
  color: #5d5a7d;
  font-size: 0.95em;
}
 
.fst-page .fst-mt10 {
  margin-top: 10px;
}
 
.fst-page .fst-kicker {
  color: #4a4570;
  font-size: 0.95em;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
 
.fst-page .fst-zone {
  margin-top: 34px;
  padding-top: 22px;
  padding-bottom: 22px;
  border-top: 2px solid #e3e1ee;
}
 
.fst-page .fst-zone-hero {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
 
.fst-page .fst-zone-mid {
  background:
    repeating-linear-gradient(0deg, rgba(100, 211, 150, 0.045), rgba(100, 211, 150, 0.045) 1px, transparent 1px, transparent 26px),
    repeating-linear-gradient(90deg, rgba(100, 211, 150, 0.045), rgba(100, 211, 150, 0.045) 1px, transparent 1px, transparent 26px),
    #f9f8fb;
  padding: 18px 12px 18px 12px;
}
 
.fst-page .fst-zone-nav {
  background: #f9f8fb;
  padding-left: 12px;
  padding-right: 12px;
}
 
.fst-page .fst-zone-landmarks {
  background: #f9f8fb;
  padding-left: 12px;
  padding-right: 12px;
}
 
.fst-page .fst-zone-footer {
  border-top: 2px solid #e3e1ee;
  padding-top: 18px;
}
 
.fst-page .fst-section-h {
  font-size: 1.25em;
  font-weight: 900;
  margin: 0 0 12px 0;
  border-left: 10px solid #e3e1ee;
  padding-left: 10px;
}
 
.fst-page .fst-h-nav {
  border-left-color: #64d396;
}
 
.fst-page .fst-h-worlds {
  border-left-color: #8bccff;
}
 
.fst-page .fst-h-track {
  border-left-color: #64d396;
}
 
.fst-page .fst-h-news {
  border-left-color: #8bccff;
}
 
.fst-page .fst-h-landmarks {
  border-left-color: #64d396;
}
 
.fst-page .fst-h-footer {
  border-left-color: #64d396;
}
 
/* Hero */
 
.fst-page .fst-hero-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  opacity: 0.22;
}
 
.fst-page .fst-hero-media p {
  margin: 0;
}
 
.fst-page .fst-hero-media a {
  display: block;
}
 
.fst-page .fst-hero-media img {
  width: 100%;
  height: auto;
}
 
.fst-page .fst-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f9f8fb 0%, #eafff3 54%, #eef7ff 100%);
  border-top: 1px solid #e3e1ee;
  border-bottom: 1px solid #e3e1ee;
  padding: 18px 18px 16px 18px;
}


/* ========== 外层容器 ========== */
.fst-page .fst-title {
.fst-portal {
  font-size: 2.2em;
    max-width: 100%;
  font-weight: 900;
  line-height: 1.1;
  margin-top: 6px;
}
}


/* ========== page_box 通用框架(仿 RIA 首页) ========== */
.fst-page .fst-sub {
.fst-box {
  margin-top: 8px;
    border: 1px solid #3a8f5c;
  color: #3b365f;
    margin-bottom: 1rem;
  font-size: 1.05em;
  line-height: 1.5;
}
}


.fst-box-header {
.fst-page .fst-meta {
    background-color: #3a8f5c;
  margin-top: 10px;
    padding: 0.4em 0;
  color: #4a4570;
    text-align: center;
  font-size: 0.95em;
}
}


.fst-box-header h2 {
.fst-page .fst-jump {
    margin: 0;
  margin-top: 8px;
    padding: 0;
  color: #4a4570;
    border-bottom: none;
  font-size: 0.95em;
    color: #fff;
  line-height: 1.7;
    font-family: sans-serif;
    font-size: 1.1em;
}
}


.fst-box-content {
.fst-page .fst-jump a {
    padding: 1em;
  text-decoration: none;
  border-bottom: 1px dotted #8bccff;
}
}


/* 移除内容区首尾段落的多余边距 */
.fst-page .fst-jump a:hover {
.fst-box-content p:first-child {
  border-bottom-style: solid;
    margin-top: 0;
}
}


.fst-box-content p:last-child {
/* Banner */
    margin-bottom: 0;
 
.fst-page .fst-banner {
  padding: 10px 12px;
  border: 1px solid #e3e1ee;
  border-left: 10px solid #64d396;
  background: #ffffff;
}
}


/* ========== 1. Welcome 区域(仿 RIA .welcome) ========== */
.fst-page .fst-banner-tag {
.fst-welcome {
  display: inline-block;
    border: 1px solid #3a8f5c;
  padding: 3px 10px;
    margin-bottom: 1rem;
  margin-right: 10px;
  border: 1px solid #64d396;
  background: #f9f8fb;
  font-weight: 900;
  font-size: 0.92em;
  color: #221b50;
}
}


.fst-welcome-head {
.fst-page .fst-banner-text {
    background-color: #3a8f5c;
  color: #3b365f;
    padding: 0.5em;
}
}


.fst-welcome-head h2 {
/* Layout */
    margin: 0;
 
    padding: 0;
.fst-page .fst-row {
    border-bottom: none;
  display: flex;
    color: #fff;
  flex-wrap: wrap;
    text-align: center;
  margin: -10px;
    font-family: sans-serif;
    font-size: 1.4em;
}
}


.fst-welcome-body {
.fst-page .fst-col {
    padding: 1em;
  margin: 10px;
    display: flex;
  flex: 1 1 420px;
    flex-wrap: wrap;
  min-width: 320px;
    justify-content: center;
    align-items: center;
}
}


.fst-welcome-text {
/* Quick nav */
    flex: 1 1 20em;
 
    text-align: center;
.fst-page .fst-navrow {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -6px;
  padding-left: 12px;
  border-left: 10px solid #e3e1ee;
}
}


.fst-welcome-text p:first-child {
.fst-page .fst-navrow + .fst-navrow {
    margin-top: 0;
  margin-top: 12px;
}
}


.fst-welcome-text p:last-child {
.fst-page .fst-navrow-1 {
    margin-bottom: 0;
  border-left-color: #64d396;
}
}


.fst-welcome-meta {
.fst-page .fst-navrow-2 {
    color: #666;
  border-left-color: #8bccff;
    font-size: 0.9em;
    margin-top: 0.3em;
}
}


/* ========== 2. 公告薄条 ========== */
.fst-page .fst-navtile {
.fst-announce {
  margin: 6px;
    background-color: #e8f5e9;
  flex: 1 1 calc(33.333% - 12px);
    padding: 0.4em 1em;
  min-width: 150px;
    margin-bottom: 1rem;
    font-size: 0.9em;
    text-align: center;
    border: 1px solid #c8e6c9;
}
}


/* ========== 3. 主体 page_box ========== */
.fst-page .fst-navtile a {
  display: block;
  padding: 10px 8px;
  border: 0;
  background: transparent;
  text-decoration: none;
  text-align: center;
  color: #221b50;
  transition: background 120ms ease;
}


/* --- 第一行:功能入口(3×2) + 世界图标(品字) --- */
.fst-page .fst-navtile a:hover {
.fst-row-top {
  background: #ffffff;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5em;
    margin-bottom: 1.2em;
}
}


/* 功能入口网格:3列×2行 */
/* Suppress default external-link icon inside portal tiles */
.fst-quicknav {
.fst-page .fst-navtile a.external {
    flex: 1 1 55%;
  background: none !important;
  padding-right: 0 !important;
}
}


.fst-quicknav-grid {
.fst-page .fst-navtile a.external:hover {
    display: flex;
  background: #ffffff !important;
    flex-wrap: wrap;
    gap: 0.6em;
}
}


.fst-quicknav-item {
.fst-page .fst-navicon {
    flex: 0 0 calc(33.33% - 0.4em);
  display: inline-block;
    display: flex;
  width: 56px;
    align-items: center;
  height: 56px;
    gap: 0.4em;
  line-height: 54px;
    padding: 0.6em 0.8em;
  border: 2px solid #e3e1ee;
    border: 1px solid #ddd;
  background: transparent;
    background: #fafafa;
  font-weight: 900;
    transition: border-color 0.15s, background 0.15s;
  font-size: 1.05em;
  letter-spacing: 0.02em;
  color: #221b50;
}
}


.fst-quicknav-item:hover {
.fst-page .fst-navrow-1 .fst-navicon {
    border-color: #3a8f5c;
  border-color: #64d396;
    background: #f0f8f0;
  color: #221b50;
}
}


.fst-quicknav-icon {
.fst-page .fst-navrow-2 .fst-navicon {
    font-size: 1.2em;
  border-color: #8bccff;
    flex: 0 0 auto;
  color: #221b50;
}
}


.fst-quicknav-label {
.fst-page .fst-navtitle {
    font-size: 0.9em;
  display: block;
  font-weight: 900;
  font-size: 1.02em;
  margin-top: 10px;
}
}


.fst-quicknav-label a {
.fst-page .fst-navsub {
    text-decoration: none;
  display: block;
    color: #333;
  margin-top: 6px;
  color: #5d5a7d;
  font-size: 0.9em;
}
}


.fst-quicknav-item:hover .fst-quicknav-label a {
.fst-page .fst-navnote {
    color: #3a8f5c;
  margin-top: 12px;
  padding-left: 12px;
  border-left: 10px solid #e3e1ee;
  color: #4a4570;
  line-height: 1.6;
}
}


/* 世界图标区:品字形排列 */
/* Worlds */
.fst-worlds {
 
    flex: 0 0 auto;
.fst-page .fst-world-grid {
    display: flex;
  display: flex;
    flex-direction: column;
  flex-wrap: wrap;
    align-items: center;
  margin: -8px;
    gap: 0.5em;
}
}


.fst-worlds-row {
.fst-page .fst-world {
    display: flex;
  margin: 8px;
    gap: 1.2em;
  padding: 8px 0 12px 0;
    justify-content: center;
  border-bottom: 2px solid #e3e1ee;
  background: transparent;
  flex: 1 1 calc(50% - 16px);
  min-width: 240px;
}
}


.fst-world-icon {
.fst-page .fst-world-wide {
    display: flex;
  flex-basis: 100%;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    transition: color 0.15s;
}
}


.fst-world-icon:hover {
.fst-page .fst-world-laputa {
    color: #3a8f5c;
  border-bottom-color: #64d396;
}
}


.fst-world-symbol {
.fst-page .fst-world-eden {
    font-size: 2em;
  border-bottom-color: #8bccff;
    line-height: 1;
}
}


.fst-world-name {
.fst-page .fst-world-sat {
    font-size: 0.8em;
  border-bottom-color: #e3e1ee;
    margin-top: 0.2em;
}
}


/* --- 分隔线 --- */
.fst-page .fst-world-head {
.fst-divider {
  display: flex;
    border: none;
  flex-wrap: wrap;
    border-top: 1px solid #e0e0e0;
  align-items: center;
    margin: 0.8em 0;
}
}


/* --- Tab 区域 --- */
.fst-page .fst-world-icon {
.fst-tabbar {
  display: inline-block;
    display: flex;
  width: 58px;
    gap: 0;
  height: 58px;
    border-bottom: 1px solid #e0e0e0;
  line-height: 56px;
    margin-bottom: 0;
  text-align: center;
  border: 2px solid #e3e1ee;
  background: transparent;
  margin-right: 12px;
  font-weight: 900;
  font-size: 1.05em;
  color: #221b50;
  transition: border-color 120ms ease;
}
}


.fst-tabbar a {
.fst-page .fst-world-icon-laputa {
    padding: 0.5em 1.2em;
  border-color: #64d396;
    text-decoration: none;
  color: #221b50;
    color: #666;
    font-size: 0.95em;
    border-bottom: 2px solid transparent;
    transition: color 0.15s;
}
}


.fst-tabbar a:hover {
.fst-page .fst-world-icon-eden {
    color: #3a8f5c;
  border-color: #8bccff;
    border-bottom-color: #3a8f5c;
  color: #221b50;
}
}


/* Tab 面板 */
.fst-page .fst-world-icon-sat {
.fst-panel {
  border-color: #e3e1ee;
    display: none;
  color: #221b50;
}
}


.fst-panel:target {
.fst-page .fst-world-name {
    display: block;
  font-weight: 900;
  font-size: 1.08em;
  margin-right: 10px;
}
}


.fst-panel-default {
.fst-page .fst-world-badge {
    display: block;
  display: inline-block;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 0.88em;
  font-weight: 900;
  color: #4a4570;
}
}


.fst-panel:target~.fst-panel-default {
.fst-page .fst-world-desc {
    display: none;
  margin-top: 8px;
  color: #4a4570;
  font-size: 0.95em;
  line-height: 1.6;
}
}


/* --- 第三行:Tab内容+时间线(左) + 公告(右) --- */
.fst-page .fst-world-links {
.fst-row-bottom {
  margin-top: 10px;
    display: flex;
  padding-top: 10px;
    flex-wrap: wrap;
  border-top: 1px solid #e3e1ee;
    gap: 1.5em;
  color: #4a4570;
  line-height: 1.6;
}
}


.fst-main-left {
.fst-page .fst-world-note {
    flex: 1 1 60%;
  margin-top: 10px;
    min-width: 0;
}
 
/* Tabs */
 
.fst-page .fst-tabs {
  background: transparent;
  padding: 0;
}
 
.fst-page .fst-tab-anchor {
  display: block;
  height: 0;
  overflow: hidden;
}
 
.fst-page .fst-tabbar {
  margin-bottom: 10px;
}
}


.fst-main-right {
.fst-page .fst-tabbar p {
    flex: 0 0 240px;
  display: inline;
  margin: 0;
}
}


/* Tab 面板内容 */
.fst-page .fst-tabbar br {
.fst-panel-content {
  display: none;
    padding: 1em 0;
    line-height: 1.7;
}
}


.fst-panel-content ul {
.fst-page .fst-tabbar a {
    margin: 0.5em 0;
  display: inline-block;
    padding-left: 1.5em;
  padding: 6px 10px;
  margin: 0 10px 8px 0;
  border: 1px solid transparent;
  background: transparent;
  text-decoration: none;
  font-weight: 900;
  color: #221b50;
  transition: background 120ms ease, border-color 120ms ease;
}
}


/* 模组标签 */
.fst-page .fst-tabbar a:hover {
.fst-mod-tag {
  background: #ffffff;
    display: inline-block;
  border-color: #c9d2dc;
    padding: 0.15em 0.6em;
    margin: 0.2em;
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
    font-size: 0.85em;
    color: #2e7d46;
}
}


/* 规则表格 */
.fst-page .fst-tabpanel {
.fst-table {
  display: none;
    width: 100%;
  padding: 10px 0 12px 12px;
    border-collapse: collapse;
  border-left: 6px solid #e3e1ee;
    margin: 0.8em 0;
    font-size: 0.9em;
}
}


.fst-table th {
.fst-page .fst-tabpanel-beginner {
    background: #f5f5f5;
  display: block;
    padding: 0.4em 0.6em;
  border-left-color: #64d396;
    text-align: left;
    border-bottom: 2px solid #e0e0e0;
}
}


.fst-table td {
.fst-page .fst-tabpanel-intermediate {
    padding: 0.4em 0.6em;
  border-left-color: #64d396;
    border-bottom: 1px solid #eee;
}
}


/* 链接列表 */
.fst-page .fst-tabpanel-advanced {
.fst-link-list {
  border-left-color: #64d396;
    list-style: none;
    padding: 0;
    margin: 0.5em 0;
}
}


.fst-link-list li {
.fst-page .fst-panel-h {
    padding: 0.3em 0;
  font-weight: 900;
  font-size: 1.05em;
  margin: 0 0 6px 0;
}
}


/* --- 时间线 --- */
.fst-page .fst-panel-p {
.fst-timeline-title {
  color: #4a4570;
    font-weight: bold;
  line-height: 1.6;
    margin-top: 1em;
    margin-bottom: 0.5em;
    padding-top: 0.8em;
    border-top: 1px solid #e0e0e0;
}
}


.fst-timeline {
.fst-page .fst-panel-links {
    padding-left: 0;
  margin-top: 8px;
  color: #4a4570;
  line-height: 1.6;
}
}


.fst-timeline-item {
/* Default highlighted tab */
    display: flex;
.fst-page .fst-tabbar a[href="#tab-beginner"] {
    align-items: baseline;
  background: #ffffff;
    gap: 0.8em;
  border-color: #64d396;
    padding: 0.3em 0;
}
}


.fst-timeline-dot {
/* Target logic: show panel + highlight tab */
    width: 8px;
.fst-page #tab-intermediate:target ~ .fst-tabpanels .fst-tabpanel-beginner,
    height: 8px;
.fst-page #tab-advanced:target ~ .fst-tabpanels .fst-tabpanel-beginner {
    border-radius: 50%;
  display: none;
    background: #3a8f5c;
    flex: 0 0 auto;
    margin-top: 0.35em;
}
}


.fst-timeline-date {
.fst-page #tab-intermediate:target ~ .fst-tabpanels .fst-tabpanel-intermediate {
    flex: 0 0 5em;
  display: block;
    color: #888;
    font-size: 0.85em;
}
}


.fst-timeline-text {
.fst-page #tab-advanced:target ~ .fst-tabpanels .fst-tabpanel-advanced {
    font-size: 0.9em;
  display: block;
    color: #333;
}
}


/* --- 公告列表(右列) --- */
.fst-page #tab-intermediate:target ~ .fst-tabbar a[href="#tab-beginner"],
.fst-news-title {
.fst-page #tab-advanced:target ~ .fst-tabbar a[href="#tab-beginner"] {
    font-weight: bold;
  background: transparent;
    margin-bottom: 0.5em;
  border-color: transparent;
    color: #333;
}
}


.fst-news-list {
.fst-page #tab-intermediate:target ~ .fst-tabbar a[href="#tab-intermediate"] {
    list-style: disc;
  background: #ffffff;
    padding-left: 1.2em;
  border-color: #64d396;
    margin: 0;
    font-size: 0.9em;
    line-height: 1.8;
}
}


.fst-news-list li {
.fst-page #tab-advanced:target ~ .fst-tabbar a[href="#tab-advanced"] {
    color: #555;
  background: #ffffff;
  border-color: #64d396;
}
}


.fst-news-list a {
/* Timeline + topics */
    color: #3a8f5c;
 
.fst-page .fst-timeline {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e3e1ee;
  border-left: 2px solid #e3e1ee;
  padding-left: 12px;
}
}


/* ========== 4. 地标 page_box ========== */
.fst-page .fst-timeline-h {
.fst-landmarks-grid {
  font-weight: 900;
    display: flex;
  margin: 0 0 8px 0;
    flex-wrap: wrap;
    gap: 1em;
}
}


.fst-landmark-item {
.fst-page .fst-timeline-item {
    flex: 1 1 calc(33.33% - 0.7em);
  margin-top: 6px;
    padding: 0.6em;
    border: 1px solid #e0e0e0;
    background: #fafafa;
}
}


.fst-landmark-item:hover {
.fst-page .fst-timeline-date {
    border-color: #3a8f5c;
  display: inline-block;
    background: #f0f8f0;
  min-width: 74px;
  font-weight: 900;
  color: #221b50;
}
}


.fst-landmark-name {
.fst-page .fst-timeline-text {
    font-weight: bold;
  color: #4a4570;
    margin-bottom: 0.2em;
}
}


.fst-landmark-name a {
.fst-page .fst-topics {
    color: #3a8f5c;
  margin-top: 12px;
    text-decoration: none;
  padding-top: 12px;
  border-top: 1px solid #e3e1ee;
}
}


.fst-landmark-desc {
.fst-page .fst-topics-h {
    font-size: 0.85em;
  font-weight: 900;
    color: #888;
  margin: 0 0 6px 0;
}
}


/* ========== 5. 页脚 ========== */
.fst-page .fst-topics-line {
.fst-footer {
  color: #4a4570;
    text-align: center;
  line-height: 1.7;
    padding: 0.8em 0;
    color: #999;
    font-size: 0.85em;
    margin-top: 0.5rem;
}
}


/* ========== 响应式适配 ========== */
/* News */
@media (max-width: 768px) {
    .fst-row-top {
        flex-direction: column;
    }


    .fst-quicknav-item {
.fst-page .fst-news {
        flex: 0 0 calc(50% - 0.3em);
  background: transparent;
    }
  padding: 0;
}


    .fst-row-bottom {
.fst-page .fst-news-item {
        flex-direction: column;
  padding: 10px 0 10px 12px;
    }
  border-left: 6px solid #8bccff;
  border-bottom: 0;
}


    .fst-main-right {
.fst-page .fst-news-item + .fst-news-item {
        flex: 1 1 auto;
  margin-top: 10px;
    }
}


    .fst-landmark-item {
.fst-page .fst-news-item:last-child {
        flex: 1 1 100%;
  border-bottom: 0;
    }
}
}


@media (max-width: 480px) {
.fst-page .fst-news-title {
    .fst-quicknav-item {
  font-weight: 900;
        flex: 1 1 100%;
  margin: 0 0 4px 0;
    }
}
}


/* ========== 暗黑模式适配 ========== */
/* Landmarks table (template output) */
@media screen {


    html.skin-theme-clientpref-night .fst-box-content,
.fst-page .fst-zone-landmarks table {
    html.skin-theme-clientpref-night .fst-welcome-body {
  width: 100%;
        background-color: #1a1a2e;
  background: #ffffff !important;
        color: #ccc;
}
    }


    html.skin-theme-clientpref-night .fst-quicknav-item {
.fst-page .fst-zone-landmarks th,
        background: #222;
.fst-page .fst-zone-landmarks td {
        border-color: #444;
  border: 1px solid #e3e1ee !important;
        color: #ccc;
  padding: 6px 8px;
    }
  background: #ffffff !important;
  color: #221b50 !important;
}


    html.skin-theme-clientpref-night .fst-quicknav-label a {
.fst-page .fst-zone-landmarks th {
        color: #ccc;
  background: #f9f8fb !important;
    }
}


    html.skin-theme-clientpref-night .fst-landmark-item {
.fst-page .fst-zone-landmarks tr:nth-child(even) td {
        background: #222;
  background: #f9f8fb !important;
        border-color: #444;
}
    }


     html.skin-theme-clientpref-night .fst-announce {
/* Footer */
        background: #1a2e1a;
 
        border-color: #2a4a2a;
.fst-page .fst-footer-links {
        color: #aaa;
  margin-top: 10px;
     }
  color: #4a4570;
  line-height: 1.7;
}
 
/* Keep navbox/table styling tame inside this portal */
.fst-page .navbox,
.fst-page table {
  box-shadow: none;
}
 
@media (max-width: 720px) {
  .fst-page .fst-zone-mid {
    padding-left: 10px;
     padding-right: 10px;
  }
 
  .fst-page .fst-col {
    min-width: 0;
  }
 
  .fst-page .fst-navtile {
    flex-basis: calc(50% - 12px);
    min-width: 0;
  }
 
  .fst-page .fst-world {
    min-width: 0;
     flex-basis: 100%;
  }
}
}

2026年2月14日 (六) 17:24的最新版本

/* TemplateStyles for fstpagetest.wiki
   Design goals:
   - Portal-like wiki homepage, not a web app
   - Clear section separation (esp. mobile)
   - No rounded corners anywhere
   - Avoid nested card-on-card framing
*/

.fst-page {
  width: 100%;
  color: #221b50;
}

/* Hard rule: absolutely no rounded corners in this portal */
.fst-page,
.fst-page * {
  border-radius: 0 !important;
}

.fst-page * {
  box-sizing: border-box;
}

/* MediaWiki parser often injects <p>; neutralize default margins */
.fst-page p {
  margin: 0;
}

/* External-link icon removal (keep portal clean) */
.fst-page a.external {
  background: none !important;
  padding-right: 0 !important;
}

.fst-page a.external::after {
  display: none !important;
}

.fst-page .fst-muted {
  color: #5d5a7d;
  font-size: 0.95em;
}

.fst-page .fst-mt10 {
  margin-top: 10px;
}

.fst-page .fst-kicker {
  color: #4a4570;
  font-size: 0.95em;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.fst-page .fst-zone {
  margin-top: 34px;
  padding-top: 22px;
  padding-bottom: 22px;
  border-top: 2px solid #e3e1ee;
}

.fst-page .fst-zone-hero {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.fst-page .fst-zone-mid {
  background:
    repeating-linear-gradient(0deg, rgba(100, 211, 150, 0.045), rgba(100, 211, 150, 0.045) 1px, transparent 1px, transparent 26px),
    repeating-linear-gradient(90deg, rgba(100, 211, 150, 0.045), rgba(100, 211, 150, 0.045) 1px, transparent 1px, transparent 26px),
    #f9f8fb;
  padding: 18px 12px 18px 12px;
}

.fst-page .fst-zone-nav {
  background: #f9f8fb;
  padding-left: 12px;
  padding-right: 12px;
}

.fst-page .fst-zone-landmarks {
  background: #f9f8fb;
  padding-left: 12px;
  padding-right: 12px;
}

.fst-page .fst-zone-footer {
  border-top: 2px solid #e3e1ee;
  padding-top: 18px;
}

.fst-page .fst-section-h {
  font-size: 1.25em;
  font-weight: 900;
  margin: 0 0 12px 0;
  border-left: 10px solid #e3e1ee;
  padding-left: 10px;
}

.fst-page .fst-h-nav {
  border-left-color: #64d396;
}

.fst-page .fst-h-worlds {
  border-left-color: #8bccff;
}

.fst-page .fst-h-track {
  border-left-color: #64d396;
}

.fst-page .fst-h-news {
  border-left-color: #8bccff;
}

.fst-page .fst-h-landmarks {
  border-left-color: #64d396;
}

.fst-page .fst-h-footer {
  border-left-color: #64d396;
}

/* Hero */

.fst-page .fst-hero-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  opacity: 0.22;
}

.fst-page .fst-hero-media p {
  margin: 0;
}

.fst-page .fst-hero-media a {
  display: block;
}

.fst-page .fst-hero-media img {
  width: 100%;
  height: auto;
}

.fst-page .fst-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f9f8fb 0%, #eafff3 54%, #eef7ff 100%);
  border-top: 1px solid #e3e1ee;
  border-bottom: 1px solid #e3e1ee;
  padding: 18px 18px 16px 18px;
}

.fst-page .fst-title {
  font-size: 2.2em;
  font-weight: 900;
  line-height: 1.1;
  margin-top: 6px;
}

.fst-page .fst-sub {
  margin-top: 8px;
  color: #3b365f;
  font-size: 1.05em;
  line-height: 1.5;
}

.fst-page .fst-meta {
  margin-top: 10px;
  color: #4a4570;
  font-size: 0.95em;
}

.fst-page .fst-jump {
  margin-top: 8px;
  color: #4a4570;
  font-size: 0.95em;
  line-height: 1.7;
}

.fst-page .fst-jump a {
  text-decoration: none;
  border-bottom: 1px dotted #8bccff;
}

.fst-page .fst-jump a:hover {
  border-bottom-style: solid;
}

/* Banner */

.fst-page .fst-banner {
  padding: 10px 12px;
  border: 1px solid #e3e1ee;
  border-left: 10px solid #64d396;
  background: #ffffff;
}

.fst-page .fst-banner-tag {
  display: inline-block;
  padding: 3px 10px;
  margin-right: 10px;
  border: 1px solid #64d396;
  background: #f9f8fb;
  font-weight: 900;
  font-size: 0.92em;
  color: #221b50;
}

.fst-page .fst-banner-text {
  color: #3b365f;
}

/* Layout */

.fst-page .fst-row {
  display: flex;
  flex-wrap: wrap;
  margin: -10px;
}

.fst-page .fst-col {
  margin: 10px;
  flex: 1 1 420px;
  min-width: 320px;
}

/* Quick nav */

.fst-page .fst-navrow {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -6px;
  padding-left: 12px;
  border-left: 10px solid #e3e1ee;
}

.fst-page .fst-navrow + .fst-navrow {
  margin-top: 12px;
}

.fst-page .fst-navrow-1 {
  border-left-color: #64d396;
}

.fst-page .fst-navrow-2 {
  border-left-color: #8bccff;
}

.fst-page .fst-navtile {
  margin: 6px;
  flex: 1 1 calc(33.333% - 12px);
  min-width: 150px;
}

.fst-page .fst-navtile a {
  display: block;
  padding: 10px 8px;
  border: 0;
  background: transparent;
  text-decoration: none;
  text-align: center;
  color: #221b50;
  transition: background 120ms ease;
}

.fst-page .fst-navtile a:hover {
  background: #ffffff;
}

/* Suppress default external-link icon inside portal tiles */
.fst-page .fst-navtile a.external {
  background: none !important;
  padding-right: 0 !important;
}

.fst-page .fst-navtile a.external:hover {
  background: #ffffff !important;
}

.fst-page .fst-navicon {
  display: inline-block;
  width: 56px;
  height: 56px;
  line-height: 54px;
  border: 2px solid #e3e1ee;
  background: transparent;
  font-weight: 900;
  font-size: 1.05em;
  letter-spacing: 0.02em;
  color: #221b50;
}

.fst-page .fst-navrow-1 .fst-navicon {
  border-color: #64d396;
  color: #221b50;
}

.fst-page .fst-navrow-2 .fst-navicon {
  border-color: #8bccff;
  color: #221b50;
}

.fst-page .fst-navtitle {
  display: block;
  font-weight: 900;
  font-size: 1.02em;
  margin-top: 10px;
}

.fst-page .fst-navsub {
  display: block;
  margin-top: 6px;
  color: #5d5a7d;
  font-size: 0.9em;
}

.fst-page .fst-navnote {
  margin-top: 12px;
  padding-left: 12px;
  border-left: 10px solid #e3e1ee;
  color: #4a4570;
  line-height: 1.6;
}

/* Worlds */

.fst-page .fst-world-grid {
  display: flex;
  flex-wrap: wrap;
  margin: -8px;
}

.fst-page .fst-world {
  margin: 8px;
  padding: 8px 0 12px 0;
  border-bottom: 2px solid #e3e1ee;
  background: transparent;
  flex: 1 1 calc(50% - 16px);
  min-width: 240px;
}

.fst-page .fst-world-wide {
  flex-basis: 100%;
}

.fst-page .fst-world-laputa {
  border-bottom-color: #64d396;
}

.fst-page .fst-world-eden {
  border-bottom-color: #8bccff;
}

.fst-page .fst-world-sat {
  border-bottom-color: #e3e1ee;
}

.fst-page .fst-world-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.fst-page .fst-world-icon {
  display: inline-block;
  width: 58px;
  height: 58px;
  line-height: 56px;
  text-align: center;
  border: 2px solid #e3e1ee;
  background: transparent;
  margin-right: 12px;
  font-weight: 900;
  font-size: 1.05em;
  color: #221b50;
  transition: border-color 120ms ease;
}

.fst-page .fst-world-icon-laputa {
  border-color: #64d396;
  color: #221b50;
}

.fst-page .fst-world-icon-eden {
  border-color: #8bccff;
  color: #221b50;
}

.fst-page .fst-world-icon-sat {
  border-color: #e3e1ee;
  color: #221b50;
}

.fst-page .fst-world-name {
  font-weight: 900;
  font-size: 1.08em;
  margin-right: 10px;
}

.fst-page .fst-world-badge {
  display: inline-block;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 0.88em;
  font-weight: 900;
  color: #4a4570;
}

.fst-page .fst-world-desc {
  margin-top: 8px;
  color: #4a4570;
  font-size: 0.95em;
  line-height: 1.6;
}

.fst-page .fst-world-links {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e3e1ee;
  color: #4a4570;
  line-height: 1.6;
}

.fst-page .fst-world-note {
  margin-top: 10px;
}

/* Tabs */

.fst-page .fst-tabs {
  background: transparent;
  padding: 0;
}

.fst-page .fst-tab-anchor {
  display: block;
  height: 0;
  overflow: hidden;
}

.fst-page .fst-tabbar {
  margin-bottom: 10px;
}

.fst-page .fst-tabbar p {
  display: inline;
  margin: 0;
}

.fst-page .fst-tabbar br {
  display: none;
}

.fst-page .fst-tabbar a {
  display: inline-block;
  padding: 6px 10px;
  margin: 0 10px 8px 0;
  border: 1px solid transparent;
  background: transparent;
  text-decoration: none;
  font-weight: 900;
  color: #221b50;
  transition: background 120ms ease, border-color 120ms ease;
}

.fst-page .fst-tabbar a:hover {
  background: #ffffff;
  border-color: #c9d2dc;
}

.fst-page .fst-tabpanel {
  display: none;
  padding: 10px 0 12px 12px;
  border-left: 6px solid #e3e1ee;
}

.fst-page .fst-tabpanel-beginner {
  display: block;
  border-left-color: #64d396;
}

.fst-page .fst-tabpanel-intermediate {
  border-left-color: #64d396;
}

.fst-page .fst-tabpanel-advanced {
  border-left-color: #64d396;
}

.fst-page .fst-panel-h {
  font-weight: 900;
  font-size: 1.05em;
  margin: 0 0 6px 0;
}

.fst-page .fst-panel-p {
  color: #4a4570;
  line-height: 1.6;
}

.fst-page .fst-panel-links {
  margin-top: 8px;
  color: #4a4570;
  line-height: 1.6;
}

/* Default highlighted tab */
.fst-page .fst-tabbar a[href="#tab-beginner"] {
  background: #ffffff;
  border-color: #64d396;
}

/* Target logic: show panel + highlight tab */
.fst-page #tab-intermediate:target ~ .fst-tabpanels .fst-tabpanel-beginner,
.fst-page #tab-advanced:target ~ .fst-tabpanels .fst-tabpanel-beginner {
  display: none;
}

.fst-page #tab-intermediate:target ~ .fst-tabpanels .fst-tabpanel-intermediate {
  display: block;
}

.fst-page #tab-advanced:target ~ .fst-tabpanels .fst-tabpanel-advanced {
  display: block;
}

.fst-page #tab-intermediate:target ~ .fst-tabbar a[href="#tab-beginner"],
.fst-page #tab-advanced:target ~ .fst-tabbar a[href="#tab-beginner"] {
  background: transparent;
  border-color: transparent;
}

.fst-page #tab-intermediate:target ~ .fst-tabbar a[href="#tab-intermediate"] {
  background: #ffffff;
  border-color: #64d396;
}

.fst-page #tab-advanced:target ~ .fst-tabbar a[href="#tab-advanced"] {
  background: #ffffff;
  border-color: #64d396;
}

/* Timeline + topics */

.fst-page .fst-timeline {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e3e1ee;
  border-left: 2px solid #e3e1ee;
  padding-left: 12px;
}

.fst-page .fst-timeline-h {
  font-weight: 900;
  margin: 0 0 8px 0;
}

.fst-page .fst-timeline-item {
  margin-top: 6px;
}

.fst-page .fst-timeline-date {
  display: inline-block;
  min-width: 74px;
  font-weight: 900;
  color: #221b50;
}

.fst-page .fst-timeline-text {
  color: #4a4570;
}

.fst-page .fst-topics {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e3e1ee;
}

.fst-page .fst-topics-h {
  font-weight: 900;
  margin: 0 0 6px 0;
}

.fst-page .fst-topics-line {
  color: #4a4570;
  line-height: 1.7;
}

/* News */

.fst-page .fst-news {
  background: transparent;
  padding: 0;
}

.fst-page .fst-news-item {
  padding: 10px 0 10px 12px;
  border-left: 6px solid #8bccff;
  border-bottom: 0;
}

.fst-page .fst-news-item + .fst-news-item {
  margin-top: 10px;
}

.fst-page .fst-news-item:last-child {
  border-bottom: 0;
}

.fst-page .fst-news-title {
  font-weight: 900;
  margin: 0 0 4px 0;
}

/* Landmarks table (template output) */

.fst-page .fst-zone-landmarks table {
  width: 100%;
  background: #ffffff !important;
}

.fst-page .fst-zone-landmarks th,
.fst-page .fst-zone-landmarks td {
  border: 1px solid #e3e1ee !important;
  padding: 6px 8px;
  background: #ffffff !important;
  color: #221b50 !important;
}

.fst-page .fst-zone-landmarks th {
  background: #f9f8fb !important;
}

.fst-page .fst-zone-landmarks tr:nth-child(even) td {
  background: #f9f8fb !important;
}

/* Footer */

.fst-page .fst-footer-links {
  margin-top: 10px;
  color: #4a4570;
  line-height: 1.7;
}

/* Keep navbox/table styling tame inside this portal */
.fst-page .navbox,
.fst-page table {
  box-shadow: none;
}

@media (max-width: 720px) {
  .fst-page .fst-zone-mid {
    padding-left: 10px;
    padding-right: 10px;
  }

  .fst-page .fst-col {
    min-width: 0;
  }

  .fst-page .fst-navtile {
    flex-basis: calc(50% - 12px);
    min-width: 0;
  }

  .fst-page .fst-world {
    min-width: 0;
    flex-basis: 100%;
  }
}