-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstylesheet.css
More file actions
118 lines (104 loc) · 2.1 KB
/
stylesheet.css
File metadata and controls
118 lines (104 loc) · 2.1 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
113
114
115
116
117
118
body {
margin: 0;
padding: 0;
font-family: "Audiowide", sans-serif;
}
.headline {
display: flex;
align-items: center;
justify-content: center;
min-height: 15vh;
}
.playZone {
display: flex;
flex-wrap: wrap;
gap: 10px;
align-items: center;
justify-content: center;
min-height: 50vh;
}
.results {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
}
.players {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
min-height: 20vh;
gap: 40px;
align-items: center;
justify-content: center;
}
.player {
display: flex;
flex-wrap: wrap;
flex-direction: column;
justify-content: center;
align-items: center;
border-radius: 10px;
min-height: 15vh;
min-width: 15vh;
font-weight: 900;
}
.button {
display: flex;
flex-wrap: wrap;
border: 4px solid black;
border-radius: 10px;
min-height: 40vh;
min-width: 40vh;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
background-attachment: center;
}
.button:hover{
border: 4px solid red;
cursor: pointer;
}
#rock {
background-image: url(../rock-paper-scissors/images/rock.png);
}
#paper {
background-image: url(../rock-paper-scissors/images/paper.png);
}
#scissors {
background-image: url(../rock-paper-scissors/images/scissors.png);
}
#modal-bg-display {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100vh;
background-color:rgba(0,0,0,0.5);
display: flex;
justify-content: center;
align-items: center;
transition: visibility 0s opactity 0,5s;
}
.modal {
background-color: white;
height: 50%;
width: 50%;
display: flex;
justify-content: space-around;
align-items: center;
flex-direction: column;
border-radius: 10px;
}
.play-again {
background-color: black;
color: white;
border-radius: 10px;
font-family: "Audiowide", sans-serif;
font-size: large;
}
.play-again:hover {
transform: scale(1.2);
cursor: pointer;
}