diff --git a/src/bggpipe/export.py b/src/bggpipe/export.py index f8d4545..b5db5ce 100644 --- a/src/bggpipe/export.py +++ b/src/bggpipe/export.py @@ -186,7 +186,14 @@ a.game img { width:100%; aspect-ratio:1; object-fit:cover; display:block; a.game .noart { width:100%; aspect-ratio:1; display:flex; align-items:center; justify-content:center; font-size:3rem; font-weight:700; color:var(--navy); background:#e8ddc5; } -a.game .info { padding:.55rem .7rem .7rem; } +a.game .info, .colophon .info { padding:.55rem .7rem .7rem; } +.colophon { background:var(--board); border:1px solid var(--line); + border-radius:.8rem; overflow:hidden; display:flex; flex-direction:column; + box-shadow:0 2px 5px rgba(42,36,56,.15); } +.colophon > img { width:100%; aspect-ratio:1; object-fit:cover; display:block; + background:#cfe4f5; } +.colophon .meta { margin:.35rem 0 0; font-size:.72rem; line-height:1.45; } +.colophon a { color:var(--accent); } .gname { font-weight:700; } .meta { color:var(--ink-soft); font-size:.82rem; } main > .meta { color:var(--ink-soft-on-sky); } @@ -260,6 +267,35 @@ def _footer(title: str, rel: str, badge_present: bool) -> str: """ +_PIPER_NAME = "bggpipe-piper.jpg" +_PIPER_SRC = Path(__file__).parent / "static" / "logo-full.jpg" + + +def _colophon_card(title: str, badge_present: bool) -> str: + """The last card on the shelf: mascot, badge, and the fine print. A +