-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
98 lines (84 loc) · 1.44 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
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
align-items: center;
background: slategrey;
display: flex;
font-family: 'Ubuntu', sans-serif;
justify-content: center;
min-height: 100vh;
}
.game-container {
background: white;
border-radius: 12px;
box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
height: 450px;
width: 500px;
}
header {
align-items: center;
background: coral;
border-top-left-radius: 12px;
border-top-right-radius: 12px;
display: flex;
height: 80px;
justify-content: center;
}
h1 {
color: whitesmoke;
}
.player-container,
.computer-container {
display: grid;
gap: 0px;
grid-template-columns: 1fr 1fr 1fr;
grid-template-rows: 1fr 1fr;
margin-top: 40px;
text-align: center;
}
h2 {
grid-column-end: 4;
grid-column-start: 1;
grid-row-end: 2;
grid-row-start: 1;
margin-bottom: 20px;
}
.fa-hand-rock {
grid-column-end: 2;
grid-column-start: 1;
grid-row-end: 3;
grid-row-start: 2;
}
.fa-hand-paper {
grid-column-end: 3;
grid-column-start: 2;
grid-row-end: 3;
grid-row-start: 2;
}
.fa-hand-scissors {
grid-column-end: 4;
grid-column-start: 3;
grid-row-end: 3;
grid-row-start: 2;
}
.far {
font-size: 3rem;
}
.player-container .far {
color: indianred;
cursor: pointer;
}
.computer-container .far {
color: lightseagreen;
}
.selected {
color: slategray !important;
}
.result-container {
display: flex;
justify-content: center;
margin-top: 40px;
}