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

本站正在进行早期测试,目前仍存在许多内容的缺失。

模板:GiftsByNPC/styles.css

来自星砂岛百科
Sizau留言 | 贡献2026年3月9日 (一) 20:20的版本 (创建页面)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
.gifting-tabber {
  margin: 8px 0 12px;
}

.gifting-level-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.gifting-preference-panel {
  border: 1px solid #d8d2c4;
  border-radius: 10px;
  background: #fbf8f1;
  overflow: hidden;
}

.gifting-preference-panel-title {
  padding: 10px 12px;
  font-weight: 700;
  color: #4f4637;
  background: linear-gradient(180deg, #f3ecde 0%, #ebe0ca 100%);
  border-bottom: 1px solid #ddd3bf;
}

.gifting-preference-panel-body {
  padding: 12px;
}

.gifting-item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  gap: 10px;
}

.gifting-item-card {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 8px;
  min-height: 124px;
  padding: 10px 8px;
  border: 1px solid #e2dac9;
  border-radius: 10px;
  background: #fffdf8;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.gifting-item-card:hover {
  background: #fff7e8;
  border-color: #c9b48e;
  transform: translateY(-1px);
}

.gifting-item-card-image {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gifting-item-card-image img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.gifting-item-card-name {
  text-align: center;
  line-height: 1.35;
  color: #3d3428;
  word-break: break-word;
}

.gifting-empty {
  color: #7b6f60;
  text-align: center;
  padding: 18px 12px;
}

@media (max-width: 767px) {
  .gifting-level-grid {
    grid-template-columns: 1fr;
  }

  .gifting-item-grid {
    grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  }
}

/* [[分类:模板]] */