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

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

模板:Fstpagetest styles:修订间差异

来自RIA | Wiki
ChenM0M留言 | 贡献
无编辑摘要
ChenM0M留言 | 贡献
无编辑摘要
第9行: 第9行:
.fst-page {
.fst-page {
   width: 100%;
   width: 100%;
}
/* Hard rule: absolutely no rounded corners in this portal */
.fst-page,
.fst-page * {
  border-radius: 0 !important;
}
}


.fst-page * {
.fst-page * {
   box-sizing: border-box;
   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;
}
}


第46行: 第67行:
.fst-page .fst-zone-mid {
.fst-page .fst-zone-mid {
   background: #f7f9fb;
   background: #f7f9fb;
  background:
    repeating-linear-gradient(0deg, rgba(43, 108, 176, 0.035), rgba(43, 108, 176, 0.035) 1px, transparent 1px, transparent 26px),
    repeating-linear-gradient(90deg, rgba(43, 108, 176, 0.035), rgba(43, 108, 176, 0.035) 1px, transparent 1px, transparent 26px),
    #f7f9fb;
   padding: 18px 12px 18px 12px;
   padding: 18px 12px 18px 12px;
}
}
第75行: 第100行:


.fst-page .fst-h-nav {
.fst-page .fst-h-nav {
   border-left-color: #d84a3a;
   border-left-color: #b07a2a;
}
}


第83行: 第108行:


.fst-page .fst-h-track {
.fst-page .fst-h-track {
   border-left-color: #1f7a4a;
   border-left-color: #2b6cb0;
}
}


.fst-page .fst-h-news {
.fst-page .fst-h-news {
   border-left-color: #8a6a2d;
   border-left-color: #b07a2a;
}
}


第172行: 第197行:
.fst-page .fst-banner {
.fst-page .fst-banner {
   padding: 10px 12px;
   padding: 10px 12px;
   border-left: 10px solid #d5b88a;
   border-left: 10px solid #b07a2a;
   background: #fff7ec;
   background: #fff7ec;
}
}
第220行: 第245行:


.fst-page .fst-navrow-1 {
.fst-page .fst-navrow-1 {
   border-left-color: #d84a3a;
   border-left-color: #b07a2a;
}
}


第241行: 第266行:
   text-align: center;
   text-align: center;
   color: #1f2328;
   color: #1f2328;
  transition: background 120ms ease;
}
}


第249行: 第275行:
/* Suppress default external-link icon inside portal tiles */
/* Suppress default external-link icon inside portal tiles */
.fst-page .fst-navtile a.external {
.fst-page .fst-navtile a.external {
   background-image: none !important;
   background: none !important;
   padding-right: 8px;
   padding-right: 0 !important;
}
 
.fst-page .fst-navtile a.external:hover {
  background: #f3f6fa !important;
}
}


.fst-page .fst-navicon {
.fst-page .fst-navicon {
   display: inline-block;
   display: inline-block;
   width: 52px;
   width: 56px;
   height: 52px;
   height: 56px;
   line-height: 50px;
   line-height: 54px;
   border: 2px solid #e6eaee;
   border: 2px solid #e6eaee;
   background: transparent;
   background: transparent;
   font-weight: 900;
   font-weight: 900;
   font-size: 0.92em;
   font-size: 1.05em;
   letter-spacing: 0.02em;
   letter-spacing: 0.02em;
   color: #1f2328;
   color: #1f2328;
第267行: 第297行:


.fst-page .fst-navrow-1 .fst-navicon {
.fst-page .fst-navrow-1 .fst-navicon {
   border-color: #d84a3a;
   border-color: #b07a2a;
   color: #9a2b20;
   color: #6a4a1f;
}
}


第328行: 第358行:


.fst-page .fst-world-sat {
.fst-page .fst-world-sat {
   border-bottom-color: #d6e0d3;
   border-bottom-color: #c9d2dc;
}
}


第347行: 第377行:
   margin-right: 12px;
   margin-right: 12px;
   font-weight: 900;
   font-weight: 900;
   font-size: 0.95em;
   font-size: 1.05em;
   color: #1f2328;
   color: #1f2328;
  transition: border-color 120ms ease;
}
}


第362行: 第393行:


.fst-page .fst-world-icon-sat {
.fst-page .fst-world-icon-sat {
   border-color: #d6e0d3;
   border-color: #c9d2dc;
   color: #35543e;
   color: #3b4450;
}
}


第409行: 第440行:


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


.fst-page .fst-tabbar {
.fst-page .fst-tabbar {
   margin-bottom: 10px;
   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: 4px 2px;
   padding: 6px 10px;
   margin: 0 14px 8px 0;
   margin: 0 10px 8px 0;
   border: 0;
   border: 1px solid transparent;
  border-bottom: 2px solid transparent;
   background: transparent;
   background: transparent;
   text-decoration: none;
   text-decoration: none;
   font-weight: 900;
   font-weight: 900;
   color: #1f2328;
   color: #1f2328;
  transition: background 120ms ease, border-color 120ms ease;
}
}


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


