模板:Fstpagetest styles:修订间差异
来自RIA | Wiki
更多操作
ChenM0M将页面模板:Fstpagetest styles的内容模型从“wikitext”更改为“已过滤的CSS” |
无编辑摘要 |
||
| 第1行: | 第1行: | ||
/* | /* Fst Portal:门户风(避免框中框与组件堆叠感) */ | ||
. | .fstp{ | ||
max-width: 1200px; | max-width: 1200px; | ||
margin: 0 auto; | margin: 0 auto; | ||
| 第11行: | 第8行: | ||
} | } | ||
.fstp a{ color:#9a2a2a; font-weight:700; text-decoration:none; } | |||
. | .fstp a:hover{ color:#b63737; text-decoration:underline; } | ||
} | |||
. | |||
} | |||
/* | /* Hero:一层容器 */ | ||
. | .fstp-hero{ | ||
border: 1px solid rgba(0,0,0,.08); | display:flex; | ||
border-radius: | gap:16px; | ||
align-items:stretch; | |||
padding:16px; | |||
margin:14px 0 18px 0; | |||
border:1px solid rgba(0,0,0,.08); | |||
border-radius:16px; | |||
background: linear-gradient(180deg,#fbfbfd 0%,#fff 55%); | |||
box-shadow: 0 10px 26px rgba(0,0,0,.08); | box-shadow: 0 10px 26px rgba(0,0,0,.08); | ||
} | } | ||
.fstp-hero-left{ flex:1 1 auto; min-width:260px; } | |||
. | .fstp-hero-right{ flex:0 0 460px; display:flex; align-items:center; justify-content:center; } | ||
display: inline-block; | |||
padding: | .fstp-kicker{ | ||
border-radius: 999px; | display:inline-block; | ||
padding:4px 10px; | |||
border-radius:999px; | |||
background: rgba(182,55,55,.10); | background: rgba(182,55,55,.10); | ||
border: 1px solid rgba(182,55,55,. | border:1px solid rgba(182,55,55,.22); | ||
color: #8f1f1f; | color:#8f1f1f; | ||
font-weight: 900; | font-weight:900; | ||
font-size: 12px; | font-size:12px; | ||
letter-spacing: . | letter-spacing:.3px; | ||
} | } | ||
. | |||
margin: 0; | .fstp-title{ | ||
font-size: | margin:10px 0 6px 0; | ||
font-weight: 900; | font-size:38px; | ||
letter-spacing: . | font-weight:900; | ||
letter-spacing:.4px; | |||
} | } | ||
. | |||
.fstp-desc{ | |||
font-size: 15px; | font-size:15px; | ||
line-height: 1.75; | line-height:1.75; | ||
color: rgba(0,0,0,.72); | color: rgba(0,0,0,.72); | ||
} | } | ||
.fstp-hero-links{ | |||
. | margin-top:10px; | ||
font-size:14px; | |||
color: rgba(0,0,0,.70); | |||
} | } | ||
. | |||
.fstp-hero-image{ | |||
border-radius:14px; | |||
box-shadow: 0 10px 26px rgba(0,0,0,.10); | |||
border-radius: | |||
box-shadow: 0 10px | |||
} | } | ||
/* | /* 两栏 */ | ||
. | .fstp-row{ | ||
display:flex; | |||
gap:16px; | |||
align-items:flex-start; | |||
} | } | ||
.fstp-col-main{ flex: 1 1 auto; min-width:0; } | |||
. | .fstp-col-side{ flex: 0 0 360px; min-width: 320px; } | ||
} | |||
. | |||
/* | /* Box:只有这一层是“卡片” */ | ||
. | .fstp-box{ | ||
border:1px solid rgba(0,0,0,.08); | |||
border: 1px solid rgba(0,0,0,.08); | border-radius:14px; | ||
border-radius: | overflow:hidden; | ||
overflow: hidden; | background:#fff; | ||
box-shadow: 0 6px 18px rgba(0,0,0,.06); | box-shadow: 0 6px 18px rgba(0,0,0,.06); | ||
margin-bottom: 16px; | margin-bottom:16px; | ||
} | } | ||
. | |||
background: # | .fstp-box-h{ | ||
padding:12px 14px; | |||
background:#fff; | |||
border-bottom:1px solid rgba(0,0,0,.08); | |||
} | } | ||
. | |||
.fstp-box-h h2{ | |||
margin:0; | |||
font-size:18px; | |||
font-weight:900; | |||
} | } | ||
. | |||
.fstp-box-h-solid{ | |||
background:#b63737; | |||
color:#fff; | |||
border-bottom: none; | |||
} | } | ||
. | |||
.fstp-box-h-solid h2{ color:#fff; } | |||
.fstp-box-c{ | |||
padding:14px; | |||
line-height:1.75; | |||
} | } | ||
. | |||
/* Entry:不要卡片,用“条目行”+ hover 侧边提示 */ | |||
.fstp-entry{ | |||
display:flex; | |||
gap:12px; | |||
padding:12px 10px; | |||
border-bottom:1px dashed rgba(0,0,0,.12); | |||
} | } | ||
. | |||
.fstp-entry:last-child{ border-bottom:none; } | |||
border | |||
.fstp-entry-ico{ | |||
flex:0 0 78px; | |||
display:flex; | |||
align-items:center; | |||
justify-content:center; | |||
border-radius:12px; | |||
background:#f3f5f8; | |||
border:1px solid rgba(0,0,0,.06); | |||
} | } | ||
.fstp-entry-ico img{ width:56px; height:56px; object-fit:contain; } | |||
. | |||
.fstp-entry-title{ | |||
font-size:16px; | |||
font-weight:900; | |||
margin-bottom:4px; | |||
margin-bottom: | |||
} | } | ||
. | |||
.fstp-entry-text{ | |||
font-size:14px; | |||
color: rgba(0,0,0,.72); | |||
} | } | ||
. | |||
.fstp-entry-go{ | |||
margin-top:6px; | |||
font-weight:900; | |||
} | } | ||
. | |||
/* mini blocks */ | |||
.fstp-minirow{ | |||
display:flex; | |||
gap:12px; | |||
} | } | ||
. | |||
.fstp-mini{ | |||
flex:1 1 0; | |||
padding:12px; | |||
border-radius:12px; | |||
border:1px solid rgba(0,0,0,.08); | |||
background:#fbfbfd; | |||
} | } | ||
. | |||
.fstp-mini-title{ font-weight:900; font-size:15px; margin-bottom:4px; } | |||
.fstp-mini-text{ color: rgba(0,0,0,.70); font-size:14px; line-height:1.65; } | |||
. | .fstp-mini-go{ margin-top:6px; font-weight:900; } | ||
padding: | /* note / muted */ | ||
border-radius: | .fstp-note{ | ||
background: | margin-top:12px; | ||
border: 1px solid rgba( | padding:10px 12px; | ||
color: | border-radius:12px; | ||
font- | background:#f6f7fa; | ||
border:1px solid rgba(0,0,0,.06); | |||
color: rgba(0,0,0,.70); | |||
font-size:13px; | |||
} | } | ||
.fstp-muted{ | |||
. | margin-top:10px; | ||
color: rgba(0,0,0,.60); | |||
font-size:13px; | |||
font-size: | |||
} | } | ||
. | /* tags:轻量 */ | ||
.fstp-tags{ | |||
display:flex; | |||
flex-wrap:wrap; | |||
gap:10px; | |||
} | } | ||
.fstp-tag{ | |||
display:inline-block; | |||
padding:7px 10px; | |||
border-radius:999px; | |||
background:#f6f7fa; | |||
border:1px solid rgba(0,0,0,.06); | |||
. | font-weight:900; | ||
display: inline-block; | |||
padding: | |||
border-radius: 999px; | |||
background: #f6f7fa; | |||
border: 1px solid rgba(0,0,0,.06); | |||
font-weight: 900; | |||
color: rgba(0,0,0,.70); | color: rgba(0,0,0,.70); | ||
font-size: 13px; | font-size:13px; | ||
} | } | ||
/* | /* 右侧:列表和 pill */ | ||
. | .fstp-list{ | ||
font-size:14px; | |||
font-size: 14px; | |||
color: rgba(0,0,0,.74); | color: rgba(0,0,0,.74); | ||
} | } | ||
.fstp-pill{ | |||
. | display:inline-block; | ||
display: | margin-top:10px; | ||
padding:8px 10px; | |||
border-radius:999px; | |||
background: rgba(182,55,55,.10); | |||
border:1px solid rgba(182,55,55,.22); | |||
color:#8f1f1f; | |||
font-weight:900; | |||
} | } | ||
. | |||
/* 底部 */ | |||
.fstp-bottom{ | |||
border: 1px solid rgba(0,0,0,. | margin-top:16px; | ||
background: #fff; | border:1px solid rgba(0,0,0,.08); | ||
box-shadow: 0 | border-radius:14px; | ||
background:#fff; | |||
box-shadow: 0 6px 18px rgba(0,0,0,.06); | |||
overflow:hidden; | |||
} | } | ||
.fstp-bottom-h{ | |||
. | padding:12px 14px; | ||
background:#fbfbfd; | |||
border-bottom:1px solid rgba(0,0,0,.08); | |||
font-weight:900; | |||
border: 1px solid rgba(0,0,0,.08); | |||
font-weight: 900 | |||
} | } | ||
. | .fstp-bottom-c{ | ||
padding:14px; | |||
color: rgba(0,0,0,.72); | |||
color: rgba(0,0,0,. | line-height:1.75; | ||
} | } | ||
/* Mobile */ | /* Mobile */ | ||
@media (max-width: 1024px){ | @media (max-width: 1024px){ | ||
. | .fstp-row{ flex-direction:column; } | ||
. | .fstp-col-side{ flex:1 1 auto; min-width:0; } | ||
.fstp-hero-right{ display:none; } | |||
} | } | ||
@media (max-width: 640px){ | @media (max-width: 640px){ | ||
. | .fstp-title{ font-size:30px; } | ||
. | .fstp-minirow{ flex-direction:column; } | ||
} | } | ||
2026年2月13日 (五) 21:49的版本
/* Fst Portal:门户风(避免框中框与组件堆叠感) */
.fstp{
max-width: 1200px;
margin: 0 auto;
padding: 0 14px 24px 14px;
color: rgba(0,0,0,.82);
}
.fstp a{ color:#9a2a2a; font-weight:700; text-decoration:none; }
.fstp a:hover{ color:#b63737; text-decoration:underline; }
/* Hero:一层容器 */
.fstp-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: linear-gradient(180deg,#fbfbfd 0%,#fff 55%);
box-shadow: 0 10px 26px rgba(0,0,0,.08);
}
.fstp-hero-left{ flex:1 1 auto; min-width:260px; }
.fstp-hero-right{ flex:0 0 460px; display:flex; align-items:center; justify-content:center; }
.fstp-kicker{
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;
}
.fstp-title{
margin:10px 0 6px 0;
font-size:38px;
font-weight:900;
letter-spacing:.4px;
}
.fstp-desc{
font-size:15px;
line-height:1.75;
color: rgba(0,0,0,.72);
}
.fstp-hero-links{
margin-top:10px;
font-size:14px;
color: rgba(0,0,0,.70);
}
.fstp-hero-image{
border-radius:14px;
box-shadow: 0 10px 26px rgba(0,0,0,.10);
}
/* 两栏 */
.fstp-row{
display:flex;
gap:16px;
align-items:flex-start;
}
.fstp-col-main{ flex: 1 1 auto; min-width:0; }
.fstp-col-side{ flex: 0 0 360px; min-width: 320px; }
/* Box:只有这一层是“卡片” */
.fstp-box{
border:1px solid rgba(0,0,0,.08);
border-radius:14px;
overflow:hidden;
background:#fff;
box-shadow: 0 6px 18px rgba(0,0,0,.06);
margin-bottom:16px;
}
.fstp-box-h{
padding:12px 14px;
background:#fff;
border-bottom:1px solid rgba(0,0,0,.08);
}
.fstp-box-h h2{
margin:0;
font-size:18px;
font-weight:900;
}
.fstp-box-h-solid{
background:#b63737;
color:#fff;
border-bottom: none;
}
.fstp-box-h-solid h2{ color:#fff; }
.fstp-box-c{
padding:14px;
line-height:1.75;
}
/* Entry:不要卡片,用“条目行”+ hover 侧边提示 */
.fstp-entry{
display:flex;
gap:12px;
padding:12px 10px;
border-bottom:1px dashed rgba(0,0,0,.12);
}
.fstp-entry:last-child{ border-bottom:none; }
.fstp-entry-ico{
flex:0 0 78px;
display:flex;
align-items:center;
justify-content:center;
border-radius:12px;
background:#f3f5f8;
border:1px solid rgba(0,0,0,.06);
}
.fstp-entry-ico img{ width:56px; height:56px; object-fit:contain; }
.fstp-entry-title{
font-size:16px;
font-weight:900;
margin-bottom:4px;
}
.fstp-entry-text{
font-size:14px;
color: rgba(0,0,0,.72);
}
.fstp-entry-go{
margin-top:6px;
font-weight:900;
}
/* mini blocks */
.fstp-minirow{
display:flex;
gap:12px;
}
.fstp-mini{
flex:1 1 0;
padding:12px;
border-radius:12px;
border:1px solid rgba(0,0,0,.08);
background:#fbfbfd;
}
.fstp-mini-title{ font-weight:900; font-size:15px; margin-bottom:4px; }
.fstp-mini-text{ color: rgba(0,0,0,.70); font-size:14px; line-height:1.65; }
.fstp-mini-go{ margin-top:6px; font-weight:900; }
/* note / muted */
.fstp-note{
margin-top:12px;
padding:10px 12px;
border-radius:12px;
background:#f6f7fa;
border:1px solid rgba(0,0,0,.06);
color: rgba(0,0,0,.70);
font-size:13px;
}
.fstp-muted{
margin-top:10px;
color: rgba(0,0,0,.60);
font-size:13px;
}
/* tags:轻量 */
.fstp-tags{
display:flex;
flex-wrap:wrap;
gap:10px;
}
.fstp-tag{
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;
}
/* 右侧:列表和 pill */
.fstp-list{
font-size:14px;
color: rgba(0,0,0,.74);
}
.fstp-pill{
display:inline-block;
margin-top:10px;
padding:8px 10px;
border-radius:999px;
background: rgba(182,55,55,.10);
border:1px solid rgba(182,55,55,.22);
color:#8f1f1f;
font-weight:900;
}
/* 底部 */
.fstp-bottom{
margin-top:16px;
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;
}
.fstp-bottom-h{
padding:12px 14px;
background:#fbfbfd;
border-bottom:1px solid rgba(0,0,0,.08);
font-weight:900;
}
.fstp-bottom-c{
padding:14px;
color: rgba(0,0,0,.72);
line-height:1.75;
}
/* Mobile */
@media (max-width: 1024px){
.fstp-row{ flex-direction:column; }
.fstp-col-side{ flex:1 1 auto; min-width:0; }
.fstp-hero-right{ display:none; }
}
@media (max-width: 640px){
.fstp-title{ font-size:30px; }
.fstp-minirow{ flex-direction:column; }
}