feat(web): add home arrow link to game page header
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -61,6 +61,16 @@ header {
|
|||||||
|
|
||||||
.logo { font-size: 16px; font-weight: 700; }
|
.logo { font-size: 16px; font-weight: 700; }
|
||||||
.muted { color: var(--text-muted); font-size: 12px; }
|
.muted { color: var(--text-muted); font-size: 12px; }
|
||||||
|
.home-link {
|
||||||
|
color: var(--text-muted);
|
||||||
|
text-decoration: none;
|
||||||
|
font-size: 18px;
|
||||||
|
line-height: 1;
|
||||||
|
padding: 2px 4px;
|
||||||
|
border-radius: 4px;
|
||||||
|
transition: color 120ms, background 120ms;
|
||||||
|
}
|
||||||
|
.home-link:hover { color: var(--text); background: var(--panel-hi); }
|
||||||
|
|
||||||
button {
|
button {
|
||||||
background: var(--panel-hi);
|
background: var(--panel-hi);
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
<div class="hud-left">
|
<div class="hud-left">
|
||||||
|
<a href="/" class="home-link" title="Home">←</a>
|
||||||
<span class="logo">Solitaire Quest</span>
|
<span class="logo">Solitaire Quest</span>
|
||||||
<span id="hud-seed" class="muted"></span>
|
<span id="hud-seed" class="muted"></span>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user