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

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

模板:Fstpagetest styles:修订间差异

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


/* ---------- Base ---------- */
.fst-page {
.fstx{
  width: 100%;
   max-width: 1240px;
  color: #221b50;
   margin: 0 auto;
}
   padding: 0 14px 44px 14px;
 
   color: rgba(0,0,0,.86);
/* Hard rule: absolutely no rounded corners in this portal */
   line-height: 1.6;
.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;
}
}


.fstx a{
.fst-page .fst-section-h {
   color:#8f1f1f;
   font-size: 1.25em;
   font-weight: 800;
   font-weight: 900;
   text-decoration: none;
  margin: 0 0 12px 0;
  border-left: 10px solid #e3e1ee;
   padding-left: 10px;
}
}


.fstx a:hover{ text-decoration: underline; }
.fst-page .fst-h-nav {
  border-left-color: #64d396;
}


.fstx-mini{
.fst-page .fst-h-worlds {
   margin-top:10px;
   border-left-color: #8bccff;
  font-size:12px;
  color: rgba(0,0,0,.58);
  line-height:1.7;
}
}


.fstx-blocktitle{
.fst-page .fst-h-track {
  font-size:14px;
   border-left-color: #64d396;
  font-weight:900;
   letter-spacing:.2px;
  margin-bottom:10px;
}
}


/* ---------- HERO (image as <img>, overlay content) ---------- */
.fst-page .fst-h-news {
.fstx-hero{
   border-left-color: #8bccff;
   position: relative;
  margin-top: 12px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
}
}


/* Wikitext: [[File:xxx.png|class=fstx-hero-bg|frameless]] */
.fst-page .fst-h-landmarks {
.fstx-hero-bg{
   border-left-color: #64d396;
   width: 100%;
  height: 360px;
  display: block;
  object-fit: cover;
}
}


/* overlay card layer */
.fst-page .fst-h-footer {
.fstx-hero-overlay{
   border-left-color: #64d396;
   position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  padding: 18px;
  background: rgba(255,255,255,.82);
}
}


/* header box */
/* Hero */
.fstx-hero-head{
 
   padding: 14px 14px 10px 14px;
.fst-page .fst-hero-media {
   border-radius: 14px;
   position: absolute;
   border: 1px solid rgba(0,0,0,.08);
   top: 0;
   background: rgba(255,255,255,.78);
   right: 0;
  bottom: 0;
  left: 0;
   overflow: hidden;
  opacity: 0.22;
}
}


.fstx-kicker{
.fst-page .fst-hero-media p {
  display:inline-block;
   margin: 0;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid rgba(182,55,55,.22);
  background: rgba(182,55,55,.10);
  color:#8f1f1f;
   font-size:12px;
  font-weight:900;
}
}


.fstx-title{
.fst-page .fst-hero-media a {
  margin-top:10px;
   display: block;
  font-size:34px;
   font-weight:900;
  letter-spacing:.6px;
}
}


.fstx-sub{
.fst-page .fst-hero-media img {
  margin-top:6px;
   width: 100%;
  font-size:13px;
   height: auto;
   color: rgba(0,0,0,.65);
   line-height:1.7;
}
}


/* "dynamic" banner - CSS-only opacity rotation */
.fst-page .fst-hero {
.fstx-banner{
   position: relative;
   position: relative;
  margin-top: 10px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
   overflow: hidden;
   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;
}
}


.fstx-bitem{
.fst-page .fst-title {
  position:absolute;
   font-size: 2.2em;
  left:12px;
   font-weight: 900;
  right:12px;
   line-height: 1.1;
  top:10px;
   margin-top: 6px;
   font-size:13px;
   font-weight:900;
   color: rgba(0,0,0,.72);
   opacity: 0;
  animation: fstxFade 12s infinite;
}
}


.fstx-b2{ animation-delay: 4s; }
.fst-page .fst-sub {
.fstx-b3{ animation-delay: 8s; }
  margin-top: 8px;
  color: #3b365f;
  font-size: 1.05em;
  line-height: 1.5;
}


@keyframes fstxFade{
.fst-page .fst-meta {
   0%{opacity:0;}
   margin-top: 10px;
  8%{opacity:1;}
   color: #4a4570;
  30%{opacity:1;}
   font-size: 0.95em;
   38%{opacity:0;}
   100%{opacity:0;}
}
}


