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

RIA Wiki 已更新到 1.41!部分 CSS 在新版本下可能有不同的表现,请编辑者注意检查和修改。 目前wiki关闭了自行注册账号的功能,如需注册账号,请查阅Help:注册账号

模板:Fstpagetest styles:修订间差异

来自RIA | Wiki
ChenM0M留言 | 贡献
无编辑摘要
ChenM0M留言 | 贡献
无编辑摘要
 
(未显示同一用户的4个中间版本)
第1行: 第1行:
/* FST 门户页面样式 — v3.3
/* TemplateStyles for fstpagetest.wiki
* 极简现代风格 (Refined):去伪存真,无嵌套,重排版
  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 {
.fst-portal {
  width: 100%;
    max-width: 100%;
  color: #221b50;
    color: #2c3e50;
    /* 深蓝灰,比纯黑更现代 */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
}
}


/* 链接颜色优化 */
/* Hard rule: absolutely no rounded corners in this portal */
.fst-portal a {
.fst-page,
    color: #388e3c;
.fst-page * {
    /*以此为基准绿*/
  border-radius: 0 !important;
    text-decoration: none;
    transition: color 0.2s;
}
}


.fst-portal a:hover {
.fst-page * {
    text-decoration: none;
  box-sizing: border-box;
    color: #1b5e20;
}
}


/* 移除所有盒子样式的默认边框 */
/* MediaWiki parser often injects <p>; neutralize default margins */
.fst-box {
.fst-page p {
    border: none;
  margin: 0;
    background: transparent;
    margin-bottom: 2.5rem;
    padding: 0;
}
}


/* 标题样式:极简,无背景条 */
/* External-link icon removal (keep portal clean) */
.fst-box-header {
.fst-page a.external {
    margin-bottom: 1.2rem;
  background: none !important;
    border-bottom: 1px solid #eee;
  padding-right: 0 !important;
    padding-bottom: 0.5rem;
}
}


