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

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

模板:Fstpagetest styles:修订间差异

来自RIA | Wiki
ChenM0M留言 | 贡献
无编辑摘要
ChenM0M留言 | 贡献
无编辑摘要
 
(未显示同一用户的10个中间版本)
第1行: 第1行:
/* =========================
/* TemplateStyles for fstpagetest.wiki
   Fstpagetest_styles
   Design goals:
   MW TemplateStyles-safe portal
   - Portal-like wiki homepage, not a web app
   - no input/checkbox/radio
   - Clear section separation (esp. mobile)
   - no 3D transform
   - No rounded corners anywhere
   - interactions: hover + :target
   - Avoid nested card-on-card framing
========================= */
*/


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


.fst a{ color:#9a2a2a; font-weight:700; text-decoration:none; }
/* Hard rule: absolutely no rounded corners in this portal */
.fst a:hover{ color:#b63737; text-decoration:underline; }
.fst-page,
.fst-page * {
  border-radius: 0 !important;
}


/* HERO */
.fst-page * {
.fst-hero{
   box-sizing: border-box;
   display:flex;
  gap:16px;
  align-items:stretch;
  padding:16px;
  margin:14px 0 18px 0;
  border:1px solid rgba(0,0,0,.08);
  border-radius:16px;
  background:#fff;
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
}
}


.fst-hero-left{ flex:1 1 auto; min-width:260px; }
/* MediaWiki parser often injects <p>; neutralize default margins */
.fst-hero-right{ flex:0 0 460px; display:flex; flex-direction:column; gap:8px; align-items:center; justify-content:center; }
.fst-page p {
  margin: 0;
}


.fst-hero-image{
/* External-link icon removal (keep portal clean) */
   border-radius:14px;
.fst-page a.external {
   box-shadow: 0 10px 26px rgba(0,0,0,.10);
   background: none !important;
   padding-right: 0 !important;
}
}


.fst-caption{
.fst-page a.external::after {
  font-size:12px;
   display: none !important;
  color: rgba(0,0,0,.55);
  align-self:flex-start;
   padding-left:6px;
}
}


.fst-badge{
.fst-page .fst-muted {
  display:inline-block;
   color: #5d5a7d;
  padding:4px 10px;
   font-size: 0.95em;
  border-radius:999px;
  background: rgba(182,55,55,.10);
  border:1px solid rgba(182,55,55,.22);
   color:#8f1f1f;
  font-weight:900;
   font-size:12px;
  letter-spacing:.3px;
}
}


.fst-title{
.fst-page .fst-mt10 {
   margin:10px 0 6px 0;
   margin-top: 10px;
  font-size:38px;
  font-weight:900;
  letter-spacing:.4px;
}
}


.fst-lead{
.fst-page .fst-kicker {
   font-size:15px;
  color: #4a4570;
   line-height:1.75;
   font-size: 0.95em;
   color: rgba(0,0,0,.72);
   letter-spacing: 0.03em;
   text-transform: uppercase;
}
}


.fst-kpis{
.fst-page .fst-zone {
   display:flex;
   margin-top: 34px;
   gap:10px;
   padding-top: 22px;
   flex-wrap:wrap;
   padding-bottom: 22px;
   margin-top:12px;
   border-top: 2px solid #e3e1ee;
}
}


.fst-kpi{
.fst-page .fst-zone-hero {
   padding:10px 12px;
   margin-top: 0;
   border-radius:14px;
   padding-top: 0;
  background:#f6f7fa;
   border-top: 0;
   border:1px solid rgba(0,0,0,.06);
  min-width: 160px;
}
}


.fst-kpi-num{
.fst-page .fst-zone-mid {
   font-size:22px;
   background:
   font-weight:900;
    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-kpi-text{
.fst-page .fst-zone-nav {
   font-size:12px;
   background: #f9f8fb;
   color: rgba(0,0,0,.62);
   padding-left: 12px;
   margin-top:2px;
   padding-right: 12px;
}
}


.fst-nav{
.fst-page .fst-zone-landmarks {
   margin-top:12px;
   background: #f9f8fb;
   display:flex;
   padding-left: 12px;
   flex-wrap:wrap;
   padding-right: 12px;
  gap:10px;
  color: rgba(0,0,0,.55);
}
}
.fst-nav a{
 
  display:inline-block;
.fst-page .fst-zone-footer {
  padding:6px 10px;
   border-top: 2px solid #e3e1ee;
   border-radius:999px;
   padding-top: 18px;
  background:#f6f7fa;
   border:1px solid rgba(0,0,0,.06);
  color: rgba(0,0,0,.70);
  font-weight:900;
  text-decoration:none;
}
}
.fst-nav a:hover{
 
   border-color: rgba(182,55,55,.22);
.fst-page .fst-section-h {
   background: rgba(182,55,55,.08);
   font-size: 1.25em;
   color:#8f1f1f;
   font-weight: 900;
   text-decoration:none;
  margin: 0 0 12px 0;
   border-left: 10px solid #e3e1ee;
   padding-left: 10px;
}
}


.fst-hint{
.fst-page .fst-h-nav {
  margin-top:10px;
   border-left-color: #64d396;
  padding:10px 12px;
  border-radius:12px;
  background:#fbfbfd;
   border:1px solid rgba(0,0,0,.06);
  color: rgba(0,0,0,.66);
  font-size:13px;
  line-height:1.65;
}
}


/* SECTION HEADER */
.fst-page .fst-h-worlds {
.fst-section{ margin-top:18px; }
  border-left-color: #8bccff;
}


.fst-section-h{
.fst-page .fst-h-track {
  padding:12px 14px;
   border-left-color: #64d396;
   border-radius:14px;
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  margin-bottom:12px;
}
}


.fst-section-title{
.fst-page .fst-h-news {
   font-size:18px;
   border-left-color: #8bccff;
  font-weight:900;
}
}


.fst-section-sub{
.fst-page .fst-h-landmarks {
   margin-top:4px;
   border-left-color: #64d396;
  font-size:13px;
  color: rgba(0,0,0,.60);
}
}


/* NOTICE WALL */
.fst-page .fst-h-footer {
.fst-cards{
   border-left-color: #64d396;
   display:flex;
  gap:16px;
  flex-wrap:wrap;
}
}


.fst-card{
/* Hero */
   width:270px;
 
   border-radius:14px;
.fst-page .fst-hero-media {
   border:1px solid rgba(0,0,0,.08);
   position: absolute;
   background:#fff;
   top: 0;
   box-shadow:0 8px 20px rgba(0,0,0,.08);
   right: 0;
   overflow:hidden;
   bottom: 0;
   left: 0;
   overflow: hidden;
  opacity: 0.22;
}
}


.fst-card-top{
.fst-page .fst-hero-media p {
   padding:12px 14px 0 14px;
   margin: 0;
  display:flex;
  gap:8px;
  align-items:center;
  flex-wrap:wrap;
}
}


.fst-tag{
.fst-page .fst-hero-media a {
   display:inline-block;
   display: block;
  padding:4px 8px;
  font-size:12px;
  font-weight:900;
  border-radius:999px;
  background:rgba(182,55,55,.12);
  color:#8f1f1f;
  border:1px solid rgba(182,55,55,.18);
}
}


.fst-tag-warn{
.fst-page .fst-hero-media img {
   background:rgba(255,153,0,.14);
   width: 100%;
  border-color: rgba(255,153,0,.22);
   height: auto;
   color: rgba(110,70,0,.95);
}
}


.fst-tag-cool{
.fst-page .fst-hero {
   background:rgba(80,120,255,.12);
  position: relative;
   border-color: rgba(80,120,255,.22);
  overflow: hidden;
   color: rgba(20,50,140,.95);
   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-chip{
.fst-page .fst-title {
  display:inline-block;
   font-size: 2.2em;
  padding:4px 8px;
   font-weight: 900;
   font-size:12px;
   line-height: 1.1;
   font-weight:900;
   margin-top: 6px;
   border-radius:999px;
  background:#f6f7fa;
  border:1px solid rgba(0,0,0,.06);
   color: rgba(0,0,0,.68);
}
}


.fst-card-title{
.fst-page .fst-sub {
   padding:8px 14px 0 14px;
   margin-top: 8px;
   font-size:16px;
   color: #3b365f;
   font-weight:900;
   font-size: 1.05em;
   line-height:1.25;
   line-height: 1.5;
}
}


.fst-card-desc{
.fst-page .fst-meta {
   padding:6px 14px 12px 14px;
   margin-top: 10px;
  font-size:13px;
   color: #4a4570;
   color: rgba(0,0,0,.70);
   font-size: 0.95em;
   line-height:1.6;
}
}


.fst-card-more{
.fst-page .fst-jump {
   padding:0 14px 14px 14px;
   margin-top: 8px;
   font-size:13px;
   color: #4a4570;
   color: rgba(0,0,0,.72);
   font-size: 0.95em;
   line-height:1.65;
   line-height: 1.7;
  opacity:0;
  max-height:0;
  overflow:hidden;
  transition: opacity .18s ease, max-height .18s ease;
}
}


.fst-card:hover{
.fst-page .fst-jump a {
   border-color: rgba(182,55,55,.18);
   text-decoration: none;
   box-shadow:0 14px 28px rgba(0,0,0,.10);
   border-bottom: 1px dotted #8bccff;
}
}
.fst-card:hover .fst-card-more{
 
   opacity:1;
.fst-page .fst-jump a:hover {
  max-height:260px;
   border-bottom-style: solid;
}
}


/* START LIST */
/* Banner */
.fst-list{
 
   border:1px solid rgba(0,0,0,.08);
.fst-page .fst-banner {
   border-radius:14px;
  padding: 10px 12px;
   background:#fff;
   border: 1px solid #e3e1ee;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
   border-left: 10px solid #64d396;
  overflow:hidden;
   background: #ffffff;
}
}


.fst-entry{
.fst-page .fst-banner-tag {
   display:flex;
   display: inline-block;
   gap:12px;
   padding: 3px 10px;
   padding:12px 14px;
   margin-right: 10px;
   border-bottom:1px dashed rgba(0,0,0,.14);
   border: 1px solid #64d396;
  background: #f9f8fb;
  font-weight: 900;
  font-size: 0.92em;
  color: #221b50;
}
}
.fst-entry:last-child{ border-bottom:none; }


.fst-entry-ico{
.fst-page .fst-banner-text {
   flex:0 0 74px;
   color: #3b365f;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  background:#f3f5f8;
  border:1px solid rgba(0,0,0,.06);
}
}
.fst-entry-body{ min-width:0; }


.fst-entry-title{
/* Layout */
   font-size:16px;
 
   font-weight:900;
.fst-page .fst-row {
   margin-bottom:4px;
   display: flex;
   flex-wrap: wrap;
   margin: -10px;
}
}
.fst-entry-text{
 
   font-size:14px;
.fst-page .fst-col {
   color: rgba(0,0,0,.72);
   margin: 10px;
   line-height:1.65;
   flex: 1 1 420px;
   min-width: 320px;
}
}
.fst-entry-go{ margin-top:6px; font-weight:900; }


.fst-callout{
/* Quick nav */
   margin-top:12px;
 
   padding:10px 12px;
.fst-page .fst-navrow {
  border-radius:12px;
   display: flex;
   background:#f6f7fa;
   flex-wrap: wrap;
  border:1px solid rgba(0,0,0,.06);
   margin: 0 -6px;
   color: rgba(0,0,0,.72);
   padding-left: 12px;
   line-height:1.7;
   border-left: 10px solid #e3e1ee;
}
}


/* TABS via :target */
.fst-page .fst-navrow + .fst-navrow {
.fst-tabs{
   margin-top: 12px;
  border:1px solid rgba(0,0,0,.08);
  border-radius:14px;
  background:#fff;
   box-shadow: 0 6px 18px rgba(0,0,0,.06);
  overflow:hidden;
}
}


.fst-anchor{ display:block; height:0; overflow:hidden; }
.fst-page .fst-navrow-1 {
  border-left-color: #64d396;
}


.fst-tabbar{
.fst-page .fst-navrow-2 {
  padding:10px 10px;
   border-left-color: #8bccff;
   border-bottom:1px solid rgba(0,0,0,.08);
  background:#fbfbfd;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
}


.fst-tabbar a{
.fst-page .fst-navtile {
   display:inline-block;
   margin: 6px;
   padding:7px 12px;
   flex: 1 1 calc(33.333% - 12px);
  border-radius:999px;
   min-width: 150px;
  border:1px solid rgba(0,0,0,.10);
  background:#fff;
  font-weight:900;
  color: rgba(0,0,0,.72);
   text-decoration:none;
}
}
.fst-tabbar a:hover{
 
   border-color: rgba(182,55,55,.22);
.fst-page .fst-navtile a {
   color:#8f1f1f;
  display: block;
  padding: 10px 8px;
   border: 0;
  background: transparent;
  text-decoration: none;
  text-align: center;
   color: #221b50;
  transition: background 120ms ease;
}
}


.fst-panels{ padding:14px; }
.fst-page .fst-navtile a:hover {
  background: #ffffff;
}


.fst-panel{
/* Suppress default external-link icon inside portal tiles */
   display:none;
.fst-page .fst-navtile a.external {
   padding:12px;
   background: none !important;
  border-radius:12px;
   padding-right: 0 !important;
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
}
}


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


/* any tab targeted -> hide default */
.fst-page .fst-navicon {
#fst-tab-eden:target ~ .fst-tabbar,
  display: inline-block;
#fst-tab-laputa:target ~ .fst-tabbar,
  width: 56px;
#fst-tab-faq:target ~ .fst-tabbar{
  height: 56px;
   /* no-op; keeps structure stable */
  line-height: 54px;
  border: 2px solid #e3e1ee;
  background: transparent;
  font-weight: 900;
  font-size: 1.05em;
  letter-spacing: 0.02em;
   color: #221b50;
}
}
#fst-tab-eden:target ~ .fst-panels .fst-panel-default,
 
#fst-tab-laputa:target ~ .fst-panels .fst-panel-default,
.fst-page .fst-navrow-1 .fst-navicon {
#fst-tab-faq:target ~ .fst-panels .fst-panel-default{
  border-color: #64d396;
   display:none;
   color: #221b50;
}
}


/* show targeted panel */
.fst-page .fst-navrow-2 .fst-navicon {
#fst-tab-eden:target ~ .fst-panels .fst-panel-eden{ display:block; }
  border-color: #8bccff;
#fst-tab-laputa:target ~ .fst-panels .fst-panel-laputa{ display:block; }
  color: #221b50;
#fst-tab-faq:target ~ .fst-panels .fst-panel-faq{ display:block; }
}


/* pills */
.fst-page .fst-navtitle {
.fst-panel-title{ font-weight:900; font-size:16px; margin-bottom:6px; }
  display: block;
.fst-panel-text{ color: rgba(0,0,0,.72); line-height:1.7; font-size:14px; }
  font-weight: 900;
.fst-panel-go{ margin-top:8px; font-weight:900; }
  font-size: 1.02em;
  margin-top: 10px;
}


.fst-pills{
.fst-page .fst-navsub {
   margin-top:10px;
  display: block;
   display:flex;
   margin-top: 6px;
   flex-wrap:wrap;
   color: #5d5a7d;
  gap:10px;
   font-size: 0.9em;
}
}
.fst-pill{
 
   display:inline-block;
.fst-page .fst-navnote {
   padding:7px 10px;
   margin-top: 12px;
   border-radius:999px;
   padding-left: 12px;
   background:#f6f7fa;
   border-left: 10px solid #e3e1ee;
   border:1px solid rgba(0,0,0,.06);
   color: #4a4570;
  font-weight:900;
   line-height: 1.6;
  color: rgba(0,0,0,.70);
  font-size:13px;
}
}


.fst-tabs-note{
/* Worlds */
   padding:0 14px 14px 14px;
 
   color: rgba(0,0,0,.60);
.fst-page .fst-world-grid {
   font-size:13px;
   display: flex;
  line-height:1.65;
   flex-wrap: wrap;
   margin: -8px;
}
}


/* FAQ accordion via :target */
.fst-page .fst-world {
.fst-acc{
   margin: 8px;
   border:1px solid rgba(0,0,0,.08);
  padding: 8px 0 12px 0;
   border-radius:14px;
   border-bottom: 2px solid #e3e1ee;
   background:#fff;
   background: transparent;
   box-shadow: 0 6px 18px rgba(0,0,0,.06);
   flex: 1 1 calc(50% - 16px);
   overflow:hidden;
   min-width: 240px;
}
}


.fst-acc-item{ border-bottom:1px solid rgba(0,0,0,.08); }
.fst-page .fst-world-wide {
.fst-acc-item:last-child{ border-bottom:none; }
  flex-basis: 100%;
}


.fst-acc-head{
.fst-page .fst-world-laputa {
   padding:12px 14px;
   border-bottom-color: #64d396;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
}


.fst-acc-q{ font-weight:900; }
.fst-page .fst-world-eden {
.fst-acc-ctl{
   border-bottom-color: #8bccff;
  padding:6px 10px;
   border-radius:999px;
  background:#f6f7fa;
  border:1px solid rgba(0,0,0,.06);
  font-weight:900;
  color: rgba(0,0,0,.68);
  font-size:12px;
}
}


.fst-acc-body{
.fst-page .fst-world-sat {
   padding:0 14px;
   border-bottom-color: #e3e1ee;
  max-height:0;
  opacity:0;
  overflow:hidden;
  transition: opacity .18s ease, max-height .18s ease;
  color: rgba(0,0,0,.72);
  line-height:1.7;
}
}


.fst-mini{
.fst-page .fst-world-head {
   margin:10px 0;
   display: flex;
   padding:10px 12px;
   flex-wrap: wrap;
   border-radius:12px;
   align-items: center;
  background:#f6f7fa;
  border:1px solid rgba(0,0,0,.06);
}
}


/* target rules */
.fst-page .fst-world-icon {
#fst-faq-1:target ~ .fst-acc .fst-acc-1 .fst-acc-body,
  display: inline-block;
#fst-faq-2:target ~ .fst-acc .fst-acc-2 .fst-acc-body,
  width: 58px;
#fst-faq-3:target ~ .fst-acc .fst-acc-3 .fst-acc-body{
  height: 58px;
   max-height: 520px;
  line-height: 56px;
   opacity:1;
  text-align: center;
   padding: 0 14px 14px 14px;
  border: 2px solid #e3e1ee;
  background: transparent;
  margin-right: 12px;
  font-weight: 900;
   font-size: 1.05em;
   color: #221b50;
   transition: border-color 120ms ease;
}
}


/* TIMELINE */
.fst-page .fst-world-icon-laputa {
.fst-tl{
   border-color: #64d396;
  border:1px solid rgba(0,0,0,.08);
   color: #221b50;
   border-radius:14px;
   background:#fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  padding: 12px 14px;
}
}


.fst-tl-item{
.fst-page .fst-world-icon-eden {
   display:flex;
   border-color: #8bccff;
  gap:12px;
   color: #221b50;
   padding: 10px 0;
}
}
.fst-tl-item:not(:last-child){
 
   border-bottom:1px dashed rgba(0,0,0,.14);
.fst-page .fst-world-icon-sat {
   border-color: #e3e1ee;
  color: #221b50;
}
}


.fst-tl-dot{
.fst-page .fst-world-name {
   flex:0 0 12px;
   font-weight: 900;
  width:12px;
   font-size: 1.08em;
  height:12px;
   margin-right: 10px;
   border-radius:999px;
  background:#b63737;
   margin-top:6px;
  box-shadow: 0 0 0 4px rgba(182,55,55,.12);
}
}


.fst-tl-time{
.fst-page .fst-world-badge {
   font-size:12px;
   display: inline-block;
   color: rgba(0,0,0,.55);
  padding: 0;
   font-weight:900;
   border: 0;
  background: transparent;
  font-size: 0.88em;
   font-weight: 900;
  color: #4a4570;
}
}
.fst-tl-title{ font-weight:900; margin-top:2px; }
 
.fst-tl-text{
.fst-page .fst-world-desc {
   margin-top:4px;
   margin-top: 8px;
   color: rgba(0,0,0,.72);
   color: #4a4570;
   line-height:1.65;
  font-size: 0.95em;
  font-size:14px;
   line-height: 1.6;
}
}


/* LINKS grid */
.fst-page .fst-world-links {
.fst-linkgrid{
   margin-top: 10px;
   display:flex;
  padding-top: 10px;
   flex-wrap:wrap;
   border-top: 1px solid #e3e1ee;
   gap:10px;
  color: #4a4570;
   line-height: 1.6;
}
}


.fst-link{
.fst-page .fst-world-note {
  flex: 1 1 220px;
   margin-top: 10px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
   font-weight:900;
}
}
.fst-link:hover{
 
   border-color: rgba(182,55,55,.18);
/* Tabs */
   background:#fbfbfd;
 
.fst-page .fst-tabs {
   background: transparent;
   padding: 0;
}
}


/* footer */
.fst-page .fst-tab-anchor {
.fst-footer{
   display: block;
  margin-top:12px;
   height: 0;
  border:1px solid rgba(0,0,0,.08);
   overflow: hidden;
  border-radius:14px;
   background:#fff;
   box-shadow: 0 6px 18px rgba(0,0,0,.06);
   overflow:hidden;
}
}
.fst-footer-h{
 
   padding:12px 14px;
.fst-page .fst-tabbar {
  background:#fbfbfd;
   margin-bottom: 10px;
  border-bottom:1px solid rgba(0,0,0,.08);
  font-weight:900;
}
}
.fst-footer-c{
 
   padding:14px;
.fst-page .fst-tabbar p {
   color: rgba(0,0,0,.72);
   display: inline;
  line-height:1.75;
   margin: 0;
}
}


/* responsive */
.fst-page .fst-tabbar br {
@media (max-width: 1024px){
  display: none;
  .fst-hero-right{ display:none; }
  .fst-card{ width: 100%; max-width: 520px; }
}
}
@media (max-width: 640px){
 
   .fst-title{ font-size:30px; }
.fst-page .fst-tabbar a {
   .fst-kpi{ min-width: 140px; }
  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%;
  }
}
}

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