-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
89 lines (79 loc) · 1.53 KB
/
style.css
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
79
80
81
82
83
84
85
86
87
88
89
body, html {
margin: 0;
background: linear-gradient(90deg, #000000, #343434, #333);
background-size: 400% 400%;
animation: gradientAnimation 30s ease infinite;
padding: 0;
}
@keyframes gradientAnimation {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
.game-container {
display: flex;
border: 10px double purple;
flex-direction: column;
align-items: center;
padding: 20px;
}
.player {
border: 2px solid #333;
border-radius: 8px;
padding: 10px;
margin-bottom: 20px;
}
.hand-container {
display: flex;
gap: 10px;
margin-bottom: 10px;
}
.card{
border: 2px solid black;
border-radius: 5px;
height: 150px;
width: 100px;
z-index: 0;
}
.card image {
height: 150px;
width: 100px;
}
.cardzone {
width: 100px;
height: 150px;
border: 1px solid #555;
margin-right: 5px;
}
.player2Backline,
.player2Frontline,
.player1Backline,
.player1Frontline {
display: flex;
justify-content: space-around;
margin-bottom: 10px;
}
.library, #deck, #graveyard {
border: 1px solid #555;
height: 150px;
width: 210px;
display: flex;
justify-content: space-around;
flex-direction: row;
gap: 5px
}
.player {
background-color: #f0f0f0;
}
.cardzone {
background-color: #ddd;
}
#deck, #graveyard {
background-color: #ccc;
}