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

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

模板:Fstpagetest styles:修订间差异

来自RIA | Wiki
ChenM0M留言 | 贡献
无编辑摘要
ChenM0M留言 | 贡献
无编辑摘要
 
(未显示同一用户的3个中间版本)
第1行: 第1行:
/* TemplateStyles for fstpagetest.wiki
/* TemplateStyles for fstpagetest.wiki
   Keep selectors scoped under .fst-page.
   Design goals:
  - Portal-like wiki homepage, not a web app
  - Clear section separation (esp. mobile)
  - No rounded corners anywhere
  - Avoid nested card-on-card framing
*/
*/


.fst-page {
.fst-page {
   margin: 0 auto;
  width: 100%;
   max-width: 1120px;
  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 {
.fst-page .fst-muted {
   color: #5b626a;
   color: #5d5a7d;
   font-size: 0.95em;
   font-size: 0.95em;
}
.fst-page .fst-mt10 {
  margin-top: 10px;
}
}


.fst-page .fst-kicker {
.fst-page .fst-kicker {
   color: #3b4046;
   color: #4a4570;
   font-size: 0.95em;
   font-size: 0.95em;
   letter-spacing: 0.03em;
   letter-spacing: 0.03em;
第20行: 第53行:
}
}


.fst-page .fst-mt6 {
.fst-page .fst-zone {
   margin-top: 6px;
   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-mt8 {
.fst-page .fst-zone-mid {
   margin-top: 8px;
   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-mt10 {
.fst-page .fst-zone-nav {
   margin-top: 10px;
   background: #f9f8fb;
  padding-left: 12px;
  padding-right: 12px;
}
}


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


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


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


.fst-page .fst-surface {
.fst-page .fst-h-nav {
   border: 1px solid #d8dde3;
   border-left-color: #64d396;
   border-radius: 14px;
}
   background: #ffffff;
 
   padding: 14px;
.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;
}
}


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


.fst-page .fst-hero {
.fst-page .fst-h-footer {
   border: 1px solid #d8dde3;
   border-left-color: #64d396;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #fff6e8 0%, #f8fbff 48%, #ffffff 100%);
}
}
/* Hero */


.fst-page .fst-hero-media {
.fst-page .fst-hero-media {
第86行: 第148行:
}
}


.fst-page .fst-hero-inner {
.fst-page .fst-hero {
  padding: 18px 18px 14px 18px;
   position: relative;
   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-hero-title {
.fst-page .fst-title {
   font-size: 2.1em;
   font-size: 2.2em;
   font-weight: 800;
   font-weight: 900;
   line-height: 1.1;
   line-height: 1.1;
   margin: 0;
   margin-top: 6px;
}
}


.fst-page .fst-hero-sub {
.fst-page .fst-sub {
   margin-top: 6px;
   margin-top: 8px;
   color: #4a515a;
   color: #3b365f;
   font-size: 1.05em;
   font-size: 1.05em;
   line-height: 1.35;
   line-height: 1.5;
}
 
.fst-page .fst-hero-row {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
 
.fst-page .fst-pill {
  display: inline-block;
  border: 1px solid #cfd6de;
  background: #ffffff;
  border-radius: 999px;
  padding: 4px 10px;
  margin: 0 8px 8px 0;
  font-size: 0.92em;
  color: #2f353b;
}
}


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


/* Buttons (span wrapper + <a>) */
.fst-page .fst-jump {
 
   margin-top: 8px;
.fst-page .fst-btn {
  color: #4a4570;
   display: inline-block;
   font-size: 0.95em;
   margin-right: 8px;
   line-height: 1.7;
   margin-top: 6px;
}
}


.fst-page .fst-btn a {
.fst-page .fst-jump a {
  display: inline-block;
   text-decoration: none;
   text-decoration: none;
   border: 1px solid #cfd6de;
   border-bottom: 1px dotted #8bccff;
  border-radius: 999px;
  padding: 6px 12px;
  background: #ffffff;
  color: #2c333a;
  transition: background 120ms ease, border-color 120ms ease;
}
}


.fst-page .fst-btn a:hover {
.fst-page .fst-jump a:hover {
  background: #f5f9ff;
   border-bottom-style: solid;
   border-color: #c2ccd7;
}
}


第156行: 第196行:


.fst-page .fst-banner {
.fst-page .fst-banner {
  margin-top: 12px;
  border: 1px solid #d8dde3;
  border-radius: 14px;
  background: linear-gradient(90deg, #fff 0%, #f5fbff 55%, #fff 100%);
   padding: 10px 12px;
   padding: 10px 12px;
   display: flex;
   border: 1px solid #e3e1ee;
   flex-wrap: wrap;
   border-left: 10px solid #64d396;
   align-items: center;
   background: #ffffff;
}
}


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


.fst-page .fst-banner-text {
.fst-page .fst-banner-text {
  margin: 0 10px 6px 0;
   color: #3b365f;
   color: #3c444e;
}
}


/* Top navigation block */
/* Layout */


.fst-page .fst-topnav {
.fst-page .fst-row {
   display: flex;
   display: flex;
   flex-wrap: wrap;
   flex-wrap: wrap;
   align-items: flex-start;
   margin: -10px;
}
}


.fst-page .fst-topnav-left {
.fst-page .fst-col {
   flex: 1 1 300px;
  margin: 10px;
   min-width: 260px;
   flex: 1 1 420px;
  padding-right: 12px;
   min-width: 320px;
}
}


.fst-page .fst-topnav-right {
/* Quick nav */
  flex: 1 1 480px;
  min-width: 320px;
}


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


.fst-page .fst-icon {
.fst-page .fst-navrow + .fst-navrow {
   margin: 6px;
   margin-top: 12px;
   flex: 0 0 calc(33.333% - 12px);
}
 
.fst-page .fst-navrow-1 {
   border-left-color: #64d396;
}
 
.fst-page .fst-navrow-2 {
  border-left-color: #8bccff;
}
}


.fst-page .fst-icon-box {
.fst-page .fst-navtile {
   border: 1px solid #d8dde3;
   margin: 6px;
   border-radius: 12px;
   flex: 1 1 calc(33.333% - 12px);
   background: #ffffff;
   min-width: 150px;
  overflow: hidden;
}
}


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


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


.fst-page .fst-icon-label {
/* Suppress default external-link icon inside portal tiles */
   margin-top: 6px;
.fst-page .fst-navtile a.external {
   text-align: center;
   background: none !important;
  color: #4b535d;
   padding-right: 0 !important;
  font-size: 0.9em;
}
}


/* Layout helpers */
.fst-page .fst-navtile a.external:hover {
 
   background: #ffffff !important;
.fst-page .fst-split {
   display: flex;
  flex-wrap: wrap;
  margin: -10px;
}
}


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


/* Tiles grid */
.fst-page .fst-navrow-1 .fst-navicon {
 
   border-color: #64d396;
.fst-page .fst-grid {
   color: #221b50;
   display: flex;
  flex-wrap: wrap;
   margin: -8px;
}
}


.fst-page .fst-grid > .fst-tile {
.fst-page .fst-navrow-2 .fst-navicon {
  margin: 8px;
   border-color: #8bccff;
  padding: 12px;
   color: #221b50;
   border: 1px solid #d8dde3;
   border-radius: 14px;
  background: #ffffff;
  flex: 1 1 210px;
  min-width: 210px;
  transition: background 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}
}


.fst-page .fst-grid > .fst-tile:hover {
.fst-page .fst-navtitle {
   background: #fbfdff;
   display: block;
   border-color: #cbd3dc;
   font-weight: 900;
   box-shadow: 0 1px 12px rgba(20, 30, 40, 0.06);
   font-size: 1.02em;
  margin-top: 10px;
}
}


.fst-page .fst-tile-title {
.fst-page .fst-navsub {
   font-size: 1.05em;
   display: block;
   font-weight: 800;
  margin-top: 6px;
   margin: 0 0 6px 0;
   color: #5d5a7d;
   font-size: 0.9em;
}
}


.fst-page .fst-tile-desc {
.fst-page .fst-navnote {
   color: #4b535d;
   margin-top: 12px;
   font-size: 0.95em;
   padding-left: 12px;
   line-height: 1.45;
   border-left: 10px solid #e3e1ee;
}
   color: #4a4570;
 
   line-height: 1.6;
.fst-page .fst-tile-cta {
   margin-top: 10px;
   font-size: 0.95em;
}
}


/* Worlds tiles */
/* Worlds */


.fst-page .fst-world-tiles {
.fst-page .fst-world-grid {
   display: flex;
   display: flex;
   flex-wrap: wrap;
   flex-wrap: wrap;
第305行: 第337行:
}
}


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


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


.fst-page .fst-world-title {
.fst-page .fst-world-laputa {
   font-size: 1.1em;
   border-bottom-color: #64d396;
   font-weight: 800;
}
   margin: 0 0 6px 0;
 
.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 {
.fst-page .fst-world-icon {
   display: inline-block;
   display: inline-block;
   width: 34px;
   width: 58px;
   height: 34px;
   height: 58px;
   line-height: 34px;
   line-height: 56px;
   text-align: center;
   text-align: center;
   border-radius: 10px;
   border: 2px solid #e3e1ee;
  border: 1px solid #d8dde3;
   background: transparent;
   background: #ffffff;
   margin-right: 12px;
   margin-right: 10px;
   font-weight: 900;
   font-weight: 800;
   font-size: 1.05em;
   font-size: 0.92em;
   color: #221b50;
   color: #2c333a;
  transition: border-color 120ms ease;
}
}


.fst-page .fst-world-icon-laputa {
.fst-page .fst-world-icon-laputa {
  background: #fff3df;
   border-color: #64d396;
   border-color: #e7cfa4;
   color: #221b50;
   color: #6a4a1f;
}
}


.fst-page .fst-world-icon-eden {
.fst-page .fst-world-icon-eden {
  background: #e8f4ff;
   border-color: #8bccff;
   border-color: #bcd6ee;
   color: #221b50;
   color: #214a6b;
}
}


.fst-page .fst-world-icon-sat {
.fst-page .fst-world-icon-sat {
   background: #f3f7f2;
   border-color: #e3e1ee;
   border-color: #d6e0d3;
   color: #221b50;
   color: #35543e;
}
 
.fst-page .fst-world-name {
  font-weight: 900;
  font-size: 1.08em;
   margin-right: 10px;
}
}


.fst-page .fst-world-badge {
.fst-page .fst-world-badge {
   display: inline-block;
   display: inline-block;
   margin-left: 8px;
   padding: 0;
  border: 1px solid #d8dde3;
   border: 0;
   border-radius: 999px;
   background: transparent;
  padding: 3px 8px;
   background: #f7fafc;
  color: #3b4450;
   font-size: 0.88em;
   font-size: 0.88em;
  font-weight: 900;
  color: #4a4570;
}
}


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


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


.fst-page .fst-minirow .fst-btn a {
.fst-page .fst-world-note {
   padding: 5px 10px;
   margin-top: 10px;
  font-size: 0.93em;
}
}


/* Tabs (:target) */
/* Tabs */


.fst-page .fst-tabs {
.fst-page .fst-tabs {
  border: 1px solid #d8dde3;
   background: transparent;
  border-radius: 14px;
   padding: 0;
   background: #ffffff;
   padding: 12px;
}
}


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


.fst-page .fst-tabbar {
.fst-page .fst-tabbar {
   margin-bottom: 12px;
   margin-bottom: 10px;
}
 
.fst-page .fst-tabbar p {
  display: inline;
  margin: 0;
}
 
.fst-page .fst-tabbar br {
  display: none;
}
}


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


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


.fst-page .fst-panels .fst-panel {
.fst-page .fst-tabpanel {
   display: none;
   display: none;
   border: 1px solid #d8dde3;
   padding: 10px 0 12px 12px;
   border-radius: 12px;
   border-left: 6px solid #e3e1ee;
  background: #fbfdff;
  padding: 12px;
}
}


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


.fst-page #tab-intermediate:target ~ .fst-panels .fst-panel-beginner,
.fst-page .fst-tabpanel-advanced {
.fst-page #tab-advanced:target ~ .fst-panels .fst-panel-beginner {
  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;
   display: none;
}
}


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


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


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


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


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


/* Lists inside panels */
/* Timeline + topics */


.fst-page .fst-list {
.fst-page .fst-timeline {
   margin: 8px 0 0 0;
  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-list ul {
.fst-page .fst-topics-h {
   margin: 6px 0 0 18px;
  font-weight: 900;
   margin: 0 0 6px 0;
}
}


.fst-page .fst-list li {
.fst-page .fst-topics-line {
   margin: 4px 0;
   color: #4a4570;
  line-height: 1.7;
}
}


第476行: 第597行:


.fst-page .fst-news {
.fst-page .fst-news {
   border: 1px solid #d8dde3;
   background: transparent;
   border-radius: 14px;
   padding: 0;
   background: #ffffff;
}
   padding: 12px;
 
.fst-page .fst-news-item {
  padding: 10px 0 10px 12px;
   border-left: 6px solid #8bccff;
   border-bottom: 0;
}
}


.fst-page .fst-newsitem {
.fst-page .fst-news-item + .fst-news-item {
  border: 1px solid #d8dde3;
  border-radius: 12px;
  background: #ffffff;
  padding: 10px 12px;
   margin-top: 10px;
   margin-top: 10px;
}
}


.fst-page .fst-newsitem:first-child {
.fst-page .fst-news-item:last-child {
   margin-top: 0;
  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-newsitem-title {
.fst-page .fst-zone-landmarks th {
   font-weight: 800;
   background: #f9f8fb !important;
  margin: 0 0 6px 0;
}
}


.fst-page .fst-newsitem-desc {
.fst-page .fst-zone-landmarks tr:nth-child(even) td {
   color: #4b535d;
   background: #f9f8fb !important;
  font-size: 0.95em;
  line-height: 1.45;
}
}


/* Footer */
/* Footer */


.fst-page .fst-footer {
.fst-page .fst-footer-links {
   border-top: 1px solid #e3e7ec;
   margin-top: 10px;
   margin-top: 22px;
   color: #4a4570;
   padding-top: 12px;
   line-height: 1.7;
  color: #4b535d;
}
}


.fst-page .fst-footer .fst-btn a {
/* Keep navbox/table styling tame inside this portal */
   background: #ffffff;
.fst-page .navbox,
.fst-page table {
   box-shadow: none;
}
}


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


第527行: 第667行:
   }
   }


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


   .fst-page .fst-world-tiles .fst-world {
   .fst-page .fst-world {
     min-width: 0;
     min-width: 0;
     flex-basis: 100%;
     flex-basis: 100%;
  }
  .fst-page .fst-topnav-left {
    padding-right: 0;
  }
  .fst-page .fst-icon {
    flex-basis: calc(50% - 12px);
   }
   }
}
}

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