第448行: 第491行:


.fst-page .fst-tabpanel-advanced {
.fst-page .fst-tabpanel-advanced {
   border-left-color: #d6e0d3;
   border-left-color: #c9d2dc;
}
}


第470行: 第513行:
/* Default highlighted tab */
/* Default highlighted tab */
.fst-page .fst-tabbar a[href="#tab-beginner"] {
.fst-page .fst-tabbar a[href="#tab-beginner"] {
   border-bottom-color: #2b6cb0;
  background: #f1f7ff;
   border-color: #bcd6ee;
}
}


第489行: 第533行:
.fst-page #tab-intermediate:target ~ .fst-tabbar a[href="#tab-beginner"],
.fst-page #tab-intermediate:target ~ .fst-tabbar a[href="#tab-beginner"],
.fst-page #tab-advanced:target ~ .fst-tabbar a[href="#tab-beginner"] {
.fst-page #tab-advanced:target ~ .fst-tabbar a[href="#tab-beginner"] {
   border-bottom-color: transparent;
  background: transparent;
   border-color: transparent;
}
}


.fst-page #tab-intermediate:target ~ .fst-tabbar a[href="#tab-intermediate"] {
.fst-page #tab-intermediate:target ~ .fst-tabbar a[href="#tab-intermediate"] {
   border-bottom-color: #d5b88a;
  background: #f1f7ff;
   border-color: #bcd6ee;
}
}


.fst-page #tab-advanced:target ~ .fst-tabbar a[href="#tab-advanced"] {
.fst-page #tab-advanced:target ~ .fst-tabbar a[href="#tab-advanced"] {
   border-bottom-color: #1f7a4a;
  background: #f1f7ff;
   border-color: #bcd6ee;
}
}


第570行: 第617行:
   font-weight: 900;
   font-weight: 900;
   margin: 0 0 4px 0;
   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 #e6eaee !important;
  padding: 6px 8px;
  background: #ffffff !important;
  color: #1f2328 !important;
}
.fst-page .fst-zone-landmarks th {
  background: #f1f7ff !important;
}
.fst-page .fst-zone-landmarks tr:nth-child(even) td {
  background: #fbfcfd !important;
}
}


第580行: 第650行:
}
}


/* Hard rule: no rounded corners within this portal */
/* Keep navbox/table styling tame inside this portal */
.fst-page .navbox,
.fst-page .navbox,
.fst-page .navbox *,
.fst-page table {
.fst-page table,
   box-shadow: none;
.fst-page th,
.fst-page td {
   border-radius: 0 !important;
}
}



2026年2月14日 (六) 16:51的版本

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

/* 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: #5b626a;
  font-size: 0.95em;
}

.fst-page .fst-mt10 {
  margin-top: 10px;
}

.fst-page .fst-kicker {
  color: #3b4046;
  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 #e6eaee;
}

.fst-page .fst-zone-hero {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.fst-page .fst-zone-mid {
  background: #f7f9fb;
  background:
    repeating-linear-gradient(0deg, rgba(43, 108, 176, 0.035), rgba(43, 108, 176, 0.035) 1px, transparent 1px, transparent 26px),
    repeating-linear-gradient(90deg, rgba(43, 108, 176, 0.035), rgba(43, 108, 176, 0.035) 1px, transparent 1px, transparent 26px),
    #f7f9fb;
  padding: 18px 12px 18px 12px;
}

.fst-page .fst-zone-nav {
  background: #fbfcfd;
  padding-left: 12px;
  padding-right: 12px;
}

.fst-page .fst-zone-landmarks {
  background: #fbfcfd;
  padding-left: 12px;
  padding-right: 12px;
}

.fst-page .fst-zone-footer {
  border-top: 2px solid #e6eaee;
  padding-top: 18px;
}

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

.fst-page .fst-h-nav {
  border-left-color: #b07a2a;
}

.fst-page .fst-h-worlds {
  border-left-color: #2b6cb0;
}

.fst-page .fst-h-track {
  border-left-color: #2b6cb0;
}

.fst-page .fst-h-news {
  border-left-color: #b07a2a;
}

.fst-page .fst-h-landmarks {
  border-left-color: #3b4450;
}

.fst-page .fst-h-footer {
  border-left-color: #3b4450;
}

/* 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, #fff6e8 0%, #f8fbff 56%, #ffffff 100%);
  border-top: 1px solid #e6eaee;
  border-bottom: 1px solid #e6eaee;
  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: #3f4650;
  font-size: 1.05em;
  line-height: 1.5;
}

.fst-page .fst-meta {
  margin-top: 10px;
  color: #4b535d;
  font-size: 0.95em;
}

.fst-page .fst-jump {
  margin-top: 8px;
  color: #4b535d;
  font-size: 0.95em;
  line-height: 1.7;
}

.fst-page .fst-jump a {
  text-decoration: none;
  border-bottom: 1px dotted #b7c0cb;
}

.fst-page .fst-jump a:hover {
  border-bottom-style: solid;
}

/* Banner */

