27 lines
2.6 KiB
CSS
27 lines
2.6 KiB
CSS
|
|
/* 完成度(docs/25):大廳的精簡一條、圖鑑的制霸地圖與類型挑戰表 */
|
|||
|
|
.cmp-bar { position: relative; display: block; height: 8px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 12%, transparent); overflow: hidden; }
|
|||
|
|
.cmp-bar i { position: absolute; inset: 0 auto 0 0; width: calc(var(--p, 0) * 100%); border-radius: inherit; background: var(--stamp); }
|
|||
|
|
|
|||
|
|
.cmp-strip { display: grid; gap: 4px; padding: 10px 14px; border: 2px solid var(--ink); border-radius: 14px; background: var(--surface); color: var(--ink); text-decoration: none; box-shadow: 3px 3px 0 var(--shadow-ink); }
|
|||
|
|
.cmp-strip-head { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; }
|
|||
|
|
.cmp-strip-head b { font-family: var(--font-num); font-size: 18px; }
|
|||
|
|
.cmp-strip small { color: var(--muted); font-size: 12px; }
|
|||
|
|
|
|||
|
|
.cmp { display: grid; gap: 14px; padding: 16px; margin-bottom: 16px; border: 3px solid var(--ink); border-radius: 18px; background: var(--surface); box-shadow: 4px 4px 0 var(--shadow-ink); }
|
|||
|
|
.cmp-head { display: grid; gap: 10px; }
|
|||
|
|
.cmp-head h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-family: var(--font-serif); }
|
|||
|
|
.cmp-parts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
|
|||
|
|
.cmp-parts li { display: grid; gap: 4px; font-size: 13px; }
|
|||
|
|
.cmp-parts small { color: var(--muted); font-family: var(--font-num); }
|
|||
|
|
.cmp-body { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
|
|||
|
|
.cmp-body h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin: 0 0 8px; font-size: 16px; }
|
|||
|
|
.cmp-body h3 small { flex-basis: 100%; color: var(--muted); font-size: 12px; font-weight: 400; }
|
|||
|
|
.cmp-map { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 6px; }
|
|||
|
|
.cmp-map li { padding: 6px 4px; border-radius: 10px; border: 2px dashed color-mix(in srgb, var(--ink) 30%, transparent); text-align: center; font-size: 13px; color: var(--muted); }
|
|||
|
|
.cmp-map li.is-won { border: 2px solid var(--ink); background: var(--stamp); color: #fff; font-weight: 800; }
|
|||
|
|
.cmp-ladder { border-collapse: separate; border-spacing: 3px; font-size: 12px; }
|
|||
|
|
.cmp-ladder th { font-weight: 700; color: var(--muted); }
|
|||
|
|
.cmp-ladder tbody th { padding-right: 6px; text-align: left; color: var(--ink); white-space: nowrap; }
|
|||
|
|
.cmp-ladder td { width: 18px; height: 18px; border-radius: 4px; background: color-mix(in srgb, var(--ink) 10%, transparent); }
|
|||
|
|
.cmp-ladder td.is-won { background: var(--signal); box-shadow: inset 0 0 0 2px var(--ink); }
|