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

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

模板:Fstpagetest styles:修订间差异

来自RIA | Wiki
ChenM0M留言 | 贡献
创建页面,内容为“============================== Fst 功能性主页(现代化风格) 仅作用于 .fst-home 内部 ==============================:​ .fst-home{ max-width: 1200px; margin: 0 auto; padding: 0 14px 24px 14px; color: rgba(0,0,0,.82); } 链接更“品牌红”:​ .fst-home a{ color: #9a2a2a; font-weight: 700; text-decoration: none; } .fst-home a:hover{ color: #b63737; text-decoration: underline; } Hero:​ .fst-hero{ border:…”
 
ChenM0M留言 | 贡献
无编辑摘要
 
(未显示同一用户的14个中间版本)
第1行: 第1行:
/* ==============================
/* TemplateStyles for fstpagetest.wiki
   Fst 功能性主页(现代化风格)
   Design goals:
   仅作用于 .fst-home 内部
   - Portal-like wiki homepage, not a web app
============================== */
  - Clear section separation (esp. mobile)
  - No rounded corners anywhere
  - Avoid nested card-on-card framing
*/


.fst-home{
.fst-page {
   max-width: 1200px;
   width: 100%;
  margin: 0 auto;
   color: #221b50;
  padding: 0 14px 24px 14px;
   color: rgba(0,0,0,.82);
}
}


/* 链接更“品牌红” */
/* Hard rule: absolutely no rounded corners in this portal */
.fst-home a{
.fst-page,
   color: #9a2a2a;
.fst-page * {
   font-weight: 700;
  border-radius: 0 !important;
   text-decoration: none;
}
 
.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-home a:hover{
 
   color: #b63737;
.fst-page .fst-muted {
   text-decoration: underline;
   color: #5d5a7d;
   font-size: 0.95em;
}
}


/* Hero */
.fst-page .fst-mt10 {
.fst-hero{
  margin-top: 10px;
   border: 1px solid rgba(0,0,0,.08);
}
   border-radius: 18px;
 
   overflow: hidden;
.fst-page .fst-kicker {
   box-shadow: 0 10px 26px rgba(0,0,0,.08);
   color: #4a4570;
   margin: 14px 0 18px 0;
  font-size: 0.95em;
   background: linear-gradient(180deg, #fbfbfd 0%, #ffffff 45%);
  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-hero-inner{
 
   display: flex;
.fst-page .fst-zone-hero {
  gap: 18px;
   margin-top: 0;
   padding: 18px;
   padding-top: 0;
   align-items: stretch;
   border-top: 0;
}
}
.fst-hero-left{
 
   flex: 1 1 auto;
.fst-page .fst-zone-mid {
   min-width: 280px;
   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-hero-right{
 
   flex: 0 0 520px;
.fst-page .fst-zone-nav {
   display: flex;
   background: #f9f8fb;
  flex-direction: column;
   padding-left: 12px;
   gap: 10px;
   padding-right: 12px;
  align-items: stretch;
  justify-content: center;
}
}
.fst-hero-image{
 
   border-radius: 16px;
.fst-page .fst-zone-landmarks {
   box-shadow: 0 10px 26px rgba(0,0,0,.10);
   background: #f9f8fb;
  padding-left: 12px;
   padding-right: 12px;
}
}
.fst-hero-caption{
 
   font-size: 13px;
.fst-page .fst-zone-footer {
  color: rgba(0,0,0,.6);
   border-top: 2px solid #e3e1ee;
   padding-left: 6px;
   padding-top: 18px;
}
}


/* 文字层级 */
.fst-page .fst-section-h {
.fst-badge{
   font-size: 1.25em;
   display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(182,55,55,.10);
  border: 1px solid rgba(182,55,55,.20);
  color: #8f1f1f;
   font-weight: 900;
   font-weight: 900;
   font-size: 12px;
   margin: 0 0 12px 0;
   letter-spacing: .4px;
  border-left: 10px solid #e3e1ee;
   margin-bottom: 10px;
  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-title{
 
.fst-page .fst-hero-media p {
   margin: 0;
   margin: 0;
   font-size: 40px;
}
 
.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;
   font-weight: 900;
   letter-spacing: .6px;
   line-height: 1.1;
  margin-top: 6px;
}
}
.fst-subtitle{
 
.fst-page .fst-sub {
  margin-top: 8px;
  color: #3b365f;
  font-size: 1.05em;
  line-height: 1.5;
}
 
.fst-page .fst-meta {
   margin-top: 10px;
   margin-top: 10px;
   font-size: 15px;
  color: #4a4570;
   line-height: 1.75;
   font-size: 0.95em;
   color: rgba(0,0,0,.72);
}
 
.fst-page .fst-jump {
   margin-top: 8px;
   color: #4a4570;
  font-size: 0.95em;
  line-height: 1.7;
}
}


/* CTA buttons */
.fst-page .fst-jump a {
.fst-cta-row{
   text-decoration: none;
   display: flex;
   border-bottom: 1px dotted #8bccff;
   flex-wrap: wrap;
}
  gap: 10px;
 
   margin-top: 14px;
.fst-page .fst-jump a:hover {
   border-bottom-style: solid;
}
}
.fst-cta-row-tight{
 
   margin-top: 10px;
/* Banner */
 
.fst-page .fst-banner {
   padding: 10px 12px;
  border: 1px solid #e3e1ee;
  border-left: 10px solid #64d396;
  background: #ffffff;
}
}
.fst-btn{
 
.fst-page .fst-banner-tag {
   display: inline-block;
   display: inline-block;
   padding: 9px 12px;
   padding: 3px 10px;
   border-radius: 999px;
   margin-right: 10px;
  background: #fff;
   border: 1px solid #64d396;
   border: 1px solid rgba(0,0,0,.10);
   background: #f9f8fb;
   box-shadow: 0 4px 14px rgba(0,0,0,.05);
  color: rgba(0,0,0,.78);
   font-weight: 900;
   font-weight: 900;
  font-size: 0.92em;
  color: #221b50;
}
.fst-page .fst-banner-text {
  color: #3b365f;
}
}
.fst-btn:hover{
 
   transform: translateY(-1px);
/* Layout */
   box-shadow: 0 10px 22px rgba(0,0,0,.09);
 
   border-color: rgba(182,55,55,.22);
.fst-page .fst-row {
   display: flex;
   flex-wrap: wrap;
   margin: -10px;
}
}
.fst-btn-primary{
 
   background: #b63737;
.fst-page .fst-col {
   border-color: rgba(0,0,0,.08);
   margin: 10px;
   color: #fff;
   flex: 1 1 420px;
   min-width: 320px;
}
}
.fst-btn-primary:hover{
 
   border-color: rgba(255,255,255,.20);
/* Quick nav */
 
.fst-page .fst-navrow {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -6px;
  padding-left: 12px;
   border-left: 10px solid #e3e1ee;
}
}


/* Quicklinks chip */
.fst-page .fst-navrow + .fst-navrow {
.fst-quicklinks{
   margin-top: 12px;
   margin-top: 12px;
  padding: 10px 12px;
  border-radius: 16px;
  background: #f6f7fa;
  border: 1px solid rgba(0,0,0,.06);
  color: rgba(0,0,0,.72);
  font-size: 14px;
}
}
.fst-quicklinks b{ font-weight: 900; }
 
.fst-quicklinks .dot{
.fst-page .fst-navrow-1 {
   padding: 0 8px;
  border-left-color: #64d396;
  color: rgba(0,0,0,.35);
}
 
.fst-page .fst-navrow-2 {
   border-left-color: #8bccff;
}
}


/* Grid layout(如果你们 TemplateStyles 禁用 grid,我再给你 flex 备用版) */
.fst-page .fst-navtile {
.fst-grid{
   margin: 6px;
   display: grid;
   flex: 1 1 calc(33.333% - 12px);
   grid-template-columns: 1fr 0.9fr;
   min-width: 150px;
   gap: 16px;
}
}
.fst-col{ min-width: 0; }


/* Card */
.fst-page .fst-navtile a {
.fst-card{
   display: block;
   background: #fff;
  padding: 10px 8px;
   border: 1px solid rgba(0,0,0,.08);
   border: 0;
   border-radius: 16px;
   background: transparent;
   overflow: hidden;
  text-decoration: none;
   box-shadow: 0 6px 18px rgba(0,0,0,.06);
   text-align: center;
   margin-bottom: 16px;
   color: #221b50;
   transition: background 120ms ease;
}
 
.fst-page .fst-navtile a:hover {
  background: #ffffff;
}
}
.fst-card-solid .fst-card-head{
 
   background: #b63737;
/* Suppress default external-link icon inside portal tiles */
   color: #fff;
.fst-page .fst-navtile a.external {
   background: none !important;
   padding-right: 0 !important;
}
}
.fst-card-head{
 
   padding: 12px 16px;
.fst-page .fst-navtile a.external:hover {
  border-bottom: 1px solid rgba(0,0,0,.06);
   background: #ffffff !important;
}
}
.fst-card-head h2{
 
   margin: 0;
.fst-page .fst-navicon {
   font-size: 18px;
   display: inline-block;
  width: 56px;
  height: 56px;
   line-height: 54px;
  border: 2px solid #e3e1ee;
  background: transparent;
   font-weight: 900;
   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-card-desc{
 
   margin-top: 4px;
.fst-page .fst-navtitle {
   font-size: 13px;
   display: block;
   color: rgba(0,0,0,.6);
  font-weight: 900;
   font-size: 1.02em;
   margin-top: 10px;
}
}
.fst-card-solid .fst-card-desc{ color: rgba(255,255,255,.85); }
 
.fst-card-body{
.fst-page .fst-navsub {
  padding: 14px 16px;
  display: block;
   line-height: 1.75;
  margin-top: 6px;
   color: rgba(0,0,0,.80);
   color: #5d5a7d;
   font-size: 0.9em;
}
}
.fst-card-footer{
 
   padding: 12px 16px;
.fst-page .fst-navnote {
   border-top: 1px solid rgba(0,0,0,.06);
  margin-top: 12px;
   background: #fbfbfd;
   padding-left: 12px;
   border-left: 10px solid #e3e1ee;
   color: #4a4570;
  line-height: 1.6;
}
}


/* Item */
/* Worlds */
.fst-item{
 
.fst-page .fst-world-grid {
   display: flex;
   display: flex;
   gap: 12px;
   flex-wrap: wrap;
   padding: 12px;
  margin: -8px;
   border-radius: 14px;
}
   border: 1px solid rgba(0,0,0,.06);
 
   background: #fff;
.fst-page .fst-world {
   box-shadow: 0 4px 14px rgba(0,0,0,.05);
  margin: 8px;
   margin-bottom: 12px;
   padding: 8px 0 12px 0;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
   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-item:hover{
 
  transform: translateY(-1px);
.fst-page .fst-world-sat {
  box-shadow: 0 10px 22px rgba(0,0,0,.09);
   border-bottom-color: #e3e1ee;
   border-color: rgba(182,55,55,.22);
}
}
.fst-item-icon{
 
  flex: 0 0 92px;
.fst-page .fst-world-head {
   display: flex;
   display: flex;
  flex-wrap: wrap;
   align-items: center;
   align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #f3f5f8;
  border: 1px solid rgba(0,0,0,.06);
}
}
.fst-item-icon img{
 
   width: 64px;
.fst-page .fst-world-icon {
   height: 64px;
  display: inline-block;
   object-fit: contain;
   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-item-body h3{
 
   margin: 0 0 6px 0;
.fst-page .fst-world-icon-eden {
   font-size: 17px;
  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;
   font-weight: 900;
   line-height: 1.2;
   color: #4a4570;
}
}
.fst-item-actions{
 
.fst-page .fst-world-desc {
   margin-top: 8px;
   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-item-actions a{
 
.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;
   display: inline-block;
   padding: 6px 10px;
   padding: 6px 10px;
   border-radius: 999px;
   margin: 0 10px 8px 0;
   background: rgba(182,55,55,.10);
   border: 1px solid transparent;
   border: 1px solid rgba(182,55,55,.20);
   background: transparent;
   color: #8f1f1f;
   text-decoration: none;
   font-weight: 900;
   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;
}
}


/* Split blocks */
.fst-page .fst-tabpanel-intermediate {
.fst-split{
   border-left-color: #64d396;
   display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
}
.fst-split-block{
 
  padding: 12px;
.fst-page .fst-tabpanel-advanced {
   border-radius: 14px;
   border-left-color: #64d396;
  border: 1px solid rgba(0,0,0,.06);
  background: #fff;
}
}
.fst-split-title{
 
.fst-page .fst-panel-h {
   font-weight: 900;
   font-weight: 900;
   font-size: 16px;
   font-size: 1.05em;
   margin-bottom: 6px;
   margin: 0 0 6px 0;
}
}
.fst-split-text{
 
  font-size: 14px;
.fst-page .fst-panel-p {
   color: rgba(0,0,0,.72);
   color: #4a4570;
   line-height: 1.65;
   line-height: 1.6;
}
}


.fst-note{
.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;
   margin-top: 12px;
   padding: 10px 12px;
   padding-top: 12px;
   border-radius: 14px;
   border-top: 1px solid #e3e1ee;
   background: #f6f7fa;
   border-left: 2px solid #e3e1ee;
   border: 1px solid rgba(0,0,0,.06);
   padding-left: 12px;
   color: rgba(0,0,0,.70);
}
  font-size: 13px;
 
.fst-page .fst-timeline-h {
  font-weight: 900;
   margin: 0 0 8px 0;
}
}


/* Pills */
.fst-page .fst-timeline-item {
.fst-pills{
   margin-top: 6px;
   display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
}
.fst-pill{
 
.fst-page .fst-timeline-date {
   display: inline-block;
   display: inline-block;
   padding: 8px 10px;
   min-width: 74px;
  border-radius: 999px;
  background: #f6f7fa;
  border: 1px solid rgba(0,0,0,.06);
   font-weight: 900;
   font-weight: 900;
   color: rgba(0,0,0,.70);
   color: #221b50;
   font-size: 13px;
}
 
.fst-page .fst-timeline-text {
   color: #4a4570;
}
}


/* Checklist */
.fst-page .fst-topics {
.fst-check{
   margin-top: 12px;
   display: grid;
   padding-top: 12px;
   gap: 8px;
  border-top: 1px solid #e3e1ee;
}
}
.fst-check-item{
 
  padding: 10px 12px;
.fst-page .fst-topics-h {
  border-radius: 14px;
   font-weight: 900;
  background: #f6f7fa;
   margin: 0 0 6px 0;
  border: 1px solid rgba(0,0,0,.06);
   font-size: 14px;
   color: rgba(0,0,0,.74);
}
}


/* Links grid */
.fst-page .fst-topics-line {
.fst-links-grid{
   color: #4a4570;
   display: grid;
   line-height: 1.7;
   grid-template-columns: 1fr 1fr;
  gap: 10px;
}
}
.fst-link{
 
  padding: 10px 12px;
/* News */
  border-radius: 14px;
 
  border: 1px solid rgba(0,0,0,.06);
.fst-page .fst-news {
   background: #fff;
   background: transparent;
   box-shadow: 0 4px 14px rgba(0,0,0,.05);
   padding: 0;
}
}
.fst-link a{
 
   font-weight: 900;
.fst-page .fst-news-item {
   padding: 10px 0 10px 12px;
  border-left: 6px solid #8bccff;
  border-bottom: 0;
}
}


/* Bottom */
.fst-page .fst-news-item + .fst-news-item {
.fst-bottom{
   margin-top: 10px;
   margin-top: 10px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%);
}
}
.fst-bottom-inner{
 
   padding: 16px 18px;
.fst-page .fst-news-item:last-child {
   border-bottom: 0;
}
}
.fst-bottom-title{
 
.fst-page .fst-news-title {
   font-weight: 900;
   font-weight: 900;
   font-size: 16px;
   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-bottom-text{
 
   margin-top: 6px;
.fst-page .fst-zone-landmarks th {
  color: rgba(0,0,0,.70);
   background: #f9f8fb !important;
  line-height: 1.7;
}
}
.fst-bottom-actions{
 
  margin-top: 12px;
.fst-page .fst-zone-landmarks tr:nth-child(even) td {
  display: flex;
   background: #f9f8fb !important;
  flex-wrap: wrap;
   gap: 10px;
}
}


.fst-muted{
/* Footer */
 
.fst-page .fst-footer-links {
   margin-top: 10px;
   margin-top: 10px;
   font-size: 13px;
   color: #4a4570;
   color: rgba(0,0,0,.60);
   line-height: 1.7;
}
}


/* Mobile */
/* Keep navbox/table styling tame inside this portal */
@media (max-width: 1024px){
.fst-page .navbox,
  .fst-grid{ grid-template-columns: 1fr; }
.fst-page table {
   .fst-hero-right{ display: none; }
   box-shadow: none;
}
}
@media (max-width: 640px){
 
   .fst-title{ font-size: 32px; }
@media (max-width: 720px) {
   .fst-split{ grid-template-columns: 1fr; }
   .fst-page .fst-zone-mid {
   .fst-links-grid{ grid-template-columns: 1fr; }
    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%;
  }
}