-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
89 lines (76 loc) · 1.38 KB
/
index.css
File metadata and controls
89 lines (76 loc) · 1.38 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
79
80
81
82
83
84
85
86
87
88
89
body {
margin: 0;
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', Arial, sans-serif;
background-color: #232323;
height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-weight: bold;
color: white;
text-align: center;
}
main {
width: 80%;
height: 80%;
max-width: 1200px;
background-image: url("images/table.png");
background-size: cover;
}
.top {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1em 1.5em;
}
.start {
width: 175px;
height: 2em;
}
h1 {
color: goldenrod;
}
#message-el {
visibility: hidden;
font-style: italic;
}
button {
color: #016f32;
width: 150px;
background: goldenrod;
padding-top: 5px;
padding-bottom: 5px;
font-weight: bold;
border: none;
border-radius: 2px;
margin-bottom: 2px;
margin-top: 2px;
}
#cards-el {
display: flex;
justify-content: center;
flex-wrap: wrap;
}
.placeholder {
border: 1px solid black;
border-radius: 5px;
height: 120px;
width: calc(120px * 5 / 7);
margin: 10px;
}
.buttons {
display: flex;
flex-direction: column;
align-items: center;
}
.card {
width: 100%;
height: 100%;
}
button:disabled {
background-color: #84a16c;
}
.restart {
border: greenyellow;
}