-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
76 lines (60 loc) · 1.16 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
* {
margin: 0;
padding: 0;
}
html{
font-family: 'Orbitron', sans-serif;
font-size: 100%;
font-weight: 600;
}
body {
min-width: 100vh;
}
.flex-container {
height: 100%;
display: flex;
justify-content: center;
align-items: center;
font-size: 1.5em;
}
.grid-container {
display: grid;
grid-template-columns: repeat(3, 250px);
grid-auto-rows: minmax(250px, auto);
}
.box {
display: flex;
justify-content: center;
align-items: center;
gap: 5%
}
.player__score, .game__round, .computer__score {
gap: 5%
}
.player__choice, .computer__choice {
flex-direction: column;
}
.rock__button, .paper__button, .scissors__button {
height: 95%;
width: 95%;
padding: 0;
border: 1px solid black;
border-radius: 300px;
box-shadow: 10px 5px;
}
.rock__button:hover, .paper__button:hover, .scissors__button:hover {
color: lightgray;
}
.game__result-text {
font-size: 2rem;
font-weight: 900;
}
.rock__button {
background-image: url("img/rock.svg");
}
.paper__button {
background-image: url("img/paper.svg");
}
.scissors__button {
background-image: url("img/scissors.svg");
}