-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
74 lines (56 loc) · 871 Bytes
/
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
/*Main*/
main {
width; 80%;
margin-left: 10%;
margin-right: 10%;
}
/*Cards input */
.cards-input {
width: 80%;
margin: 2em auto;
}
.cards-input > * {
display: block;
}
.cards-input > textarea {
width: 100%;
/*margin: 0 auto;*/
}
.cards-input > button {
margin-top: 1em;
}
/*Card display*/
.cards-display {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: space-around;
align-items: flex-start;
margin: 2em 0;
}
.hand {
flex-grow: 1;
text-align: center;
}
.draw-pile > *, .discard-pile > * {
display: block;
}
/* Card */
.card-element {
width: 150px;
height: 200px;
padding: 10px;
border-radius: 5px;
display: inline-block;
border: 1px solid black;
overflow: scroll;
margin: 0 5px;
}
/* Generic */
.text-muted {
color: gray;
}
.counter {
width: 100%;
text-align: center;
}