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

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

模板页面
Yzystudio留言 | 贡献
创建页面,内容为“============================================================ 一支烟工作室 · 主页样式(无任何禁用属性) ============================================================:​ ----- 背景层 (仅定位,背景图由内联 style 提供) -----:​ .hp-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; background-size: cover; background-position: center; background-repeat: no-repeat; } .hp-bg::b…”
 
Yzystudio留言 | 贡献
无编辑摘要
第1行: 第1行:
/* ============================================================
/* ============================================================
   一支烟工作室 · 主页样式(无任何禁用属性)
   一支烟工作室 · 主页样式(色彩升级版,完全兼容 TemplateStyles)
   ============================================================ */
   ============================================================ */


第22行: 第22行:
   width: 100%;
   width: 100%;
   height: 100%;
   height: 100%;
   background: rgba(0, 0, 0, 0.50);
   background: rgba(0, 0, 0, 0.45);
}
}
.hp-bg::after {
.hp-bg::after {
第31行: 第31行:
   width: 100%;
   width: 100%;
   height: 100%;
   height: 100%;
   background: rgba(8, 10, 16, 0.35);
   background: rgba(8, 10, 16, 0.30);
}
}


第72行: 第72行:
   font-size: 0.95rem;
   font-size: 0.95rem;
   letter-spacing: 6px;
   letter-spacing: 6px;
   color: #9aa5b5;
   color: #dbbd94;
   opacity: 0.7;
   opacity: 0.9;
   margin-top: 2px;
   margin-top: 2px;
   font-weight: 300;
   font-weight: 300;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
}


第85行: 第86行:
   width: 100%;
   width: 100%;
   max-width: 820px;
   max-width: 820px;
   box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(220, 190, 150, 0.12);
   box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(220, 190, 150, 0.20);
   border: 1px solid rgba(230, 210, 170, 0.08);
   border: 1px solid rgba(230, 210, 170, 0.15);
   transition: all 0.25s;
   transition: all 0.25s;
   display: flex;
   display: flex;
第141行: 第142行:
}
}
.hp-welcome-actions .hp-btn:hover {
.hp-welcome-actions .hp-btn:hover {
   background: #dbbc92;
   background: #e6cbaa;
   transform: scale(1.02);
   transform: scale(1.02);
}
}
第158行: 第159行:
}
}


/* ----- 网格 ----- */
/* ----- 网格 (3列,更灵活) ----- */
.hp-grid {
.hp-grid {
   display: grid;
   display: grid;
   grid-template-columns: 1fr 1fr;
   grid-template-columns: repeat(3, 1fr);
   gap: 24px;
   gap: 24px;
   width: 100%;
   width: 100%;
   max-width: 1100px;
   max-width: 1200px;
   margin: 6px 0 10px;
   margin: 6px 0 10px;
}
}


