-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
67 lines (56 loc) · 958 Bytes
/
index.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
html, body {
margin: 0;
padding: 0;
background-image: url("img/table.png");
font-family: "Exo 2", sans-serif;
height: 100vh;
}
body {
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
color: white;
}
button {
background-color: #FFF100;
cursor: pointer;
border: none;
}
button#new-deck {
align-self: flex-start;
padding: 5px;
}
button.draw {
font-size: 1.2em;
padding: 5px;
align-self: stretch;
}
div.card-slot {
border: 1px solid black;
border-radius: 5px;
height: 20vh;
width: calc(20vh * 5 / 7);
}
div.card-slot:nth-of-type(1) {
margin-bottom: 10px;
}
img.card {
width: 100%;
height: 100%;
}
div.top {
display: flex;
align-items: flex-start;
align-self: flex-start;
}
div.top > p {
margin: 0;
margin-left: 10px;
}
button:disabled {
cursor: not-allowed;
}
h2 {
margin: 10px;
}