模板:WelcomeHeader/styles.css

来自BinWiki
IceBin留言 | 贡献2025年9月16日 (二) 23:08的版本 (导入15个版本)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
/* ===== 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;
  }
}