/* ----- 通用卡片 ----- */
/* ----- 通用卡片 (色彩增强) ----- */
.hp-card {
.hp-card {
   background: rgba(30, 34, 42, 0.75);
   background: rgba(30, 34, 42, 0.75);
第174行: 第175行:
   padding: 26px 24px 24px;
   padding: 26px 24px 24px;
   box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(210, 180, 140, 0.10);
   box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(210, 180, 140, 0.10);
   border: 1px solid rgba(225, 200, 165, 0.05);
   border: 1px solid rgba(225, 200, 165, 0.08);
   transition: all 0.4s cubic-bezier(0.15, 0.75, 0.30, 1.1);
   transition: all 0.4s cubic-bezier(0.15, 0.75, 0.30, 1.1);
   color: #f0f3f7;
   color: #f0f3f7;
第186行: 第187行:
   transform: translateY(0);
   transform: translateY(0);
   background: rgba(30, 34, 42, 0.85);
   background: rgba(30, 34, 42, 0.85);
   box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(210, 180, 140, 0.14);
   box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(210, 180, 140, 0.18);
}
}
.hp-card:hover {
.hp-card:hover {
   background: rgba(36, 40, 50, 0.85);
   background: rgba(36, 40, 50, 0.88);
   box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(210, 180, 140, 0.20);
   box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(210, 180, 140, 0.25);
  transform: translateY(-2px);
}
}
.hp-card h3 {
.hp-card h3 {
第199行: 第201行:
   margin: 0 0 12px 0;
   margin: 0 0 12px 0;
   padding-bottom: 10px;
   padding-bottom: 10px;
   border-bottom: 1px solid rgba(200, 175, 140, 0.12);
   border-bottom: 2px solid rgba(219, 189, 148, 0.25);
   display: flex;
   display: flex;
   align-items: center;
   align-items: center;
第206行: 第208行:
.hp-card h3 .hp-icon {
.hp-card h3 .hp-icon {
   font-size: 1.5rem;
   font-size: 1.5rem;
  filter: drop-shadow(0 0 6px rgba(219, 189, 148, 0.3));
}
}
.hp-card p,
.hp-card p,
第224行: 第227行:
}
}
.hp-badge-list span {
.hp-badge-list span {
   background: rgba(220, 195, 160, 0.08);
   background: rgba(219, 189, 148, 0.12);
   padding: 3px 14px;
   padding: 3px 14px;
   border-radius: 40px;
   border-radius: 40px;
   font-size: 0.82rem;
   font-size: 0.82rem;
   border: 1px solid rgba(210, 185, 145, 0.08);
   border: 1px solid rgba(219, 189, 148, 0.15);
   color: #cfd7e2;
   color: #e6d3bc;
}
}
.hp-link-list {
.hp-link-list {
   display: flex;
   display: flex;
   flex-direction: column;
   flex-direction: column;
   gap: 6px 0;
   gap: 8px 0;
   margin: 4px 0 6px;
   margin: 4px 0 6px;
}
}
第249行: 第252行:
   color: #f5e2c5;
   color: #f5e2c5;
   border-bottom-color: #dbbd94;
   border-bottom-color: #dbbd94;
  padding-left: 4px;
}
}
.hp-link-list .hp-link-meta {
.hp-link-list .hp-link-meta {
第317行: 第321行:
.hp-footer {
.hp-footer {
   margin: 30px 0 6px;
   margin: 30px 0 6px;
   opacity: 0.35;
   opacity: 0.4;
   font-size: 0.85rem;
   font-size: 0.85rem;
   letter-spacing: 3px;
   letter-spacing: 3px;
第339行: 第343行:
   66% { content: '..'; }
   66% { content: '..'; }
   100% { content: '...'; }
   100% { content: '...'; }
}
/* ----- 特殊:项目名录扁条卡片 (占一整行) ----- */
.hp-card-featured {
  grid-column: 1 / -1;
  padding: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
  border: none;
  opacity: 0.3;
  transform: translateY(12px);
  transition: all 0.4s cubic-bezier(0.15, 0.75, 0.30, 1.1);
}
.hp-card-featured.hp-visible {
  opacity: 1;
  transform: translateY(0);
}
.hp-card-featured a {
  display: block;
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.7);
  transition: all 0.3s;
}
.hp-card-featured a:hover {
  transform: scale(1.01);
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.9);
}
.hp-card-featured img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 200px;
  object-fit: cover;
}
.hp-card-featured .hp-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20, 22, 30, 0.7) 0%, rgba(40, 35, 30, 0.4) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.hp-card-featured .hp-featured-overlay h3 {
  font-size: 2.2rem;
  font-weight: 500;
  color: #f5e7d9;
  text-shadow: 0 4px 20px rgba(0,0,0,0.6);
  letter-spacing: 4px;
  margin: 0;
  border-bottom: none;
  padding-bottom: 0;
}
.hp-card-featured .hp-featured-overlay h3 small {
  font-size: 1rem;
  font-weight: 300;
  opacity: 0.8;
  margin-left: 18px;
  letter-spacing: 2px;
}
}


/* ----- 响应式 ----- */
/* ----- 响应式 ----- */
@media (max-width: 1024px) {
  .hp-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}
@media (max-width: 820px) {
@media (max-width: 820px) {
   .hp-grid {
   .hp-grid {
第362行: 第434行:
   .hp-card h3 {
   .hp-card h3 {
     font-size: 1.15rem;
     font-size: 1.15rem;
  }
  .hp-card-featured .hp-featured-overlay h3 {
    font-size: 1.6rem;
   }
   }
}
}
第388行: 第463行:
     margin-left: 0;
     margin-left: 0;
     width: 100%;
     width: 100%;
  }
  .hp-card-featured .hp-featured-overlay h3 {
    font-size: 1.3rem;
    flex-direction: column;
  }
  .hp-card-featured .hp-featured-overlay h3 small {
    margin-left: 0;
    font-size: 0.9rem;
   }
   }
}
}

2026年9月6日 (日) 23:53的版本

/* ============================================================
   一支烟工作室 · 主页样式(色彩升级版,完全兼容 TemplateStyles)
   ============================================================ */

/* ----- 背景层 (仅定位,背景图由内联 style 提供) ----- */
.hp-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hp-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
}
.hp-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 10, 16, 0.30);
}

