模板:Fstpagetest styles
来自RIA | Wiki
更多操作
/* TemplateStyles for fstpagetest.wiki
Keep selectors scoped under .fst-page.
*/
.fst-page {
margin: 0;
max-width: none;
}
.fst-page .fst-muted {
color: #5b626a;
font-size: 0.95em;
}
.fst-page .fst-kicker {
color: #3b4046;
font-size: 0.95em;
letter-spacing: 0.03em;
text-transform: uppercase;
}
.fst-page .fst-mt8 {
margin-top: 8px;
}
.fst-page .fst-mt10 {
margin-top: 10px;
}
.fst-page .fst-section {
margin: 22px 0 0 0;
}
.fst-page .fst-section-h {
font-size: 1.25em;
font-weight: 800;
margin: 0 0 12px 0;
}
/* Hero */
.fst-page .fst-hero {
position: relative;
overflow: hidden;
border-radius: 12px;
background: linear-gradient(135deg, #fff6e8 0%, #f8fbff 52%, #ffffff 100%);
}
.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-inner {
position: relative;
padding: 18px 18px 16px 18px;
}
.fst-page .fst-hero-title {
font-size: 2.2em;
font-weight: 900;
line-height: 1.1;
margin: 0;
}
.fst-page .fst-hero-sub {
margin-top: 8px;
color: #3f4650;
font-size: 1.05em;
line-height: 1.45;
}
.fst-page .fst-hero-meta {
margin-top: 12px;
}
.fst-page .fst-chip {
display: inline-block;
border: 1px solid #d0d7df;
background: #ffffff;
border-radius: 999px;
padding: 5px 10px;
margin: 0 8px 8px 0;
font-size: 0.92em;
color: #2f353b;
}
.fst-page .fst-hero-links {
margin-top: 6px;
color: #4b535d;
font-size: 0.95em;
line-height: 1.6;
}
.fst-page .fst-hero-links a {
text-decoration: none;
border-bottom: 1px dotted #b7c0cb;
}
.fst-page .fst-hero-links a:hover {
border-bottom-style: solid;
}
/* Banner */
.fst-page .fst-banner {
margin-top: 12px;
padding: 10px 12px;
border-left: 6px solid #d5b88a;
border-radius: 12px;
background: #fff7ec;
display: flex;
flex-wrap: wrap;
align-items: center;
}
.fst-page .fst-banner-tag {
display: inline-block;
margin: 0 10px 6px 0;
padding: 4px 10px;
border-radius: 999px;
background: #fff;
border: 1px solid #e7cfa4;
color: #6a4a1f;
font-weight: 800;
font-size: 0.92em;
}
.fst-page .fst-banner-text {
margin: 0 10px 6px 0;
color: #3c444e;
}
/* Buttons (span wrapper + <a>) */
.fst-page .fst-btn {
display: inline-block;
margin-right: 8px;
margin-top: 6px;
}
.fst-page .fst-btn a {
display: inline-block;
text-decoration: none;
border: 1px solid #d0d7df;
border-radius: 999px;
padding: 6px 12px;
background: #ffffff;
color: #2c333a;
transition: background 120ms ease, border-color 120ms ease;
}
.fst-page .fst-btn a:hover {
background: #f5f9ff;
border-color: #c2ccd7;
}
/* Top navigation */
.fst-page .fst-topnav {
display: flex;
flex-wrap: wrap;
align-items: flex-start;
}
.fst-page .fst-topnav-left {
flex: 1 1 340px;
min-width: 280px;
padding-right: 18px;
}
.fst-page .fst-topnav-right {
flex: 1 1 520px;
min-width: 320px;
}
.fst-page .fst-navgroup {
border-left: 6px solid #e4e8ee;
padding-left: 12px;
margin-top: 12px;
}
.fst-page .fst-topnav-left .fst-navgroup:nth-of-type(1) {
border-left-color: #d5b88a;
}
.fst-page .fst-topnav-left .fst-navgroup:nth-of-type(2) {
border-left-color: #bcd6ee;
}
.fst-page .fst-icon-grid {
display: flex;
flex-wrap: wrap;
margin: -6px;
}
.fst-page .fst-icon {
margin: 6px;
flex: 0 0 calc(33.333% - 12px);
min-width: 150px;
}
.fst-page .fst-icon-box {
border: 1px solid #e3e7ec;
border-radius: 12px;
background: #ffffff;
}
.fst-page .fst-icon-box a {
display: block;
text-decoration: none;
text-align: center;
padding: 12px 10px;
font-weight: 900;
color: #2c333a;
transition: background 120ms ease;
}
.fst-page .fst-icon-box a:hover {
background: #f5f9ff;
}
.fst-page .fst-icon-label {
margin-top: 6px;
text-align: center;
color: #4b535d;
font-size: 0.9em;
}
.fst-page .fst-navlines {
margin-top: 12px;
border-left: 6px solid #e4e8ee;
padding-left: 12px;
}
.fst-page .fst-navline {
margin-top: 6px;
color: #4b535d;
font-size: 0.95em;
line-height: 1.5;
}
.fst-page .fst-navline:first-child {
margin-top: 0;
}
.fst-page .fst-navkey {
font-weight: 900;
color: #2c333a;
}
/* Worlds */
.fst-page .fst-world-tiles {
display: flex;
flex-wrap: wrap;
margin: -8px;
}
.fst-page .fst-world {
margin: 8px;
padding: 12px 12px 12px 14px;
border-radius: 12px;
background: #f8fafc;
border-left: 6px solid #d8dde3;
flex: 1 1 260px;
min-width: 260px;
}
.fst-page .fst-world-wide {
flex-basis: 100%;
}
.fst-page .fst-world-laputa {
background: #fff7ec;
border-left-color: #d5b88a;
}
.fst-page .fst-world-eden {
background: #f3f9ff;
border-left-color: #bcd6ee;
}
.fst-page .fst-world-sat {
background: #f4faf5;
border-left-color: #d6e0d3;
}
.fst-page .fst-world-title {
font-size: 1.1em;
font-weight: 900;
margin: 0 0 6px 0;
}
.fst-page .fst-world-icon {
display: inline-block;
width: 34px;
height: 34px;
line-height: 34px;
text-align: center;
border-radius: 12px;
background: #ffffff;
border: 1px solid #e3e7ec;
margin-right: 10px;
font-weight: 900;
font-size: 0.92em;
color: #2c333a;
}
.fst-page .fst-world-icon-laputa {
background: #fff3df;
border-color: #e7cfa4;
color: #6a4a1f;
}
.fst-page .fst-world-icon-eden {
background: #e8f4ff;
border-color: #bcd6ee;
color: #214a6b;
}
.fst-page .fst-world-icon-sat {
background: #f3f7f2;
border-color: #d6e0d3;
color: #35543e;
}
.fst-page .fst-world-badge {
display: inline-block;
margin-left: 8px;
border-radius: 999px;
padding: 3px 8px;
background: #ffffff;
border: 1px solid #e3e7ec;
color: #3b4450;
font-size: 0.88em;
font-weight: 800;
}
.fst-page .fst-world-desc {
color: #4b535d;
font-size: 0.95em;
line-height: 1.55;
}
.fst-page .fst-minirow {
margin-top: 10px;
}
.fst-page .fst-world-cta {
padding-top: 10px;
border-top: 1px solid #e6eaee;
}
/* Join callout */
.fst-page .fst-callout {
border-left: 6px solid #d8dde3;
border-radius: 12px;
background: #f8fafc;
padding: 12px 12px 12px 14px;
}
.fst-page .fst-callout-join {
border-left-color: #d5b88a;
background: #fff7ec;
}
.fst-page .fst-callout-title {
font-weight: 900;
font-size: 1.05em;
margin: 0 0 6px 0;
}
.fst-page .fst-callout-text {
color: #4b535d;
line-height: 1.55;
}
.fst-page .fst-callout-actions {
margin-top: 10px;
}
/* Split layout */
.fst-page .fst-split {
display: flex;
flex-wrap: wrap;
margin: -10px;
}
.fst-page .fst-col {
margin: 10px;
flex: 1 1 380px;
min-width: 320px;
}
/* Tabs (:target) */
.fst-page .fst-tabs {
margin-top: 2px;
}
.fst-page .fst-tabtarget {
display: none;
}
.fst-page .fst-tabbar {
margin-bottom: 10px;
}
.fst-page .fst-tabbar a {
display: inline-block;
text-decoration: none;
border: 1px solid #e3e7ec;
border-radius: 999px;
padding: 6px 12px;
margin: 0 8px 8px 0;
background: #ffffff;
color: #2c333a;
font-weight: 900;
}
.fst-page .fst-tabbar a:hover {
background: #f5f9ff;
}
.fst-page .fst-panels .fst-panel {
display: none;
border-left: 6px solid #d8dde3;
border-radius: 12px;
background: #f8fafc;
padding: 12px 12px 12px 14px;
}
.fst-page .fst-panels .fst-panel-beginner {
display: block;
border-left-color: #bcd6ee;
background: #f3f9ff;
}
.fst-page .fst-panels .fst-panel-intermediate {
border-left-color: #d5b88a;
background: #fff7ec;
}
.fst-page .fst-panels .fst-panel-advanced {
border-left-color: #d6e0d3;
background: #f4faf5;
}
.fst-page #tab-intermediate:target ~ .fst-panels .fst-panel-beginner,
.fst-page #tab-advanced:target ~ .fst-panels .fst-panel-beginner {
display: none;
}
.fst-page #tab-intermediate:target ~ .fst-panels .fst-panel-intermediate {
display: block;
}
.fst-page #tab-advanced:target ~ .fst-panels .fst-panel-advanced {
display: block;
}
.fst-page .fst-tabbar a[href="#tab-beginner"] {
background: #f1f7ff;
border-color: #bcd6ee;
}
.fst-page #tab-intermediate:target ~ .fst-tabbar a[href="#tab-beginner"],
.fst-page #tab-advanced:target ~ .fst-tabbar a[href="#tab-beginner"] {
background: #ffffff;
border-color: #e3e7ec;
}
.fst-page #tab-intermediate:target ~ .fst-tabbar a[href="#tab-intermediate"] {
background: #fff3df;
border-color: #e7cfa4;
}
.fst-page #tab-advanced:target ~ .fst-tabbar a[href="#tab-advanced"] {
background: #f3f7f2;
border-color: #d6e0d3;
}
/* Lists */
.fst-page .fst-tile-title {
font-size: 1.05em;
font-weight: 900;
margin: 0 0 6px 0;
}
.fst-page .fst-tile-desc {
color: #4b535d;
font-size: 0.95em;
line-height: 1.55;
}
.fst-page .fst-list {
margin: 8px 0 0 0;
}
.fst-page .fst-list ul {
margin: 6px 0 0 18px;
}
.fst-page .fst-list li {
margin: 4px 0;
}
/* Timeline */
.fst-page .fst-timeline {
margin-top: 14px;
border-left: 6px solid #e4e8ee;
border-radius: 12px;
background: #ffffff;
padding: 12px 12px 10px 14px;
}
.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: #2c333a;
}
.fst-page .fst-timeline-text {
color: #4b535d;
}
/* News list */
.fst-page .fst-newslist {
border-left: 6px solid #e4e8ee;
padding-left: 12px;
}
.fst-page .fst-newsli {
padding: 10px 0;
border-bottom: 1px solid #e6eaee;
}
.fst-page .fst-newsli:last-child {
border-bottom: 0;
}
.fst-page .fst-newsli-title {
font-weight: 900;
margin: 0 0 4px 0;
}
/* Link columns */
.fst-page .fst-linkcols {
display: flex;
flex-wrap: wrap;
margin: -10px;
}
.fst-page .fst-linkcol {
margin: 10px;
flex: 1 1 380px;
min-width: 320px;
}
.fst-page .fst-linkitem {
padding: 10px 0;
border-bottom: 1px solid #e6eaee;
}
.fst-page .fst-linkitem:last-child {
border-bottom: 0;
}
.fst-page .fst-linktitle {
font-weight: 900;
margin: 0 0 4px 0;
}
.fst-page .fst-linkdesc {
color: #4b535d;
font-size: 0.95em;
line-height: 1.55;
}
/* Definition list */
.fst-page .fst-dl {
border-left: 6px solid #e4e8ee;
padding-left: 12px;
}
.fst-page .fst-dl dl {
margin: 0;
}
.fst-page .fst-dl dt {
margin-top: 10px;
font-weight: 900;
}
.fst-page .fst-dl dt:first-child {
margin-top: 0;
}
.fst-page .fst-dl dd {
margin: 4px 0 0 0;
color: #4b535d;
line-height: 1.55;
}
/* Footer */
.fst-page .fst-footer {
border-top: 1px solid #e6eaee;
margin-top: 26px;
padding-top: 14px;
}
@media (max-width: 720px) {
.fst-page .fst-topnav-left {
padding-right: 0;
}
.fst-page .fst-icon {
flex-basis: calc(50% - 12px);
min-width: 0;
}
.fst-page .fst-world {
min-width: 0;
flex-basis: 100%;
}
}