diff --git a/public/index.html b/public/index.html index 8dee386..b827699 100644 --- a/public/index.html +++ b/public/index.html @@ -6,10 +6,11 @@ -
S出剪刀 D出石头 F出布 点击自己的名字可以改名
diff --git a/public/style.css b/public/style.css index 507e20a..731c761 100644 --- a/public/style.css +++ b/public/style.css @@ -8,11 +8,16 @@ body { width: 100%; height: 100vh; display: flex; + flex-direction: column; justify-content: center; align-items: center; user-select: none; } +#game { + margin: 20px 0; +} + #game, #player1, #player2 { @@ -20,6 +25,12 @@ body { gap: 10px; } +kbd { + padding: 4px 8px; + border: 1px solid #777; + border-radius: 0.25rem; +} + .score, .shape { min-width: 200px;