/* ----- 主容器 ----- */
.hp-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  max-width: 1260px;
  margin: 0 auto;
  padding: 20px 16px 60px;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  color: #f0f3f7;
  min-height: 100vh;
}

/* ----- Header ----- */
.hp-header {
  width: 100%;
  text-align: center;
  padding: 6px 0 10px;
}
.hp-header-logo {
  max-width: 340px;
  width: 80%;
  height: auto;
  display: block;
  margin: 0 auto 6px;
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s ease;
}
.hp-header-logo:hover {
  transform: scale(1.01);
}
.hp-header-sub {
  font-size: 0.95rem;
  letter-spacing: 6px;
  color: #dbbd94;
  opacity: 0.9;
  margin-top: 2px;
  font-weight: 300;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* ----- 欢迎弹窗 ----- */
.hp-welcome {
  background: rgba(28, 32, 40, 0.85);
  border-radius: 28px;
  padding: 24px 30px 22px;
  width: 100%;
  max-width: 820px;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(220, 190, 150, 0.20);
  border: 1px solid rgba(230, 210, 170, 0.15);
  transition: all 0.25s;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
}
.hp-welcome.hidden {
  display: none;
}
.hp-welcome-text {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 300px;
}
.hp-welcome-text h2 {
  font-size: 1.4rem;
  font-weight: 500;
  color: #f5e7d9;
  margin: 0;
  letter-spacing: 0.5px;
}
.hp-welcome-text h2 span {
  font-size: 1.6rem;
  margin-right: 4px;
}
.hp-welcome-text p {
  margin: 0;
  font-size: 0.95rem;
  color: #cfd7e2;
  opacity: 0.85;
}
.hp-welcome-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.hp-welcome-actions .hp-btn {
  background: #dbbd94;
  border: none;
  padding: 8px 26px;
  border-radius: 60px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #1c1f26;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.2s;
  border: 1px solid #dcbf99;
}
.hp-welcome-actions .hp-btn:hover {
  background: #e6cbaa;
  transform: scale(1.02);
}
.hp-welcome-actions label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: #9aa5b5;
  cursor: pointer;
}
.hp-welcome-actions label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* ----- 网格 (3列,更灵活) ----- */
.hp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 1200px;
  margin: 6px 0 10px;
}

/* ----- 通用卡片 (色彩增强) ----- */
.hp-card {
  background: rgba(30, 34, 42, 0.75);
  border-radius: 28px;
  padding: 26px 24px 24px;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(210, 180, 140, 0.10);
  border: 1px solid rgba(225, 200, 165, 0.08);
  transition: all 0.4s cubic-bezier(0.15, 0.75, 0.30, 1.1);
  color: #f0f3f7;
  display: flex;
  flex-direction: column;
  opacity: 0.3;
  transform: translateY(12px);
}
.hp-card.hp-visible {
  opacity: 1;
  transform: translateY(0);
  background: rgba(30, 34, 42, 0.85);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(210, 180, 140, 0.18);
}
.hp-card:hover {
  background: rgba(36, 40, 50, 0.88);
  box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(210, 180, 140, 0.25);
  transform: translateY(-2px);
}
.hp-card h3 {
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: 1px;
  color: #f5e7d9;
  margin: 0 0 12px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(219, 189, 148, 0.25);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hp-card h3 .hp-icon {
  font-size: 1.5rem;
  filter: drop-shadow(0 0 6px rgba(219, 189, 148, 0.3));
}
.hp-card p,
.hp-card .hp-desc {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #cfd7e2;
  margin: 0 0 8px 0;
}
.hp-card .hp-desc {
  opacity: 0.85;
}
.hp-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 6px;
}
.hp-badge-list span {
  background: rgba(219, 189, 148, 0.12);
  padding: 3px 14px;
  border-radius: 40px;
  font-size: 0.82rem;
  border: 1px solid rgba(219, 189, 148, 0.15);
  color: #e6d3bc;
}
.hp-link-list {
  display: flex;
  flex-direction: column;
  gap: 8px 0;
  margin: 4px 0 6px;
}
.hp-link-list a {
  color: #dbbd94;
  text-decoration: none;
  border-bottom: 1px dashed rgba(165, 135, 100, 0.3);
  transition: 0.2s;
  padding: 2px 0;
  display: inline-block;
  width: fit-content;
}
.hp-link-list a:hover {
  color: #f5e2c5;
  border-bottom-color: #dbbd94;
  padding-left: 4px;
}
.hp-link-list .hp-link-meta {
  color: #9aa5b5;
  font-size: 0.85rem;
  margin-left: 8px;
  font-weight: 300;
}
.hp-recent-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 10px;
}
.hp-recent-list li {
  padding: 6px 0 6px 0;
  border-bottom: 1px solid rgba(200, 180, 150, 0.05);
  font-size: 0.92rem;
  line-height: 1.5;
  color: #cfd7e2;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
}
.hp-recent-list li:last-child {
  border-bottom: none;
}
.hp-recent-list .hp-rc-title {
  font-weight: 500;
  color: #f5e7d9;
}
.hp-recent-list .hp-rc-user {
  color: #9aa5b5;
  font-size: 0.82rem;
}
.hp-recent-list .hp-rc-time {
  color: #9aa5b5;
  font-size: 0.75rem;
  margin-left: auto;
}
.hp-recent-list .hp-rc-comment {
  color: #9aa5b5;
  font-size: 0.82rem;
  opacity: 0.7;
  width: 100%;
  padding-left: 4px;
}
.hp-recent-empty {
  color: #9aa5b5;
  font-size: 0.92rem;
  opacity: 0.6;
  padding: 8px 0;
}
.hp-more-link {
  margin-top: 8px;
  font-size: 0.88rem;
}
.hp-more-link a {
  color: #dbbd94;
  text-decoration: none;
  border-bottom: 1px dotted rgba(165, 135, 100, 0.4);
  transition: 0.2s;
}
.hp-more-link a:hover {
  color: #f5e2c5;
  border-bottom-color: #dbbd94;
}
.hp-footer {
  margin: 30px 0 6px;
  opacity: 0.4;
  font-size: 0.85rem;
  letter-spacing: 3px;
  color: #cfd7e2;
  text-align: center;
  width: 100%;
}
.hp-loading {
  color: #9aa5b5;
  font-size: 0.9rem;
  opacity: 0.6;
  padding: 6px 0;
}
.hp-loading::after {
  content: '...';
  animation: hp-dots 1.2s steps(3, end) infinite;
}
@keyframes hp-dots {
  0% { content: ''; }
  33% { content: '.'; }
  66% { content: '..'; }
  100% { content: '...'; }
}

