-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
109 lines (97 loc) · 1.9 KB
/
styles.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
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
body {
background: blue;
margin: 0;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.container {
position: relative;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
.game-image {
position: absolute;
width: 100%;
height: 100%;
object-fit: cover;
z-index: 0;
}
#game {
position: relative;
background-color: rgba(211, 211, 211, 0.8); /* Light gray with some transparency */
max-width: 90%;
width: 500px;
max-height: 80%;
padding: 10px;
border-radius: 1px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
z-index: 1;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
#stats {
border: 1px solid black;
padding: 5px;
margin-bottom: 10px;
width: 100%;
}
#button {
border: 1px solid black;
padding: 20px;
margin-bottom: 10px;
width: 94%;
display: flex;
flex-wrap: wrap;
justify-content: center;
}
#text {
border: 1px solid black;
padding: 20px;
background-color: black;
color: white;
margin-bottom: 10px;
width: 94%;
}
#button1, #button2, #button3 {
padding: 10px;
cursor: pointer;
margin: 5px;
flex: 1;
max-width: calc(33% - 10px); /* Ensure space between buttons */
box-sizing: border-box;
}
#monsterStats {
display: none;
border: 1px solid black;
padding: 5px;
background-color: red;
color: white;
width: 100%;
}
@media (max-width: 768px) {
#game {
max-width: 95%;
max-height: 90%;
}
#button1, #button2, #button3 {
width: 100%;
max-width: none;
margin-bottom: 5px;
}
}
@media (max-width: 480px) {
#stats, #button, #text {
padding: 10px;
}
#button1, #button2, #button3 {
padding: 8px;
font-size: 14px;
}
}