-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgameindex.html
89 lines (88 loc) · 1.9 KB
/
gameindex.html
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
* {box-sizing: border-box; margin: 0; padding: 0;}
html {width: 100%; min-height: 100vh;}
body {
width: 100%; min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.game_panel {
border: 1px solid black;
padding: 4px;
border-radius: 8px;
width: 90%;
height: 50vh;
display: grid;
grid-template: 1fr 1fr / 10fr 1fr;
align-items: center;
justify-items: center;
gap: 4px;
background-color: rgba(100, 148, 237, 0.377);
}
.txt_panel {
width: 100%;
height: 100%;
padding: 4px;
border-radius: 4px;
background-color: black;
color: azure;
display: flex;
align-items: center;
justify-content: center;
font-size: 3rem;
font-family: sans-serif;
text-transform: uppercase;
}
.chanses_panel {
background-color: black;
color: azure;
width: 100%;
height: 100%;
border-radius: 4px;
display: grid;
place-content: center;
font-family: sans-serif;
font-size: 4rem;
}
.button_holder {
grid-column: 1 / 3;
width: 100%;
height: 100%;
border-radius: 4px;
background-color: black;
color: azure;
padding: 4px;
display: grid;
grid-template: 1fr 1fr / 1fr 1fr 1fr 1fr 1fr;
align-items: center;
justify-content: space-evenly;
gap: 4px;
}
.num_selector_button {
background-color: cadetblue;
width: 100%;
height: 100%;
border-radius: 2px;
display: flex;
align-items: center;
justify-content: center;
font-size: 3rem;
font-family: sans-serif;
text-transform: uppercase;
transition: 100ms;
cursor: grab;
}
.num_selector_button:is(:hover, :focus) {
background-color: chartreuse;
border-radius: 12px;
height: 96%;
}
.num_selector_button:active {
height: 92%;
background-color: rgba(81, 161, 0, 0.582);
}
@media screen and (min-width: 500px) {
.button_holder {
display: flex;
}
}