/* ----- 特殊:项目名录扁条卡片 (占一整行) ----- */
.hp-card-featured {
  grid-column: 1 / -1;
  padding: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
  border: none;
  opacity: 0.3;
  transform: translateY(12px);
  transition: all 0.4s cubic-bezier(0.15, 0.75, 0.30, 1.1);
}
.hp-card-featured.hp-visible {
  opacity: 1;
  transform: translateY(0);
}
.hp-card-featured a {
  display: block;
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.7);
  transition: all 0.3s;
}
.hp-card-featured a:hover {
  transform: scale(1.01);
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.9);
}
.hp-card-featured img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 200px;
  object-fit: cover;
}
.hp-card-featured .hp-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20, 22, 30, 0.7) 0%, rgba(40, 35, 30, 0.4) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.hp-card-featured .hp-featured-overlay h3 {
  font-size: 2.2rem;
  font-weight: 500;
  color: #f5e7d9;
  text-shadow: 0 4px 20px rgba(0,0,0,0.6);
  letter-spacing: 4px;
  margin: 0;
  border-bottom: none;
  padding-bottom: 0;
}
.hp-card-featured .hp-featured-overlay h3 small {
  font-size: 1rem;
  font-weight: 300;
  opacity: 0.8;
  margin-left: 18px;
  letter-spacing: 2px;
}

/* ----- 响应式 ----- */
@media (max-width: 1024px) {
  .hp-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}
@media (max-width: 820px) {
  .hp-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .hp-welcome {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 20px;
  }
  .hp-welcome-text {
    flex-direction: column;
    gap: 4px;
  }
  .hp-welcome-actions {
    justify-content: center;
  }
  .hp-card h3 {
    font-size: 1.15rem;
  }
  .hp-card-featured .hp-featured-overlay h3 {
    font-size: 1.6rem;
  }
}
@media (max-width: 560px) {
  .hp-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hp-container {
    padding: 12px 10px 40px;
  }
  .hp-card {
    padding: 20px 16px 18px;
    border-radius: 22px;
  }
  .hp-welcome-text h2 {
    font-size: 1.15rem;
  }
  .hp-header-logo {
    width: 90%;
  }
  .hp-recent-list li {
    font-size: 0.85rem;
  }
  .hp-recent-list .hp-rc-time {
    margin-left: 0;
    width: 100%;
  }
  .hp-card-featured .hp-featured-overlay h3 {
    font-size: 1.3rem;
    flex-direction: column;
  }
  .hp-card-featured .hp-featured-overlay h3 small {
    margin-left: 0;
    font-size: 0.9rem;
  }
}