-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
78 lines (68 loc) · 1.12 KB
/
style.css
File metadata and controls
78 lines (68 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
body {
background: #2e7d32;
font-family: 'Segoe UI', Arial, sans-serif;
color: #fff;
margin: 0;
padding: 0;
}
.game-container {
max-width: 600px;
margin: 40px auto;
background: #388e3c;
border-radius: 12px;
box-shadow: 0 4px 24px rgba(0,0,0,0.2);
padding: 32px;
}
.deck-area {
display: flex;
align-items: center;
gap: 16px;
margin-bottom: 32px;
}
#draw-btn {
background: #fff;
color: #388e3c;
border: none;
border-radius: 6px;
padding: 12px 24px;
font-size: 1.1em;
cursor: pointer;
transition: background 0.2s;
}
#draw-btn:hover {
background: #c8e6c9;
}
#deck-count {
font-size: 1.1em;
}
.hand-area {
margin-top: 24px;
}
#hand {
display: flex;
gap: 12px;
flex-wrap: wrap;
margin-top: 12px;
}
.card {
width: 60px;
height: 90px;
background: #fff;
color: #222;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0,0,0,0.15);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: 1.3em;
position: relative;
}
.card .rank {
font-weight: bold;
font-size: 1.2em;
}
.card .suit {
font-size: 1.1em;
margin-top: 4px;
}