-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
112 lines (104 loc) · 1.81 KB
/
Copy pathstyles.css
File metadata and controls
112 lines (104 loc) · 1.81 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
body {
background-color: #ccc;
width: 600px;
margin: auto;
text-align: center;
}
* {
box-sizing: border-box;
margin: 0px;
padding: 0px;
}
.selections {
display: flex;
justify-content: space-between;
height: 30vh;
}
.selection {
background: none;
border: none;
/* outline: none; */
cursor: pointer;
/* font-size: 5rem;
transition: 100ms; */
}
.selection:hover {
transform: scale(1.2);
}
.results {
display: grid;
justify-content: center;
grid-template-columns: repeat(2, 1fr);
justify-items: center;
align-items: center;
margin: 1rem;
max-height: 50vh;
overflow-y: auto;
}
.result-score {
margin-left: 0.1rem;
font-size: 2rem;
color: #333;
}
.result-selection {
opacity: 0.5;
font-size: 2rem;
}
.result-selection.winner {
opacity: 1;
font-size: 3rem;
}
.hand {
height: 150px;
width: 150px;
border: 1px solid black;
margin: 10px;
}
.modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
padding-top: 30vh; /* Location of the box */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
border-radius: 8px;
background-color: rgb(0, 0, 0); /* Fallback color */
background-color: rgba(0, 0, 0, 0.6); /* Black w/ opacity */
}
.modal-content {
display: flex;
flex-direction: column;
background-color: #fefefe;
margin: auto;
padding: 10px;
border: 1px solid #888;
width: 50%;
height: 50%;
}
.header {
background-color: #333;
color: white;
height: 30%;
display: flex;
justify-content: center;
align-items: center;
}
.content {
height: 30%;
text-align: center;
margin: auto;
}
.content h3 {
font-size: x-large;
font-weight: 700;
}
.footer button {
margin: 10px;
padding: 5px;
}
#chances {
font-size: large;
font-weight: 300;
}