-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
158 lines (149 loc) · 2.73 KB
/
style.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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
* {
box-sizing: border-box;
margin: 0px;
padding: 0px;
}
body {
background-color: #faeee7;
display: flex;
justify-content: center;
align-items: center;
}
/**/
.container {
height: 90vh;
width: 90vh;
display: flex;
justify-content: center;
align-items: center;
}
.wrap {
display: flex;
flex-direction: column;
align-items: center;
}
h1 {
margin: 30px 0px;
font-size: 45px;
text-align: center;
}
main {
width: 350px;
padding: 5px;
background-color: #21325e;
box-shadow: inset 5px 5px 12px #355197, 5px 5px 12px rgb(0, 0, 0, 0.16);
border-radius: 20px;
}
/**/
.topbar {
display: flex;
justify-content: space-between;
padding: 5px;
}
.control {
display: flex;
justify-content: center;
align-items: center;
}
.control div {
margin: 0px 5px;
}
.control .reset img {
width: 30px;
}
.control .reset button {
background: transparent;
border: none;
color: white;
}
.score {
display: flex;
justify-content: center;
align-items: center;
background-color: #efefef;
box-shadow: inset 2px 3px 11px rgb(0, 0, 0, 0.16), 5px 5px 12px #355197;
border-radius: 10px;
padding: 0px 5px;
}
.score .scorecomputer,
.score .scoreuser {
display: flex;
}
.score p {
margin: 0px 5px;
}
/**/
.userChoice {
display: flex;
justify-content: space-around;
box-shadow: inset 5px 5px 12px #f38458, 5px 5px 12px rgb(0, 0, 0, 0.16);
background-color: #ee4f11; /*orange*/
border-radius: 20px;
padding: 10px;
margin: 30px 5px 5px;
}
.userChoice div {
border-radius: 50%;
width: 80px;
height: 80px;
display: flex;
justify-content: center;
align-items: center;
background-color: #efefef; /*hijau*/
box-shadow: inset 2px 3px 11px rgb(0, 0, 0, 0.16), 5px 5px 12px #f38458;
overflow: hidden;
}
.userChoice button {
background: transparent;
border: none;
cursor: pointer;
}
.userChoice div img {
width: 60px;
height: 60px;
}
.userChoice div img:hover {
transform: scale(0.98);
transition: 0.2s;
}
/**/
.computerChoice {
display: flex;
justify-content: center;
align-items: center;
}
.computer {
display: flex;
justify-content: center;
align-items: center;
width: 100px;
height: 100px;
margin-top: 25px;
margin-bottom: 10px;
border-radius: 50%;
background-color: #efefef;
box-shadow: inset 2px 3px 11px rgb(0, 0, 0, 0.16), 5px 5px 12px #355197;
}
.computer img {
width: 85px;
margin: 15px 0px;
}
/**/
.info {
margin: 15px;
display: flex;
justify-content: center;
align-items: center;
}
.info .desc {
display: flex;
justify-content: center;
align-items: center;
width: 120px;
height: 40px;
border-radius: 10px;
background-color: #efefef;
box-shadow: inset 2px 3px 11px rgb(0, 0, 0, 0.16), 5px 5px 12px #355197;
font-size: 22px;
font-weight: bold;
}