.fst-box-header h2 {
.fst-page a.external::after {
    font-size: 1.5rem;
  display: none !important;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    padding: 0;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
}


/* 移除之前所有的装饰性伪元素,保持纯净 */
.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-box-content {
.fst-page .fst-navtitle {
    padding: 0;
  display: block;
    background: transparent;
  font-weight: 900;
  font-size: 1.02em;
  margin-top: 10px;
}
}


/* ========== 1. Welcome / Hero 区域 ========== */
.fst-page .fst-navsub {
.fst-welcome {
  display: block;
    margin-bottom: 3rem;
  margin-top: 6px;
    text-align: left;
  color: #5d5a7d;
    padding: 1rem 0;
  font-size: 0.9em;
    border-bottom: 1px solid #f0f0f0;
    /* 仅底部分割线 */
}
}


.fst-welcome-head h2 {
.fst-page .fst-navnote {
    font-size: 2.2rem;
  margin-top: 12px;
    font-weight: 700;
  padding-left: 12px;
    color: #1a1a1a;
  border-left: 10px solid #e3e1ee;
    letter-spacing: -0.03em;
  color: #4a4570;
    line-height: 1.2;
  line-height: 1.6;
    margin: 0 0 0.5rem 0;
    border: none;
}
}


.fst-welcome-body {
/* Worlds */
    font-size: 1.1rem;
 
    color: #666;
.fst-page .fst-world-grid {
    max-width: 800px;
  display: flex;
  flex-wrap: wrap;
  margin: -8px;
}
}


.fst-welcome-meta {
.fst-page .fst-world {
    margin-top: 0.8rem;
  margin: 8px;
    font-size: 0.85rem;
  padding: 8px 0 12px 0;
    color: #999;
  border-bottom: 2px solid #e3e1ee;
    text-transform: uppercase;
  background: transparent;
    letter-spacing: 0.05em;
  flex: 1 1 calc(50% - 16px);
    font-weight: 500;
  min-width: 240px;
}
}


/* ========== 2. 公告薄条 (Modern Alert) ========== */
.fst-page .fst-world-wide {
.fst-announce {
  flex-basis: 100%;
    background: #f1f8e9;
    /* 极浅绿 */
    color: #33691e;
    padding: 0.8rem 1.2rem;
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
    border-radius: 8px;
    /* 轻微圆角 */
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
}


.fst-announce::before {
.fst-page .fst-world-laputa {
    content: '📢';
  border-bottom-color: #64d396;
    /* 保持 emoji 或者用 SVG */
    font-size: 1.2em;
}
}


/* ========== 3. 核心布局区 ========== */
.fst-page .fst-world-eden {
.fst-row-top {
  border-bottom-color: #8bccff;
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-bottom: 3rem;
    align-items: stretch;
}
}


/* 功能入口:网格卡片 */
.fst-page .fst-world-sat {
.fst-quicknav {
  border-bottom-color: #e3e1ee;
    flex: 1 1 500px;
    /* 增加在大屏幕的权重 */
}
}


.fst-quicknav-grid {
.fst-page .fst-world-head {
    display: grid;
  display: flex;
    grid-template-columns: repeat(3, 1fr);
  flex-wrap: wrap;
    gap: 1.2rem;
  align-items: center;
}
}


.fst-quicknav-item {
.fst-page .fst-world-icon {
    display: flex;
  display: inline-block;
    flex-direction: column;
  width: 58px;
    align-items: center;
  height: 58px;
    justify-content: center;
  line-height: 56px;
    text-align: center;
  text-align: center;
    padding: 1.8rem 1rem;
  border: 2px solid #e3e1ee;
  background: transparent;
  margin-right: 12px;
  font-weight: 900;
  font-size: 1.05em;
  color: #221b50;
  transition: border-color 120ms ease;
}


    background: #fff;
.fst-page .fst-world-icon-laputa {
    border: 1px solid #e0e0e0;
  border-color: #64d396;
    border-radius: 12px;
  color: #221b50;
}


    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
.fst-page .fst-world-icon-eden {
    cursor: pointer;
  border-color: #8bccff;
    position: relative;
  color: #221b50;
    text-decoration: none !important;
}
}


/* Hover 效果:轻微上浮 + 柔和阴影 */
.fst-page .fst-world-icon-sat {
.fst-quicknav-item:hover {
  border-color: #e3e1ee;
    border-color: #a5d6a7;
  color: #221b50;
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
    z-index: 2;
}
}


/* 点击/Active 效果 */
.fst-page .fst-world-name {
.fst-quicknav-item:active {
  font-weight: 900;
    transform: translateY(-1px);
  font-size: 1.08em;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  margin-right: 10px;
}
}


.fst-quicknav-icon {
.fst-page .fst-world-badge {
    font-size: 2.2rem;
  display: inline-block;
    margin-bottom: 0.8rem;
  padding: 0;
    filter: grayscale(100%);
  border: 0;
    /* 默认黑白,更显高级 */
  background: transparent;
    opacity: 0.8;
  font-size: 0.88em;
    transition: all 0.25s;
  font-weight: 900;
  color: #4a4570;
}
}


.fst-quicknav-item:hover .fst-quicknav-icon {
.fst-page .fst-world-desc {
    filter: grayscale(0%);
  margin-top: 8px;
    opacity: 1;
  color: #4a4570;
    transform: scale(1.1);
  font-size: 0.95em;
  line-height: 1.6;
}
}


.fst-quicknav-label {
.fst-page .fst-world-links {
    font-size: 0.95rem;
  margin-top: 10px;
    font-weight: 500;
  padding-top: 10px;
    color: #555;
  border-top: 1px solid #e3e1ee;
    transition: color 0.25s;
  color: #4a4570;
  line-height: 1.6;
}
}


.fst-quicknav-item:hover .fst-quicknav-label {
.fst-page .fst-world-note {
    color: #2e7d46;
  margin-top: 10px;
}
}


/* 世界图标区 */
/* Tabs */
.fst-worlds {
 
    flex: 0 1 320px;
.fst-page .fst-tabs {
    /* 固定合适宽度,避免过宽 */
  background: transparent;
    display: flex;
  padding: 0;
    flex-direction: column;
    gap: 1.2rem;
}
}


.fst-worlds-row {
.fst-page .fst-tab-anchor {
    display: flex;
  display: block;
    gap: 1.2rem;
  height: 0;
    width: 100%;
  overflow: hidden;
}
}


.fst-world-item {
.fst-page .fst-tabbar {
    flex: 1;
  margin-bottom: 10px;
    display: flex;
}
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;


    background: #fff;
.fst-page .fst-tabbar p {
    border: 1px solid #e0e0e0;
  display: inline;
    border-radius: 12px;
  margin: 0;
}


    text-decoration: none;
.fst-page .fst-tabbar br {
    color: #333;
  display: none;
    min-height: 8rem;
    /* 保证高度,显眼 */
    transition: all 0.25s;
}
}


.fst-world-item:hover {
.fst-page .fst-tabbar a {
    border-color: #4caf50;
  display: inline-block;
    transform: translateY(-4px);
  padding: 6px 10px;
    box-shadow: 0 12px 24px rgba(76, 175, 80, 0.1);
  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-world-symbol {
.fst-page .fst-tabbar a:hover {
    font-size: 3rem;
  background: #ffffff;
    margin-bottom: 0.5rem;
  border-color: #c9d2dc;
    filter: grayscale(100%) brightness(1.2);
    /* 默认淡一点 */
    transition: all 0.25s;
}
}


.fst-world-item:hover .fst-world-symbol {
.fst-page .fst-tabpanel {
    filter: grayscale(0%);
  display: none;
    transform: scale(1.1);
  padding: 10px 0 12px 12px;
  border-left: 6px solid #e3e1ee;
}
}


.fst-world-name {
.fst-page .fst-tabpanel-beginner {
    font-weight: 600;
  display: block;
    font-size: 1rem;
  border-left-color: #64d396;
    color: #444;
}
}


/* --- 分隔线 --- */
.fst-page .fst-tabpanel-intermediate {
.fst-divider {
  border-left-color: #64d396;
    border: 0;
    border-top: 1px solid #f0f0f0;
    margin: 2rem 0;
}
}


/* --- Tab 栏 --- */
.fst-page .fst-tabpanel-advanced {
.fst-tabbar {
  border-left-color: #64d396;
    display: flex;
    gap: 2.5rem;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 2rem;
}
}


.fst-tabbar a {
.fst-page .fst-panel-h {
    padding-bottom: 0.8rem;
  font-weight: 900;
    color: #888;
  font-size: 1.05em;
    font-weight: 500;
  margin: 0 0 6px 0;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    font-size: 1.05rem;
}
}


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


/* 激活状态 */
.fst-page .fst-panel-links {
.fst-tabbar a.active,
  margin-top: 8px;
.fst-tabbar a:target {
  color: #4a4570;
    color: #2e7d46;
  line-height: 1.6;
    border-bottom-color: #2e7d46;
}
}


/* --- 下方两列布局 --- */
/* Default highlighted tab */
.fst-row-bottom {
.fst-page .fst-tabbar a[href="#tab-beginner"] {
    display: flex;
  background: #ffffff;
    flex-wrap: wrap;
  border-color: #64d396;
    gap: 4rem;
    /* 增加间距 */
    align-items: flex-start;
}
}


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


.fst-main-right {
.fst-page #tab-intermediate:target ~ .fst-tabpanels .fst-tabpanel-intermediate {
    flex: 0 0 280px;
  display: block;
    /* 右侧栏稍微独立 */
}
}


/* 主要内容文字优化 */
.fst-page #tab-advanced:target ~ .fst-tabpanels .fst-tabpanel-advanced {
.fst-panel-content {
  display: block;
    font-size: 1rem;
    color: #444;
}
}


.fst-mod-tag {
.fst-page #tab-intermediate:target ~ .fst-tabbar a[href="#tab-beginner"],
    display: inline-flex;
.fst-page #tab-advanced:target ~ .fst-tabbar a[href="#tab-beginner"] {
    align-items: center;
  background: transparent;
    padding: 0.4em 0.8em;
  border-color: transparent;
    margin: 0.2em;
    background: #f5f5f5;
    color: #555;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.2s;
}
}


.fst-mod-tag:hover {
.fst-page #tab-intermediate:target ~ .fst-tabbar a[href="#tab-intermediate"] {
    background: #e8f5e9;
  background: #ffffff;
    color: #2e7d46;
  border-color: #64d396;
    transform: translateY(-1px);
}
}


