forked from SchoolOfCode/bootcamp-18-week-2-hackathon-rock-paper-scissors-hackathon_rock-paper-scissors
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
63 lines (54 loc) · 1.1 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
body {
margin: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #f0f0f0;
flex-direction: column;
}
.start-menu, .game-mode-menu, .post-game-menu {
text-align: center;
}
.game-container {
text-align: center;
}
.user-name-display {
font-size: 24px;
margin-bottom: 20px;
}
.result-display {
font-size: 20px;
margin-bottom: 10px;
color: red;
}
.row {
display: flex;
align-items: center;
justify-content: center;
gap: 20px; /* Adjust the spacing between the elements */
}
.box {
width: 150px; /* Adjust size for player and NPC images */
height: 150px;
background-color: lightgray;
display: flex;
justify-content: center;
align-items: center;
border: 2px solid #000;
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}
.vs img {
width: 75px; /* Half the size of the player/NPC boxes */
height: 75px;
object-fit: cover;
}
.choices {
margin-top: 20px;
}
.choice-button {
margin: 0 10px;
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
}