/* top grid under banner */
.fst-page .fst-jump {
.fstx-topgrid{
   margin-top: 8px;
   display:flex;
   color: #4a4570;
   gap:14px;
   font-size: 0.95em;
   margin-top:12px;
   line-height: 1.7;
   align-items:stretch;
}
}


/* KPIs */
.fst-page .fst-jump a {
.fstx-kpis{
   text-decoration: none;
   display:flex;
   border-bottom: 1px dotted #8bccff;
  gap:10px;
  flex-wrap:wrap;
   margin-top:10px;
}
}


.fstx-kpi{
.fst-page .fst-jump a:hover {
  min-width: 160px;
   border-bottom-style: solid;
  padding:10px 12px;
   border-radius:14px;
  border:1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.78);
}
}


.fstx-kpi-num{
/* 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-weight: 900;
   font-size: 16px;
   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;
}
}


.fstx-kpi-text{
.fst-page .fst-navrow + .fst-navrow {
   margin-top:2px;
   margin-top: 12px;
  font-size:12px;
  color: rgba(0,0,0,.62);
  font-weight: 800;
}
}


/* small nav row */
.fst-page .fst-navrow-1 {
.fstx-nav{
   border-left-color: #64d396;
   margin-top:10px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
}


.fstx-nav a{
.fst-page .fst-navrow-2 {
   display:inline-block;
   border-left-color: #8bccff;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.70);
  color: rgba(0,0,0,.72);
  font-weight:900;
}
}


.fstx-nav a:hover{
.fst-page .fst-navtile {
   border-color: rgba(182,55,55,.22);
   margin: 6px;
   background: rgba(182,55,55,.06);
   flex: 1 1 calc(33.333% - 12px);
   color:#8f1f1f;
   min-width: 150px;
  text-decoration:none;
}
}


.fstx-note{
.fst-page .fst-navtile a {
   margin-top:10px;
   display: block;
   font-size:12px;
  padding: 10px 8px;
   color: rgba(0,0,0,.58);
  border: 0;
   line-height:1.7;
  background: transparent;
   padding: 10px 12px;
  text-decoration: none;
   border-radius: 14px;
   text-align: center;
   border: 1px solid rgba(0,0,0,.08);
   color: #221b50;
   background: rgba(255,255,255,.78);
  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;
}
}


/* ---------- Left quick links ---------- */
.fst-page .fst-navsub {
.fstx-quick{
   display: block;
   flex: 1 1 360px;
   margin-top: 6px;
   border-radius:14px;
   color: #5d5a7d;
  border:1px solid rgba(0,0,0,.08);
   font-size: 0.9em;
   background:#fff;
   padding:12px;
}
}


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


.fstx-q{
/* Worlds */
  width: 92px;
 
  border-radius:14px;
.fst-page .fst-world-grid {
  border:1px solid rgba(0,0,0,.08);
   display: flex;
   background:#fafbfe;
   flex-wrap: wrap;
   padding:10px 8px;
   margin: -8px;
  text-align:center;
   font-size:12px;
  font-weight:900;
  line-height:1.35;
}
}


.fstx-q:hover{
.fst-page .fst-world {
   border-color: rgba(182,55,55,.20);
  margin: 8px;
   background: rgba(182,55,55,.06);
  padding: 8px 0 12px 0;
   border-bottom: 2px solid #e3e1ee;
   background: transparent;
  flex: 1 1 calc(50% - 16px);
  min-width: 240px;
}
}


/* force icons align */
.fst-page .fst-world-wide {
.fstx-q img{
   flex-basis: 100%;
   display:block;
  margin: 0 auto 6px auto;
}
}


/* ---------- World tiles (image inside tile, overlay content) ---------- */
.fst-page .fst-world-laputa {
.fstx-worlds{
   border-bottom-color: #64d396;
   flex: 0 0 460px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
}


/* tile container */
.fst-page .fst-world-eden {
.fstx-worldtile{
   border-bottom-color: #8bccff;
  position: relative;
   border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  background:#fff;
  height: 120px;
}
}


/* Wikitext: [[File:xxx.png|class=fstx-wimg|frameless]] */
.fst-page .fst-world-sat {
.fstx-wimg{
   border-bottom-color: #e3e1ee;
   width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}
}


/* content overlay */
.fst-page .fst-world-head {
.fstx-wcontent{
   display: flex;
   position:absolute;
   flex-wrap: wrap;
   left:10px;
   align-items: center;
  right:10px;
  top:10px;
   bottom:10px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.06);
  background: rgba(255,255,255,.84);
  padding: 10px 12px;
}
}


.fstx-worldtile:hover{
.fst-page .fst-world-icon {
   border-color: rgba(182,55,55,.18);
  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;
}
}


.fstx-worldtile:hover .fstx-wcontent{
.fst-page .fst-world-icon-laputa {
   background: rgba(255,255,255,.92);
   border-color: #64d396;
   border-color: rgba(182,55,55,.14);
   color: #221b50;
}
}


.fstx-wname{
.fst-page .fst-world-icon-eden {
   font-size:18px;
   border-color: #8bccff;
   font-weight:900;
   color: #221b50;
  letter-spacing:.3px;
}
}


.fstx-wdesc{
.fst-page .fst-world-icon-sat {
   margin-top:4px;
   border-color: #e3e1ee;
  font-size:12px;
   color: #221b50;
   color: rgba(0,0,0,.62);
  font-weight:800;
}
}


/* ---------- MID ---------- */
.fst-page .fst-world-name {
.fstx-mid{
  font-weight: 900;
   margin-top:16px;
  font-size: 1.08em;
   margin-right: 10px;
}
}


.fstx-mid-inner{
.fst-page .fst-world-badge {
   display:flex;
   display: inline-block;
   gap:14px;
  padding: 0;
   align-items:flex-start;
  border: 0;
   background: transparent;
   font-size: 0.88em;
  font-weight: 900;
  color: #4a4570;
}
}


/* Tabs left */
.fst-page .fst-world-desc {
.fstx-tabs{
   margin-top: 8px;
   flex: 1 1 620px;
   color: #4a4570;
   border-radius:16px;
   font-size: 0.95em;
   border:1px solid rgba(0,0,0,.08);
   line-height: 1.6;
   background:#fff;
  padding:12px;
}
}


.fstx-tabbar{
.fst-page .fst-world-links {
   display:flex;
   margin-top: 10px;
   gap:8px;
   padding-top: 10px;
   flex-wrap:wrap;
   border-top: 1px solid #e3e1ee;
   margin-bottom:10px;
   color: #4a4570;
  line-height: 1.6;
}
}


.fstx-tabbar a{
.fst-page .fst-world-note {
  display:inline-block;
   margin-top: 10px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.10);
  background:#fbfbfd;
  color: rgba(0,0,0,.70);
   font-weight:900;
}
}


.fstx-tabbar a:hover{
/* Tabs */
  border-color: rgba(182,55,55,.20);
 
   background: rgba(182,55,55,.06);
.fst-page .fst-tabs {
  color:#8f1f1f;
   background: transparent;
   text-decoration:none;
   padding: 0;
}
}


/* Pills */
.fst-page .fst-tab-anchor {
.fstx-pill{
   display: block;
   display:inline-block;
   height: 0;
   padding:4px 10px;
   overflow: hidden;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  border:1px solid rgba(0,0,0,.08);
   background:#fff;
}
}


.fstx-pill-green{ border-color: rgba(60,160,120,.22); background: rgba(60,160,120,.10); color: rgba(10,90,60,.95); }
.fst-page .fst-tabbar {
.fstx-pill-amber{ border-color: rgba(255,153,0,.22); background: rgba(255,153,0,.14); color: rgba(110,70,0,.95); }
  margin-bottom: 10px;
.fstx-pill-red{ border-color: rgba(182,55,55,.22); background: rgba(182,55,55,.10); color:#8f1f1f; }
}


.fstx-panelhint{
.fst-page .fst-tabbar p {
   font-size:12px;
   display: inline;
   color: rgba(0,0,0,.60);
   margin: 0;
  font-weight:800;
}
}


/* panels (CSS-only :target) */
.fst-page .fst-tabbar br {
.fstx-panel{
   display: none;
   display:none;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.08);
  background:#fbfbfd;
  padding:12px;
}
}


.fstx-panel-default{ display:block; }
.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;
}


