模板:WelcomeHeader/styles.css:修订间差异
来自BinWiki
>OctoberSama 小无编辑摘要 |
小 导入15个版本 |
||
(未显示同一用户的3个中间版本) | |||
第6行: | 第6行: | ||
padding:24px 32px; | padding:24px 32px; | ||
border-radius:16px; | border-radius:16px; | ||
background:linear-gradient( | background:linear-gradient(to bottom right, #3e83ff, #6CD4E1); | ||
box-shadow:0 6px 18px rgba(0,0,0,.15); | box-shadow:0 6px 18px rgba(0,0,0,.15); | ||
overflow:hidden; | overflow:hidden; | ||
第20行: | 第20行: | ||
} | } | ||
.title { | .title { | ||
color: | color: #000000; | ||
} | } | ||
.subtitle{ | .subtitle{ | ||
font-size:20px; | font-size:20px; | ||
margin:.3em 0 1.5em; | margin:.3em 0 1.5em; | ||
color: | color: #000000; | ||
} | } | ||
.divider{ | .divider{ |
2025年9月16日 (二) 23:08的最新版本
/* ===== Banner 样式 ===== */
.main-banner{
display:flex;
align-items:center;
gap:20px;
padding:24px 32px;
border-radius:16px;
background:linear-gradient(to bottom right, #3e83ff, #6CD4E1);
box-shadow:0 6px 18px rgba(0,0,0,.15);
overflow:hidden;
}
.banner-left img{
max-width:200px;
height:auto;
}
.banner-right{
flex:1;
text-align:right;
/* color:#0d1b3d; */
}
.title {
color: #000000;
}
.subtitle{
font-size:20px;
margin:.3em 0 1.5em;
color: #000000;
}
.divider{
height:1px;
background:rgba(255,255,255,.6);
margin-bottom:1.2em;
}
.count{
font-size:16px;
margin:0;
}
/* ≤600 px 时纵向布局 */
@media(max-width:600px){
.main-banner{
flex-direction:column;
text-align:center;
}
.banner-right{
text-align:center;
}
.divider{
width:80%;
margin:12px auto;
}
}