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

模板:GuidePortal/styles.css

来自MUC Wiki
Maintenance script留言 | 贡献2026年6月4日 (四) 03:42的版本 (Refine reusable guide portal component styles)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
.guide-portal {
  display: grid;
  gap: .95rem;
  margin: 1.15rem 0;
  padding: 1rem;
  border: 1px solid #d9e1ec;
  border-radius: 14px;
  background: #f5f8fc;
  box-shadow: 0 14px 38px rgba(37, 55, 82, .06);
}

.guide-portal__header {
  display: grid;
  gap: .35rem;
}

.guide-portal__eyebrow {
  width: max-content;
  max-width: 100%;
  margin: 0;
  padding: .22rem .58rem;
  border: 1px solid #bfd0e6;
  border-radius: 999px;
  background: #eef5ff;
  color: #315f9e;
  font-size: .84rem;
  font-weight: 800;
  line-height: 1.2;
}

.guide-portal h2 {
  margin: 0;
  padding: 0;
  border: 0;
  color: #0f172a;
  font-size: 1.32rem;
  font-weight: 800;
  line-height: 1.25;
}

.guide-portal p {
  margin: 0;
  color: #536070;
  line-height: 1.65;
}

.guide-portal__grid,
.guide-portal-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .72rem;
}

.guide-portal__grid > *,
.guide-portal-links > * {
  min-width: 0;
  padding: .85rem .95rem;
  border: 1px solid #d9e1ec;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(37, 55, 82, .045);
}

.guide-portal__grid a,
.guide-portal-links a {
  font-weight: 800;
}

@media (max-width: 720px) {
  .guide-portal {
    padding: .9rem;
    border-radius: 12px;
  }

  .guide-portal__grid,
  .guide-portal-links {
    grid-template-columns: 1fr;
  }
}