#t1:target, #t2:target, #t3:target{ display:block; }
.fst-page .fst-tabbar a:hover {
#t1:target ~ .fstx-panel-default,
  background: #ffffff;
#t2:target ~ .fstx-panel-default,
  border-color: #c9d2dc;
#t3:target ~ .fstx-panel-default{ display:none; }
}


.fstx-panelhead{
.fst-page .fst-tabpanel {
   display:flex;
   display: none;
   gap:10px;
   padding: 10px 0 12px 12px;
   align-items:center;
   border-left: 6px solid #e3e1ee;
  margin-bottom:10px;
}
}


.fstx-panelbig{
.fst-page .fst-tabpanel-beginner {
   border-radius:14px;
   display: block;
   border:1px solid rgba(0,0,0,.08);
   border-left-color: #64d396;
  background:#fff;
  padding:12px;
}
}


.fstx-panelbig-title{
.fst-page .fst-tabpanel-intermediate {
   font-weight:900;
   border-left-color: #64d396;
  font-size:16px;
}
}


.fstx-panelbig-text{
.fst-page .fst-tabpanel-advanced {
   margin-top:6px;
   border-left-color: #64d396;
  color: rgba(0,0,0,.72);
  line-height:1.7;
  font-size:13px;
}
}


.fstx-reclist{
.fst-page .fst-panel-h {
   margin-top:10px;
   font-weight: 900;
  display:flex;
   font-size: 1.05em;
   flex-direction:column;
   margin: 0 0 6px 0;
   gap:10px;
}
}


