ChenM0M/fstpagetest styles
来自RIA | Wiki
更多操作
/* ==============================
Fst 功能性主页(现代化风格)
仅作用于 .fst-home 内部
============================== */
.fst-home{
max-width: 1200px;
margin: 0 auto;
padding: 0 14px 24px 14px;
color: rgba(0,0,0,.82);
}
/* 链接更“品牌红” */
.fst-home a{
color: #9a2a2a;
font-weight: 700;
text-decoration: none;
}
.fst-home a:hover{
color: #b63737;
text-decoration: underline;
}
/* Hero */
.fst-hero{
border: 1px solid rgba(0,0,0,.08);
border-radius: 18px;
overflow: hidden;
box-shadow: 0 10px 26px rgba(0,0,0,.08);
margin: 14px 0 18px 0;
background: linear-gradient(180deg, #fbfbfd 0%, #ffffff 45%);
}
.fst-hero-inner{
display: flex;
gap: 18px;
padding: 18px;
align-items: stretch;
}
.fst-hero-left{
flex: 1 1 auto;
min-width: 280px;
}
.fst-hero-right{
flex: 0 0 520px;
display: flex;
flex-direction: column;
gap: 10px;
align-items: stretch;
justify-content: center;
}
.fst-hero-image{
border-radius: 16px;
box-shadow: 0 10px 26px rgba(0,0,0,.10);
}
.fst-hero-caption{
font-size: 13px;
color: rgba(0,0,0,.6);
padding-left: 6px;
}
/* 文字层级 */
.fst-badge{
display: inline-block;
padding: 6px 10px;
border-radius: 999px;
background: rgba(182,55,55,.10);
border: 1px solid rgba(182,55,55,.20);
color: #8f1f1f;
font-weight: 900;
font-size: 12px;
letter-spacing: .4px;
margin-bottom: 10px;
}
.fst-title{
margin: 0;
font-size: 40px;
font-weight: 900;
letter-spacing: .6px;
}
.fst-subtitle{
margin-top: 10px;
font-size: 15px;
line-height: 1.75;
color: rgba(0,0,0,.72);
}
/* CTA buttons */
.fst-cta-row{
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 14px;
}
.fst-cta-row-tight{
margin-top: 10px;
}
.fst-btn{
display: inline-block;
padding: 9px 12px;
border-radius: 999px;
background: #fff;
border: 1px solid rgba(0,0,0,.10);
box-shadow: 0 4px 14px rgba(0,0,0,.05);
color: rgba(0,0,0,.78);
font-weight: 900;
}
.fst-btn:hover{
transform: translateY(-1px);
box-shadow: 0 10px 22px rgba(0,0,0,.09);
border-color: rgba(182,55,55,.22);
}
.fst-btn-primary{
background: #b63737;
border-color: rgba(0,0,0,.08);
color: #fff;
}
.fst-btn-primary:hover{
border-color: rgba(255,255,255,.20);
}
/* Quicklinks chip */
.fst-quicklinks{
margin-top: 12px;
padding: 10px 12px;
border-radius: 16px;
background: #f6f7fa;
border: 1px solid rgba(0,0,0,.06);
color: rgba(0,0,0,.72);
font-size: 14px;
}
.fst-quicklinks b{ font-weight: 900; }
.fst-quicklinks .dot{
padding: 0 8px;
color: rgba(0,0,0,.35);
}
/* Grid layout(如果你们 TemplateStyles 禁用 grid,我再给你 flex 备用版) */
.fst-grid{
display: grid;
grid-template-columns: 1fr 0.9fr;
gap: 16px;
}
.fst-col{ min-width: 0; }
/* Card */
.fst-card{
background: #fff;
border: 1px solid rgba(0,0,0,.08);
border-radius: 16px;
overflow: hidden;
box-shadow: 0 6px 18px rgba(0,0,0,.06);
margin-bottom: 16px;
}
.fst-card-solid .fst-card-head{
background: #b63737;
color: #fff;
}
.fst-card-head{
padding: 12px 16px;
border-bottom: 1px solid rgba(0,0,0,.06);
}
.fst-card-head h2{
margin: 0;
font-size: 18px;
font-weight: 900;
}
.fst-card-desc{
margin-top: 4px;
font-size: 13px;
color: rgba(0,0,0,.6);
}
.fst-card-solid .fst-card-desc{ color: rgba(255,255,255,.85); }
.fst-card-body{
padding: 14px 16px;
line-height: 1.75;
color: rgba(0,0,0,.80);
}
.fst-card-footer{
padding: 12px 16px;
border-top: 1px solid rgba(0,0,0,.06);
background: #fbfbfd;
}
/* Item */
.fst-item{
display: flex;
gap: 12px;
padding: 12px;
border-radius: 14px;
border: 1px solid rgba(0,0,0,.06);
background: #fff;
box-shadow: 0 4px 14px rgba(0,0,0,.05);
margin-bottom: 12px;
transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.fst-item:hover{
transform: translateY(-1px);
box-shadow: 0 10px 22px rgba(0,0,0,.09);
border-color: rgba(182,55,55,.22);
}
.fst-item-icon{
flex: 0 0 92px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 14px;
background: #f3f5f8;
border: 1px solid rgba(0,0,0,.06);
}
.fst-item-icon img{
width: 64px;
height: 64px;
object-fit: contain;
}
.fst-item-body h3{
margin: 0 0 6px 0;
font-size: 17px;
font-weight: 900;
line-height: 1.2;
}
.fst-item-actions{
margin-top: 8px;
}
.fst-item-actions a{
display: inline-block;
padding: 6px 10px;
border-radius: 999px;
background: rgba(182,55,55,.10);
border: 1px solid rgba(182,55,55,.20);
color: #8f1f1f;
font-weight: 900;
}
/* Split blocks */
.fst-split{
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
}
.fst-split-block{
padding: 12px;
border-radius: 14px;
border: 1px solid rgba(0,0,0,.06);
background: #fff;
}
.fst-split-title{
font-weight: 900;
font-size: 16px;
margin-bottom: 6px;
}
.fst-split-text{
font-size: 14px;
color: rgba(0,0,0,.72);
line-height: 1.65;
}
.fst-note{
margin-top: 12px;
padding: 10px 12px;
border-radius: 14px;
background: #f6f7fa;
border: 1px solid rgba(0,0,0,.06);
color: rgba(0,0,0,.70);
font-size: 13px;
}
/* Pills */
.fst-pills{
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.fst-pill{
display: inline-block;
padding: 8px 10px;
border-radius: 999px;
background: #f6f7fa;
border: 1px solid rgba(0,0,0,.06);
font-weight: 900;
color: rgba(0,0,0,.70);
font-size: 13px;
}
/* Checklist */
.fst-check{
display: grid;
gap: 8px;
}
.fst-check-item{
padding: 10px 12px;
border-radius: 14px;
background: #f6f7fa;
border: 1px solid rgba(0,0,0,.06);
font-size: 14px;
color: rgba(0,0,0,.74);
}
/* Links grid */
.fst-links-grid{
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
}
.fst-link{
padding: 10px 12px;
border-radius: 14px;
border: 1px solid rgba(0,0,0,.06);
background: #fff;
box-shadow: 0 4px 14px rgba(0,0,0,.05);
}
.fst-link a{
font-weight: 900;
}
/* Bottom */
.fst-bottom{
margin-top: 10px;
border-radius: 18px;
overflow: hidden;
border: 1px solid rgba(0,0,0,.08);
box-shadow: 0 10px 26px rgba(0,0,0,.08);
background: linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%);
}
.fst-bottom-inner{
padding: 16px 18px;
}
.fst-bottom-title{
font-weight: 900;
font-size: 16px;
}
.fst-bottom-text{
margin-top: 6px;
color: rgba(0,0,0,.70);
line-height: 1.7;
}
.fst-bottom-actions{
margin-top: 12px;
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.fst-muted{
margin-top: 10px;
font-size: 13px;
color: rgba(0,0,0,.60);
}
/* Mobile */
@media (max-width: 1024px){
.fst-grid{ grid-template-columns: 1fr; }
.fst-hero-right{ display: none; }
}
@media (max-width: 640px){
.fst-title{ font-size: 32px; }
.fst-split{ grid-template-columns: 1fr; }
.fst-links-grid{ grid-template-columns: 1fr; }
}