/* 时间线:更细致 */
.fst-page #tab-advanced:target ~ .fst-tabbar a[href="#tab-advanced"] {
.fst-timeline-title {
  background: #ffffff;
    font-size: 1.1rem;
  border-color: #64d396;
    font-weight: 600;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed #e0e0e0;
}
}


.fst-timeline {
/* Timeline + topics */
    display: flex;
 
    flex-direction: column;
.fst-page .fst-timeline {
    gap: 0;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e3e1ee;
  border-left: 2px solid #e3e1ee;
  padding-left: 12px;
}
}


.fst-timeline-item {
.fst-page .fst-timeline-h {
    display: flex;
  font-weight: 900;
    gap: 1.5rem;
  margin: 0 0 8px 0;
    padding-bottom: 1.5rem;
    position: relative;
}
}


.fst-timeline-item::before {
.fst-page .fst-timeline-item {
    content: '';
  margin-top: 6px;
    position: absolute;
    left: 5px;
    top: 6px;
    bottom: 0;
    width: 1px;
    background: #e0e0e0;
}
}


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


.fst-timeline-dot {
.fst-page .fst-timeline-text {
    width: 11px;
  color: #4a4570;
    height: 11px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #ccc;
    flex-shrink: 0;
    z-index: 1;
    margin-top: 4px;
    transition: border-color 0.2s;
}
}


