/* ============================================================ 上海时尚志 · shangh9 时尚杂志风 ============================================================ */ *{margin:0;padding:0;box-sizing:border-box} html{-webkit-text-size-adjust:100%} body{ font-family:"Helvetica Neue","PingFang SC","Microsoft YaHei",Arial,sans-serif; background:#fff;color:#111;font-size:15px;line-height:1.65; -webkit-font-smoothing:antialiased;overflow-x:hidden; } a{color:inherit;text-decoration:none;transition:color .2s,opacity .2s} img{max-width:100%;height:auto;display:block;border:0;object-fit:cover} ul,ol{list-style:none} .wrap{width:1240px;max-width:94%;margin:0 auto} /* ---------- 顶部条 ---------- */ .topbar{background:#111;color:#e8e8e8;font-size:12px;letter-spacing:.5px} .topbar-inner{display:flex;justify-content:space-between;align-items:center;height:36px} .topbar-left{text-transform:uppercase;opacity:.8} .topbar-right{display:flex;gap:18px} .topbar-right a:hover{color:#c9a227} /* ---------- 杂志头部 ---------- */ .masthead{border-bottom:2px solid #111;background:#fff} .masthead-inner{display:flex;align-items:flex-end;justify-content:space-between;padding:22px 0 14px;flex-wrap:wrap;gap:14px} .brand{display:flex;align-items:baseline;gap:10px} .brand-mark{ display:inline-flex;align-items:center;justify-content:center; width:34px;height:34px;background:#111;color:#fff; font-family:Georgia,serif;font-size:20px;font-weight:700; } .brand-name{font-family:Georgia,"Songti SC",serif;font-size:28px;font-weight:700;letter-spacing:2px} .brand-sub{font-size:11px;letter-spacing:3px;color:#888;text-transform:uppercase} .mainnav ul{display:flex;gap:22px;flex-wrap:wrap} .mainnav a{font-size:14px;font-weight:600;letter-spacing:1px;color:#333} .mainnav a:hover,.mainnav a.on{color:#c9a227} /* ---------- 杂志简介条 ---------- */ .intro-bar{background:#fafafa;border-bottom:1px solid #eee} .intro-inner{padding:16px 0;font-size:13px;color:#666;line-height:1.7} .intro-inner strong{color:#111} /* ---------- 封面头条 ---------- */ .cover{margin:26px 0 40px} .cover-link{position:relative;display:block;overflow:hidden;background:#111} .cover-link img{width:100%;height:520px;object-fit:cover;opacity:.92;transition:transform .6s} .cover-link:hover img{transform:scale(1.03)} .cover-text{ position:absolute;left:0;bottom:0;width:100%;padding:40px; background:linear-gradient(to top,rgba(0,0,0,.85),rgba(0,0,0,0)); color:#fff; } .cover-tag{font-size:12px;letter-spacing:4px;color:#c9a227;text-transform:uppercase} .cover-text h1{font-family:Georgia,"Songti SC",serif;font-size:44px;line-height:1.2;margin:12px 0 10px} .cover-text h1 a{color:#fff} .cover-text p{font-size:15px;max-width:680px;opacity:.85} /* ---------- 区块通用 ---------- */ .block{margin:44px 0} .block-head{display:flex;justify-content:space-between;align-items:baseline;border-bottom:1px solid #111;padding-bottom:10px;margin-bottom:22px} .block-head h2{font-family:Georgia,"Songti SC",serif;font-size:24px;font-weight:700;letter-spacing:1px} .block-head .more{font-size:13px;color:#888} .block-head .more:hover{color:#c9a227} /* ---------- 通用卡片 ---------- */ .grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:26px} .grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:24px} .grid-5{display:grid;grid-template-columns:repeat(5,1fr);gap:18px} .grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:24px} .card-img{overflow:hidden;background:#f2f2f2} .card-img img{width:100%;height:220px;object-fit:cover;transition:transform .5s} .card:hover .card-img img{transform:scale(1.05)} .card-body{padding:14px 0} .kicker{font-size:11px;letter-spacing:3px;color:#c9a227;text-transform:uppercase} .card-body h3{font-size:17px;line-height:1.4;font-weight:700;margin:8px 0} .card-body h3 a:hover{color:#c9a227} .card-body p{font-size:13px;color:#777;line-height:1.6;margin-top:6px} .card-body .meta{font-size:12px;color:#aaa;margin-top:8px} /* ---------- 街拍五栏 ---------- */ .street-item{position:relative;overflow:hidden} .street-item img{width:100%;height:260px;object-fit:cover;transition:transform .5s} .street-item:hover img{transform:scale(1.06)} .street-item figcaption{ position:absolute;left:0;bottom:0;width:100%;padding:14px 12px; font-size:13px;color:#fff;background:linear-gradient(to top,rgba(0,0,0,.8),transparent); } .street-item figcaption strong{display:block;font-size:14px;margin-bottom:4px} .street-item figcaption span{font-size:12px;opacity:.8;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden} /* ---------- 设计师专栏 + 热榜 ---------- */ .split{display:grid;grid-template-columns:2fr 1fr;gap:32px} .feature{display:block;position:relative;overflow:hidden} .feature img{width:100%;height:420px;object-fit:cover} .feature-text{ position:absolute;left:0;bottom:0;width:100%;padding:28px; background:linear-gradient(to top,rgba(0,0,0,.85),transparent);color:#fff; } .feature-text h3{font-family:Georgia,serif;font-size:26px;margin-bottom:8px} .feature-text p{font-size:14px;opacity:.85} .rank li{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #eee} .rank-num{font-family:Georgia,serif;font-size:20px;color:#c9a227;font-weight:700;min-width:28px} .rank a{font-size:15px;font-weight:600} .rank a:hover{color:#c9a227} /* ---------- 专题大片 ---------- */ .editorial{position:relative;display:block;overflow:hidden} .editorial img{width:100%;height:380px;object-fit:cover;transition:transform .6s} .editorial:hover img{transform:scale(1.04)} .editorial-info{ position:absolute;left:0;bottom:0;width:100%;padding:30px; background:linear-gradient(to top,rgba(0,0,0,.85),transparent);color:#fff; } .editorial-info span{font-size:11px;letter-spacing:3px;color:#c9a227} .editorial-info h3{font-family:Georgia,serif;font-size:24px;margin:8px 0} .editorial-info p{font-size:13px;opacity:.85} /* ---------- 杂志栏目介绍 ---------- */ .col-box{background:#fafafa;padding:24px;border-top:3px solid #111} .col-box h3{font-family:Georgia,serif;font-size:18px;margin-bottom:8px} .col-box p{font-size:13px;color:#666;line-height:1.7} /* ---------- 订阅区 ---------- */ .subscribe{background:#111;color:#fff;padding:60px 0;margin-top:60px;text-align:center} .subscribe h2{font-family:Georgia,serif;font-size:28px;margin-bottom:10px} .subscribe p{color:#aaa;margin-bottom:24px} .subscribe form{display:flex;justify-content:center;gap:0;max-width:520px;margin:0 auto} .subscribe input{flex:1;height:46px;border:0;padding:0 16px;font-size:14px;outline:none} .subscribe button{height:46px;padding:0 26px;border:0;background:#c9a227;color:#111;font-weight:700;cursor:pointer;letter-spacing:1px} .subscribe button:hover{background:#d8b13a} /* ---------- 页脚 ---------- */ .site-footer{background:#0d0d0d;color:#888;padding:40px 0 20px} .footer-inner{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:20px} .footer-brand{max-width:520px} .footer-brand strong{font-family:Georgia,serif;font-size:20px;color:#fff} .footer-brand p{font-size:12px;margin-top:6px;letter-spacing:.5px;line-height:1.7} .footer-links a{font-size:13px;margin-left:18px} .footer-links a:hover{color:#c9a227} .copyright{text-align:center;font-size:12px;margin-top:24px;padding-top:18px;border-top:1px solid #222} /* ---------- 列表页 ---------- */ .breadcrumb{font-size:13px;color:#999;margin:24px 0} .breadcrumb a:hover{color:#c9a227} .breadcrumb span{margin:0 6px} .list-head{margin-bottom:30px;border-bottom:1px solid #111;padding-bottom:16px} .list-head h1{font-family:Georgia,serif;font-size:32px} .list-head p{color:#777;margin-top:6px;font-size:14px} .list-grid .card-img img{height:200px} .pager{text-align:center;margin:50px 0} .pager a,.pager span{display:inline-block;margin:0 4px;padding:8px 14px;border:1px solid #ddd;font-size:13px} .pager a:hover{border-color:#c9a227;color:#c9a227} /* ---------- 文章页 ---------- */ .article{max-width:860px;margin:30px auto 60px} .article-head{border-bottom:1px solid #eee;padding-bottom:22px;margin-bottom:28px} .article-head h1{font-family:Georgia,"Songti SC",serif;font-size:36px;line-height:1.3;margin:12px 0 16px} .article-meta{font-size:13px;color:#999;display:flex;gap:20px;flex-wrap:wrap} .article-body{font-size:16px;line-height:1.9;color:#333} .article-body p{margin-bottom:22px} .article-body h2,.article-body h3{margin:30px 0 14px;font-family:Georgia,serif} .article-body img{margin:26px 0;width:100%} .article-body blockquote{border-left:3px solid #c9a227;padding-left:18px;color:#666;margin:22px 0} .related{margin-top:50px;border-top:1px solid #111;padding-top:26px} .related h2{font-family:Georgia,serif;font-size:22px;margin-bottom:20px} /* ---------- 登录/注册/投稿 ---------- */ .auth-bg{min-height:100vh;display:flex;align-items:center;justify-content:center;background:#f6f6f6;padding:30px 16px} .auth-card{background:#fff;width:100%;max-width:420px;padding:44px 38px;border-top:4px solid #111;box-shadow:0 20px 60px rgba(0,0,0,.08)} .auth-card.wide{max-width:620px} .auth-brand{display:flex;align-items:center;gap:10px;font-family:Georgia,serif;font-size:18px;margin-bottom:20px} .auth-brand .brand-mark{width:28px;height:28px;font-size:16px} .auth-card h1{font-family:Georgia,serif;font-size:26px;margin-bottom:8px} .auth-tip{font-size:13px;color:#888;margin-bottom:26px} .field{margin-bottom:18px} .field label{display:block;font-size:12px;letter-spacing:1px;color:#666;margin-bottom:6px;text-transform:uppercase} .input{width:100%;height:46px;border:1px solid #ddd;background:#fafafa;padding:0 14px;font-size:14px;outline:none;transition:border .2s,background .2s} .input:focus{border-color:#111;background:#fff} .textarea{height:140px;padding:12px 14px;resize:vertical} .btn-primary{width:100%;height:48px;border:0;background:#111;color:#fff;font-size:15px;font-weight:700;letter-spacing:2px;cursor:pointer;margin-top:8px;transition:background .2s} .btn-primary:hover{background:#c9a227;color:#111} .auth-link{text-align:center;margin-top:18px;font-size:13px;color:#999} .auth-link a{color:#c9a227;font-weight:700} /* ---------- 响应式 ---------- */ @media(max-width:1100px){ .grid-5{grid-template-columns:repeat(3,1fr)} .grid-4{grid-template-columns:repeat(3,1fr)} .cover-link img{height:420px} .cover-text h1{font-size:34px} } @media(max-width:900px){ .split{grid-template-columns:1fr} .feature img{height:320px} .grid-3,.grid-2{grid-template-columns:1fr 1fr} .brand-sub{display:none} } @media(max-width:700px){ .masthead-inner{flex-direction:column;align-items:flex-start} .mainnav ul{gap:14px} .grid-3,.grid-4,.grid-5,.grid-2{grid-template-columns:1fr 1fr} .cover-link img{height:300px} .cover-text{padding:20px} .cover-text h1{font-size:24px} .cover-text p{display:none} .street-item img{height:180px} .article-head h1{font-size:26px} .subscribe form{flex-direction:column;gap:10px} .footer-inner{flex-direction:column} .footer-links a{margin:0 12px 0 0} .intro-inner{font-size:12px} }