.fstx-rec{
.fst-page .fst-panel-p {
   border-radius:12px;
   color: #4a4570;
   border:1px solid rgba(0,0,0,.08);
   line-height: 1.6;
  background:#fff;
  padding:10px 12px;
}
}


.fstx-rec-title{ font-weight:900; }
.fst-page .fst-panel-links {
.fstx-rec-sub{
   margin-top: 8px;
   margin-top:2px;
   color: #4a4570;
   color: rgba(0,0,0,.62);
   line-height: 1.6;
  font-size:12px;
   line-height:1.6;
}
}


.fstx-panelfoot{
/* Default highlighted tab */
   margin-top:10px;
.fst-page .fst-tabbar a[href="#tab-beginner"] {
   font-size:12px;
   background: #ffffff;
  color: rgba(0,0,0,.62);
   border-color: #64d396;
  font-weight:800;
}
}


/* Notice right */
/* Target logic: show panel + highlight tab */
.fstx-notice{
.fst-page #tab-intermediate:target ~ .fst-tabpanels .fst-tabpanel-beginner,
  flex: 0 0 420px;
.fst-page #tab-advanced:target ~ .fst-tabpanels .fst-tabpanel-beginner {
  border-radius:16px;
   display: none;
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
   padding:12px;
}
}


.fstx-ncard{
.fst-page #tab-intermediate:target ~ .fst-tabpanels .fst-tabpanel-intermediate {
  border-radius:14px;
   display: block;
  border:1px solid rgba(0,0,0,.08);
  background:#fbfbfd;
   padding:12px;
}
}


.fstx-nhead{
.fst-page #tab-advanced:target ~ .fst-tabpanels .fst-tabpanel-advanced {
  font-weight:900;
   display: block;
   margin-bottom:6px;
}
}


.fstx-nitem{
.fst-page #tab-intermediate:target ~ .fst-tabbar a[href="#tab-beginner"],
  font-size:13px;
.fst-page #tab-advanced:target ~ .fst-tabbar a[href="#tab-beginner"] {
  line-height:1.7;
   background: transparent;
   color: rgba(0,0,0,.72);
   border-color: transparent;
   margin-top:4px;
}
}


.fstx-nbanner{
.fst-page #tab-intermediate:target ~ .fst-tabbar a[href="#tab-intermediate"] {
  margin-top:10px;
   background: #ffffff;
  border-radius:14px;
   border-color: #64d396;
  border:1px solid rgba(0,0,0,.08);
   background:#fbfbfd;
   padding:10px;
}
}


.fstx-nbanner-title{
.fst-page #tab-advanced:target ~ .fst-tabbar a[href="#tab-advanced"] {
   font-weight:900;
   background: #ffffff;
   margin-bottom:8px;
   border-color: #64d396;
}
}


.fstx-nbanner-sub{
/* Timeline + topics */
   margin-top:6px;
 
   font-size:12px;
.fst-page .fst-timeline {
   color: rgba(0,0,0,.58);
   margin-top: 12px;
   line-height:1.6;
   padding-top: 12px;
   border-top: 1px solid #e3e1ee;
  border-left: 2px solid #e3e1ee;
   padding-left: 12px;
}
}


/* make images inside cards responsive */
.fst-page .fst-timeline-h {
.fstx-notice img,
   font-weight: 900;
.fstx-tabs img,
   margin: 0 0 8px 0;
.fstx-worldinner img{
   max-width:100%;
  height:auto;
  border-radius: 12px;
   display:block;
}
}


