模板:Fstpagetest styles
来自RIA | Wiki
更多操作
/* =========================
Fstpagetest_styles
MW TemplateStyles-safe portal
- no input/checkbox/radio
- no 3D transform
- interactions: hover + :target
========================= */
.fst{
max-width: 1200px;
margin: 0 auto;
padding: 0 14px 28px 14px;
color: rgba(0,0,0,.82);
}
.fst a{ color:#9a2a2a; font-weight:700; text-decoration:none; }
.fst a:hover{ color:#b63737; text-decoration:underline; }
/* HERO */
.fst-hero{
display:flex;
gap:16px;
align-items:stretch;
padding:16px;
margin:14px 0 18px 0;
border:1px solid rgba(0,0,0,.08);
border-radius:16px;
background:#fff;
box-shadow: 0 10px 26px rgba(0,0,0,.08);
}
.fst-hero-left{ flex:1 1 auto; min-width:260px; }
.fst-hero-right{ flex:0 0 460px; display:flex; flex-direction:column; gap:8px; align-items:center; justify-content:center; }
.fst-hero-image{
border-radius:14px;
box-shadow: 0 10px 26px rgba(0,0,0,.10);
}
.fst-caption{
font-size:12px;
color: rgba(0,0,0,.55);
align-self:flex-start;
padding-left:6px;
}
.fst-badge{
display:inline-block;
padding:4px 10px;
border-radius:999px;
background: rgba(182,55,55,.10);
border:1px solid rgba(182,55,55,.22);
color:#8f1f1f;
font-weight:900;
font-size:12px;
letter-spacing:.3px;
}
.fst-title{
margin:10px 0 6px 0;
font-size:38px;
font-weight:900;
letter-spacing:.4px;
}
.fst-lead{
font-size:15px;
line-height:1.75;
color: rgba(0,0,0,.72);
}
.fst-kpis{
display:flex;
gap:10px;
flex-wrap:wrap;
margin-top:12px;
}
.fst-kpi{
padding:10px 12px;
border-radius:14px;
background:#f6f7fa;
border:1px solid rgba(0,0,0,.06);
min-width: 160px;
}
.fst-kpi-num{
font-size:22px;
font-weight:900;
}
.fst-kpi-text{
font-size:12px;
color: rgba(0,0,0,.62);
margin-top:2px;
}
.fst-nav{
margin-top:12px;
display:flex;
flex-wrap:wrap;
gap:10px;
color: rgba(0,0,0,.55);
}
.fst-nav a{
display:inline-block;
padding:6px 10px;
border-radius:999px;
background:#f6f7fa;
border:1px solid rgba(0,0,0,.06);
color: rgba(0,0,0,.70);
font-weight:900;
text-decoration:none;
}
.fst-nav a:hover{
border-color: rgba(182,55,55,.22);
background: rgba(182,55,55,.08);
color:#8f1f1f;
text-decoration:none;
}
.fst-hint{
margin-top:10px;
padding:10px 12px;
border-radius:12px;
background:#fbfbfd;
border:1px solid rgba(0,0,0,.06);
color: rgba(0,0,0,.66);
font-size:13px;
line-height:1.65;
}
/* SECTION HEADER */
.fst-section{ margin-top:18px; }
.fst-section-h{
padding:12px 14px;
border-radius:14px;
border:1px solid rgba(0,0,0,.08);
background:#fff;
box-shadow: 0 6px 18px rgba(0,0,0,.06);
margin-bottom:12px;
}
.fst-section-title{
font-size:18px;
font-weight:900;
}
.fst-section-sub{
margin-top:4px;
font-size:13px;
color: rgba(0,0,0,.60);
}
/* NOTICE WALL */
.fst-cards{
display:flex;
gap:16px;
flex-wrap:wrap;
}
.fst-card{
width:270px;
border-radius:14px;
border:1px solid rgba(0,0,0,.08);
background:#fff;
box-shadow:0 8px 20px rgba(0,0,0,.08);
overflow:hidden;
}
.fst-card-top{
padding:12px 14px 0 14px;
display:flex;
gap:8px;
align-items:center;
flex-wrap:wrap;
}
.fst-tag{
display:inline-block;
padding:4px 8px;
font-size:12px;
font-weight:900;
border-radius:999px;
background:rgba(182,55,55,.12);
color:#8f1f1f;
border:1px solid rgba(182,55,55,.18);
}
.fst-tag-warn{
background:rgba(255,153,0,.14);
border-color: rgba(255,153,0,.22);
color: rgba(110,70,0,.95);
}
.fst-tag-cool{
background:rgba(80,120,255,.12);
border-color: rgba(80,120,255,.22);
color: rgba(20,50,140,.95);
}
.fst-chip{
display:inline-block;
padding:4px 8px;
font-size:12px;
font-weight:900;
border-radius:999px;
background:#f6f7fa;
border:1px solid rgba(0,0,0,.06);
color: rgba(0,0,0,.68);
}
.fst-card-title{
padding:8px 14px 0 14px;
font-size:16px;
font-weight:900;
line-height:1.25;
}
.fst-card-desc{
padding:6px 14px 12px 14px;
font-size:13px;
color: rgba(0,0,0,.70);
line-height:1.6;
}
.fst-card-more{
padding:0 14px 14px 14px;
font-size:13px;
color: rgba(0,0,0,.72);
line-height:1.65;
opacity:0;
max-height:0;
overflow:hidden;
transition: opacity .18s ease, max-height .18s ease;
}
.fst-card:hover{
border-color: rgba(182,55,55,.18);
box-shadow:0 14px 28px rgba(0,0,0,.10);
}
.fst-card:hover .fst-card-more{
opacity:1;
max-height:260px;
}
/* START LIST */
.fst-list{
border:1px solid rgba(0,0,0,.08);
border-radius:14px;
background:#fff;
box-shadow: 0 6px 18px rgba(0,0,0,.06);
overflow:hidden;
}
.fst-entry{
display:flex;
gap:12px;
padding:12px 14px;
border-bottom:1px dashed rgba(0,0,0,.14);
}
.fst-entry:last-child{ border-bottom:none; }
.fst-entry-ico{
flex:0 0 74px;
display:flex;
align-items:center;
justify-content:center;
border-radius:12px;
background:#f3f5f8;
border:1px solid rgba(0,0,0,.06);
}
.fst-entry-body{ min-width:0; }
.fst-entry-title{
font-size:16px;
font-weight:900;
margin-bottom:4px;
}
.fst-entry-text{
font-size:14px;
color: rgba(0,0,0,.72);
line-height:1.65;
}
.fst-entry-go{ margin-top:6px; font-weight:900; }
.fst-callout{
margin-top:12px;
padding:10px 12px;
border-radius:12px;
background:#f6f7fa;
border:1px solid rgba(0,0,0,.06);
color: rgba(0,0,0,.72);
line-height:1.7;
}
/* TABS via :target */
.fst-tabs{
border:1px solid rgba(0,0,0,.08);
border-radius:14px;
background:#fff;
box-shadow: 0 6px 18px rgba(0,0,0,.06);
overflow:hidden;
}
.fst-anchor{ display:block; height:0; overflow:hidden; }
.fst-tabbar{
padding:10px 10px;
border-bottom:1px solid rgba(0,0,0,.08);
background:#fbfbfd;
display:flex;
gap:8px;
flex-wrap:wrap;
}
.fst-tabbar a{
display:inline-block;
padding:7px 12px;
border-radius:999px;
border:1px solid rgba(0,0,0,.10);
background:#fff;
font-weight:900;
color: rgba(0,0,0,.72);
text-decoration:none;
}
.fst-tabbar a:hover{
border-color: rgba(182,55,55,.22);
color:#8f1f1f;
}
.fst-panels{ padding:14px; }
.fst-panel{
display:none;
padding:12px;
border-radius:12px;
border:1px solid rgba(0,0,0,.08);
background:#fff;
}
.fst-panel-default{ display:block; }
/* any tab targeted -> hide default */
#fst-tab-eden:target ~ .fst-tabbar,
#fst-tab-laputa:target ~ .fst-tabbar,
#fst-tab-faq:target ~ .fst-tabbar{
/* no-op; keeps structure stable */
}
#fst-tab-eden:target ~ .fst-panels .fst-panel-default,
#fst-tab-laputa:target ~ .fst-panels .fst-panel-default,
#fst-tab-faq:target ~ .fst-panels .fst-panel-default{
display:none;
}
/* show targeted panel */
#fst-tab-eden:target ~ .fst-panels .fst-panel-eden{ display:block; }
#fst-tab-laputa:target ~ .fst-panels .fst-panel-laputa{ display:block; }
#fst-tab-faq:target ~ .fst-panels .fst-panel-faq{ display:block; }
/* pills */
.fst-panel-title{ font-weight:900; font-size:16px; margin-bottom:6px; }
.fst-panel-text{ color: rgba(0,0,0,.72); line-height:1.7; font-size:14px; }
.fst-panel-go{ margin-top:8px; font-weight:900; }
.fst-pills{
margin-top:10px;
display:flex;
flex-wrap:wrap;
gap:10px;
}
.fst-pill{
display:inline-block;
padding:7px 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;
}
.fst-tabs-note{
padding:0 14px 14px 14px;
color: rgba(0,0,0,.60);
font-size:13px;
line-height:1.65;
}
/* FAQ accordion via :target */
.fst-acc{
border:1px solid rgba(0,0,0,.08);
border-radius:14px;
background:#fff;
box-shadow: 0 6px 18px rgba(0,0,0,.06);
overflow:hidden;
}
.fst-acc-item{ border-bottom:1px solid rgba(0,0,0,.08); }
.fst-acc-item:last-child{ border-bottom:none; }
.fst-acc-head{
padding:12px 14px;
display:flex;
align-items:center;
justify-content:space-between;
gap:10px;
}
.fst-acc-q{ font-weight:900; }
.fst-acc-ctl{
padding:6px 10px;
border-radius:999px;
background:#f6f7fa;
border:1px solid rgba(0,0,0,.06);
font-weight:900;
color: rgba(0,0,0,.68);
font-size:12px;
}
.fst-acc-body{
padding:0 14px;
max-height:0;
opacity:0;
overflow:hidden;
transition: opacity .18s ease, max-height .18s ease;
color: rgba(0,0,0,.72);
line-height:1.7;
}
.fst-mini{
margin:10px 0;
padding:10px 12px;
border-radius:12px;
background:#f6f7fa;
border:1px solid rgba(0,0,0,.06);
}
/* target rules */
#fst-faq-1:target ~ .fst-acc .fst-acc-1 .fst-acc-body,
#fst-faq-2:target ~ .fst-acc .fst-acc-2 .fst-acc-body,
#fst-faq-3:target ~ .fst-acc .fst-acc-3 .fst-acc-body{
max-height: 520px;
opacity:1;
padding: 0 14px 14px 14px;
}
/* TIMELINE */
.fst-tl{
border:1px solid rgba(0,0,0,.08);
border-radius:14px;
background:#fff;
box-shadow: 0 6px 18px rgba(0,0,0,.06);
padding: 12px 14px;
}
.fst-tl-item{
display:flex;
gap:12px;
padding: 10px 0;
}
.fst-tl-item:not(:last-child){
border-bottom:1px dashed rgba(0,0,0,.14);
}
.fst-tl-dot{
flex:0 0 12px;
width:12px;
height:12px;
border-radius:999px;
background:#b63737;
margin-top:6px;
box-shadow: 0 0 0 4px rgba(182,55,55,.12);
}
.fst-tl-time{
font-size:12px;
color: rgba(0,0,0,.55);
font-weight:900;
}
.fst-tl-title{ font-weight:900; margin-top:2px; }
.fst-tl-text{
margin-top:4px;
color: rgba(0,0,0,.72);
line-height:1.65;
font-size:14px;
}
/* LINKS grid */
.fst-linkgrid{
display:flex;
flex-wrap:wrap;
gap:10px;
}
.fst-link{
flex: 1 1 220px;
padding:10px 12px;
border-radius:12px;
border:1px solid rgba(0,0,0,.08);
background:#fff;
box-shadow: 0 6px 18px rgba(0,0,0,.06);
font-weight:900;
}
.fst-link:hover{
border-color: rgba(182,55,55,.18);
background:#fbfbfd;
}
/* footer */
.fst-footer{
margin-top:12px;
border:1px solid rgba(0,0,0,.08);
border-radius:14px;
background:#fff;
box-shadow: 0 6px 18px rgba(0,0,0,.06);
overflow:hidden;
}
.fst-footer-h{
padding:12px 14px;
background:#fbfbfd;
border-bottom:1px solid rgba(0,0,0,.08);
font-weight:900;
}
.fst-footer-c{
padding:14px;
color: rgba(0,0,0,.72);
line-height:1.75;
}
/* responsive */
@media (max-width: 1024px){
.fst-hero-right{ display:none; }
.fst-card{ width: 100%; max-width: 520px; }
}
@media (max-width: 640px){
.fst-title{ font-size:30px; }
.fst-kpi{ min-width: 140px; }
}