.fst-timeline-item:hover .fst-timeline-dot {
.fst-page .fst-topics {
    border-color: #4caf50;
  margin-top: 12px;
    background: #e8f5e9;
  padding-top: 12px;
  border-top: 1px solid #e3e1ee;
}
}


.fst-timeline-date {
.fst-page .fst-topics-h {
    font-family: monospace;
  font-weight: 900;
    color: #999;
  margin: 0 0 6px 0;
    font-size: 0.9rem;
    padding-top: 1px;
    min-width: 4.5em;
}
}


.fst-timeline-text {
.fst-page .fst-topics-line {
    color: #333;
  color: #4a4570;
    font-weight: 500;
  line-height: 1.7;
}
}


/* 公告列表:纯净列表 */
/* News */
.fst-news-title {
 
    font-size: 1.1rem;
.fst-page .fst-news {
    font-weight: 600;
  background: transparent;
    border-bottom: 2px solid #a5d6a7;
  padding: 0;
    padding-bottom: 0.5rem;
}
    margin-bottom: 1rem;
 
    display: inline-block;
.fst-page .fst-news-item {
  padding: 10px 0 10px 12px;
  border-left: 6px solid #8bccff;
  border-bottom: 0;
}
}


.fst-news-list {
.fst-page .fst-news-item + .fst-news-item {
    list-style: none;
  margin-top: 10px;
    padding: 0;
}
}


.fst-news-list li {
.fst-page .fst-news-item:last-child {
    padding: 0.6rem 0;
  border-bottom: 0;
    border-bottom: 1px solid #f5f5f5;
    color: #666;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}
}


.fst-news-list li::before {
.fst-page .fst-news-title {
    content: '•';
  font-weight: 900;
    color: #a5d6a7;
  margin: 0 0 4px 0;
    font-size: 1.2em;
}
}


/* ========== 4. 地标 (简约图片卡片) ========== */
/* Landmarks table (template output) */
.fst-landmarks-grid {
 
    display: grid;
.fst-page .fst-zone-landmarks table {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  width: 100%;
    gap: 1.5rem;
  background: #ffffff !important;
}
}


.fst-landmark-item {
.fst-page .fst-zone-landmarks th,
    background: #fff;
.fst-page .fst-zone-landmarks td {
    border: 1px solid #eee;
  border: 1px solid #e3e1ee !important;
    border-radius: 12px;
  padding: 6px 8px;
    padding: 1.5rem;
  background: #ffffff !important;
    text-align: center;
  color: #221b50 !important;
    transition: all 0.25s;
}
}


.fst-landmark-item:hover {
.fst-page .fst-zone-landmarks th {
    transform: translateY(-4px);
  background: #f9f8fb !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
    border-color: #b9f6ca;
}
}


.fst-landmark-name {
.fst-page .fst-zone-landmarks tr:nth-child(even) td {
    font-weight: 600;
  background: #f9f8fb !important;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    color: #2e7d46;
}
}


.fst-landmark-desc {
/* Footer */
    font-size: 0.9rem;
 
    color: #999;
.fst-page .fst-footer-links {
  margin-top: 10px;
  color: #4a4570;
  line-height: 1.7;
}
}


/* ========== 5. Footer (极简) ========== */
/* Keep navbox/table styling tame inside this portal */
.fst-footer {
.fst-page .navbox,
    margin-top: 4rem;
.fst-page table {
    padding: 2rem 0;
  box-shadow: none;
    text-align: center;
    color: #bbb;
    border-top: 1px solid #f5f5f5;
    font-size: 0.9rem;
}
}


/* ========== 响应式细节 ========== */
@media (max-width: 720px) {
@media (max-width: 768px) {
  .fst-page .fst-zone-mid {
    .fst-row-bottom {
    padding-left: 10px;
        flex-direction: column;
    padding-right: 10px;
        gap: 2rem;
  }
     }
 
  .fst-page .fst-col {
     min-width: 0;
  }


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


    .fst-main-right {
  .fst-page .fst-world {
        flex: auto;
    min-width: 0;
        width: 100%;
    flex-basis: 100%;
        border-top: 1px solid #f0f0f0;
  }
        padding-top: 2rem;
    }
}
}

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%;
  }
}