打开/关闭菜单
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

Template:WelcomeHeader/styles.css:修订间差异

模板页面
琪露若
琪露若留言 | 贡献 (回退至旧版本)
 
(未显示1个用户的44个中间版本)
第1行: 第1行:
/* ===== Banner 样式:学术与商业的融合 (智性风) ===== */
/* ===== Banner 样式 ===== */
.main-banner {
.main-banner{
   display: flex;
   display:flex;
   align-items: center;
   align-items:center;
   gap: 32px; /* 增加间距,增加呼吸感 (学术排版特征) */
   gap:20px;
   padding: 32px 40px;
   padding:24px 32px;
 
   border-radius:8.5px;
  /* --- 核心修改 --- */
   background:linear-gradient(135deg,#3e83ff 0%,var(--color-surface-2) 100%);
  background: var(--color-surface-1);
   box-shadow:0 6px 18px rgba(0,0,0,.15);
   border-radius: 2px;  
   overflow:hidden;
   border-left: 5px solid #3e83ff;
  border-top: 1px solid rgba(0,0,0,0.08);
  border-right: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
   box-shadow: 0 2px 8px rgba(0,0,0,0.04);
 
   overflow: hidden;
}
}
 
.banner-left img{
.banner-left img {
   max-width:200px;
   max-width: 180px;
   height:auto;
   height: auto;
  filter: grayscale(100%);
}
}
 
.banner-right{
.banner-right {
   flex:1;
   flex: 1;
   text-align:right;
   text-align: left;  
  /* color:#0d1b3d; */
}
}
.title {
.title {
  color: #0f172a;
    color: var(--color-base);
  font-family: "Georgia", "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
}
}
 
.subtitle{
.subtitle {
   font-size:20px;
   font-size: 18px;
   margin:.3em 0 1.5em;
   margin: 0.5em 0 1.5em;
   color:var(--color-base);
   color: #475569;
  font-weight: 400;
  line-height: 1.6;
}
}
 
.divider{
.divider {
   height:1px;
   height: 1px;
   background:rgba(255,255,255,.6);
   background: rgba(0,0,0,0.1);
   margin-bottom:1.2em;
   margin-bottom: 1.2em;
  width: 100%;
}
}
 
.count{
.count {
   font-size:16px;
   font-size: 14px;
   margin:0;
   margin: 0;
  letter-spacing: 0.1em;
  color: #64748b;
  font-weight: 600;
}
}
.count span {
    color: #3e83ff;
    font-family: sans-serif;
    font-weight: 700;
}
/* ≤600 px 时纵向布局 */
/* ≤600 px 时纵向布局 */
@media(max-width: 600px){
@media(max-width:600px){
   .main-banner {
   .main-banner{
     flex-direction: column;
     flex-direction:column;
     text-align: left;
     text-align:center;
    border-left: 1px solid rgba(0,0,0,0.08);
    border-top: 4px solid #3e83ff;
   }
   }
   .banner-right {
   .banner-right{
     text-align: left;
     text-align:center;
   }
   }
   .divider {
   .divider{
     width: 100%;
     width:80%;
     margin: 16px 0;
     margin:12px auto;
   }
   }
}
}

2026年1月13日 (二) 22:26的最新版本

/* ===== Banner 样式 ===== */
.main-banner{
  display:flex;
  align-items:center;
  gap:20px;
  padding:24px 32px;
  border-radius:8.5px;
  background:linear-gradient(135deg,#3e83ff 0%,var(--color-surface-2) 100%);
  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: var(--color-base);
}
.subtitle{
  font-size:20px;
  margin:.3em 0 1.5em;
  color:var(--color-base);
}
.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;
  }
}