/* ---------- World sections ---------- */
.fst-page .fst-timeline-item {
.fstx-worldsec{ margin-top:16px; }
  margin-top: 6px;
}


.fstx-worldinner{
.fst-page .fst-timeline-date {
   display:flex;
   display: inline-block;
   flex-direction:column;
  min-width: 74px;
   gap:14px;
   font-weight: 900;
   color: #221b50;
}
}


.fstx-wbox{
.fst-page .fst-timeline-text {
   border-radius:16px;
   color: #4a4570;
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
  padding:12px;
}
}


.fstx-wtext{
.fst-page .fst-topics {
   margin-top:-4px;
   margin-top: 12px;
   margin-bottom:10px;
   padding-top: 12px;
   color: rgba(0,0,0,.70);
   border-top: 1px solid #e3e1ee;
  line-height:1.7;
  font-size:13px;
}
}


/* ---------- Landmarks ---------- */
.fst-page .fst-topics-h {
.fstx-land{ margin-top:16px; }
  font-weight: 900;
  margin: 0 0 6px 0;
}


.fstx-land-inner{
.fst-page .fst-topics-line {
   border-radius:16px;
   color: #4a4570;
   border:1px solid rgba(0,0,0,.08);
   line-height: 1.7;
  background:#fff;
  padding:14px;
}
}


.fstx-landtitle{
/* News */
  font-size:22px;
 
  font-weight:900;
.fst-page .fst-news {
  text-align:center;
   background: transparent;
   letter-spacing:.6px;
   padding: 0;
   margin: 8px 0;
}
}


.fstx-landsub{
.fst-page .fst-news-item {
   text-align:center;
   padding: 10px 0 10px 12px;
  color: rgba(0,0,0,.60);
   border-left: 6px solid #8bccff;
  font-size:13px;
   border-bottom: 0;
   line-height:1.7;
   margin-bottom:12px;
}
}


.fstx-landgrid{
.fst-page .fst-news-item + .fst-news-item {
   display:flex;
   margin-top: 10px;
  flex-wrap:wrap;
  gap:12px;
}
}


.fstx-landcard{
.fst-page .fst-news-item:last-child {
  flex: 1 1 260px;
   border-bottom: 0;
   border-radius:16px;
  border:1px solid rgba(0,0,0,.08);
  background:#fbfbfd;
  padding:12px;
}
}


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


.fstx-landp{
/* Landmarks table (template output) */
  margin-top:8px;
 
  line-height:1.8;
.fst-page .fst-zone-landmarks table {
   color: rgba(0,0,0,.72);
   width: 100%;
   font-size:13px;
   background: #ffffff !important;
}
}


/* ---------- Footer ---------- */
.fst-page .fst-zone-landmarks th,
.fstx-foot{ margin-top:16px; }
.fst-page .fst-zone-landmarks td {
  border: 1px solid #e3e1ee !important;
  padding: 6px 8px;
  background: #ffffff !important;
  color: #221b50 !important;
}


.fstx-foot-inner{
.fst-page .fst-zone-landmarks th {
  border-radius:16px;
   background: #f9f8fb !important;
  border:1px solid rgba(0,0,0,.08);
   background:#fff;
  padding:14px;
}
}


.fstx-footbox{
.fst-page .fst-zone-landmarks tr:nth-child(even) td {
  border-radius:14px;
   background: #f9f8fb !important;
  border:1px solid rgba(0,0,0,.08);
   background:#fbfbfd;
  padding:12px;
}
}


.fstx-foottitle{
/* Footer */
   font-weight:900;
 
   font-size:14px;
.fst-page .fst-footer-links {
   margin-bottom:6px;
   margin-top: 10px;
   color: #4a4570;
   line-height: 1.7;
}
}


.fstx-foottext{
/* Keep navbox/table styling tame inside this portal */
  color: rgba(0,0,0,.72);
.fst-page .navbox,
  line-height:1.8;
.fst-page table {
   font-size:13px;
   box-shadow: none;
}
}


/* ---------- Responsive ---------- */
@media (max-width: 720px) {
@media (max-width: 1020px){
   .fst-page .fst-zone-mid {
   .fstx-hero-bg{ height: 320px; }
    padding-left: 10px;
   .fstx-topgrid{ flex-direction:column; }
    padding-right: 10px;
   .fstx-worlds{ flex:1 1 auto; }
  }
   .fstx-mid-inner{ flex-direction:column; }
 
  .fstx-notice{ flex:1 1 auto; }
   .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%;
  }
}