Skip to content

Commit b83dfed

Browse files
Update index.html
1 parent c0a70e5 commit b83dfed

1 file changed

Lines changed: 17 additions & 1 deletion

File tree

index.html

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@
9494
.suit-red { color:#c62828; }
9595
.suit-black { color:#111; }
9696

97+
/* --- Deck & Discard --- */
9798
/* --- Deck & Discard --- */
9899
#deckPile {
99100
display:flex;
@@ -103,7 +104,7 @@
103104
margin-top:6px;
104105
}
105106

106-
#deck, #discard {
107+
#deck {
107108
width:96px;
108109
height:150px;
109110
border-radius:12px;
@@ -118,6 +119,21 @@
118119
cursor:pointer;
119120
}
120121

122+
/* Discard pile matches card styling */
123+
#discard {
124+
width:92px;
125+
height:140px;
126+
border-radius:12px;
127+
display:grid;
128+
place-items:center;
129+
font-size:125px;
130+
line-height:1;
131+
background: linear-gradient(to bottom, white, whitesmoke);
132+
border: 2px solid #111;
133+
box-shadow: 2px 6px 12px rgba(0,0,0,0.5);
134+
color: black; /* will be overridden by JS for suit-red / suit-black */
135+
}
136+
121137
/* --- Controls --- */
122138
#controls {
123139
margin-top:14px;

0 commit comments

Comments
 (0)