.fst-page .fst-banner {
  padding: 10px 12px;
  border-left: 10px solid #b07a2a;
  background: #fff7ec;
}

.fst-page .fst-banner-tag {
  display: inline-block;
  padding: 3px 10px;
  margin-right: 10px;
  border: 1px solid #e7cfa4;
  background: #ffffff;
  font-weight: 900;
  font-size: 0.92em;
  color: #6a4a1f;
}

.fst-page .fst-banner-text {
  color: #3c444e;
}

/* 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 #e6eaee;
}

.fst-page .fst-navrow + .fst-navrow {
  margin-top: 12px;
}

.fst-page .fst-navrow-1 {
  border-left-color: #b07a2a;
}

.fst-page .fst-navrow-2 {
  border-left-color: #2b6cb0;
}

.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: #1f2328;
  transition: background 120ms ease;
}

.fst-page .fst-navtile a:hover {
  background: #f3f6fa;
}

/* 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: #f3f6fa !important;
}

.fst-page .fst-navicon {
  display: inline-block;
  width: 56px;
  height: 56px;
  line-height: 54px;
  border: 2px solid #e6eaee;
  background: transparent;
  font-weight: 900;
  font-size: 1.05em;
  letter-spacing: 0.02em;
  color: #1f2328;
}

.fst-page .fst-navrow-1 .fst-navicon {
  border-color: #b07a2a;
  color: #6a4a1f;
}

.fst-page .fst-navrow-2 .fst-navicon {
  border-color: #2b6cb0;
  color: #214a6b;
}

.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: #5b626a;
  font-size: 0.9em;
}

.fst-page .fst-navnote {
  margin-top: 12px;
  padding-left: 12px;
  border-left: 10px solid #e6eaee;
  color: #4b535d;
  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 #e6eaee;
  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: #d5b88a;
}

.fst-page .fst-world-eden {
  border-bottom-color: #bcd6ee;
}

.fst-page .fst-world-sat {
  border-bottom-color: #c9d2dc;
}

.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 #e6eaee;
  background: transparent;
  margin-right: 12px;
  font-weight: 900;
  font-size: 1.05em;
  color: #1f2328;
  transition: border-color 120ms ease;
}

.fst-page .fst-world-icon-laputa {
  border-color: #e7cfa4;
  color: #6a4a1f;
}

.fst-page .fst-world-icon-eden {
  border-color: #bcd6ee;
  color: #214a6b;
}

.fst-page .fst-world-icon-sat {
  border-color: #c9d2dc;
  color: #3b4450;
}

.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: #3b4450;
}

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

.fst-page .fst-world-links {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e6eaee;
  color: #4b535d;
  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: #1f2328;
  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 #e6eaee;
}

.fst-page .fst-tabpanel-beginner {
  display: block;
  border-left-color: #bcd6ee;
}

.fst-page .fst-tabpanel-intermediate {
  border-left-color: #d5b88a;
}

.fst-page .fst-tabpanel-advanced {
  border-left-color: #c9d2dc;
}

.fst-page .fst-panel-h {
  font-weight: 900;
  font-size: 1.05em;
  margin: 0 0 6px 0;
}

.fst-page .fst-panel-p {
  color: #4b535d;
  line-height: 1.6;
}

.fst-page .fst-panel-links {
  margin-top: 8px;
  color: #4b535d;
  line-height: 1.6;
}

/* Default highlighted tab */
.fst-page .fst-tabbar a[href="#tab-beginner"] {
  background: #f1f7ff;
  border-color: #bcd6ee;
}

/* 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: #f1f7ff;
  border-color: #bcd6ee;
}

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

/* Timeline + topics */

.fst-page .fst-timeline {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e6eaee;
  border-left: 2px solid #e6eaee;
  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: #1f2328;
}

.fst-page .fst-timeline-text {
  color: #4b535d;
}

.fst-page .fst-topics {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e6eaee;
}

.fst-page .fst-topics-h {
  font-weight: 900;
  margin: 0 0 6px 0;
}

.fst-page .fst-topics-line {
  color: #4b535d;
  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 #e6eaee;
  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 #e6eaee !important;
  padding: 6px 8px;
  background: #ffffff !important;
  color: #1f2328 !important;
}

.fst-page .fst-zone-landmarks th {
  background: #f1f7ff !important;
}

.fst-page .fst-zone-landmarks tr:nth-child(even) td {
  background: #fbfcfd !important;
}

/* Footer */

.fst-page .fst-footer-links {
  margin-top: 10px;
  color: #4b535d;
  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%;
  }
}