-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
152 lines (130 loc) · 2.57 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
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@600&display=swap');
* {
font-family: 'Rajdhani', sans-serif;
margin: 0;
padding: 0;
text-align: center;
}
body {
background-color: #325928;
width: 100%;
height: 100%;
font-size: 20px;
}
p {
font-size: 1.4em;
}
h1 {
font-size: 2.5em;
padding: 10px;
}
button {
background-color: #4CAF50;
border: 2px solid #444EAD;
border-radius: 2px;
color: gainsboro;
padding: 6px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 1em;
margin: 4px 4px;
}
#game-wrapper {
display: flex;
flex-direction: row;
justify-content: space-around;
align-items: center;
margin: 20px auto;
max-width: 860px;
flex-wrap: wrap;
}
#page-wrapper > p {
margin-bottom: 10px;
}
.player-container {
display: flex;
flex-direction: column;
justify-content: center;
border: 4px solid purple;
background-color: #4c92ae;
border-radius: 6px;
padding: 10px;
font-size: 1.8rem;
min-width: 300px;
margin: inherit;
}
.user-container {
display: flex;
flex-direction: column;
}
/* bug - need to fix score and score num 'moving' */
.score {
display: flex;
flex-direction: row;
justify-content: space-around;
align-items: center;
margin-bottom: 10px;
border-bottom: 4px dotted darkviolet;
}
.round {
display: flex;
flex-direction: row;
gap: 2rem;
font-size: 2em;
justify-content: center;
align-items: center;
}
.round p {
font-size: 1.2em;
}
.user-container h2 {
font-size: 1.9em;
border-bottom: 4px dotted darkviolet;
}
.result-content {
margin: 20px auto;
}
.result {
word-wrap: break-word;
color: aqua;
font-size: 1.8em;
margin: auto;
}
.refresh {
cursor: pointer;
margin: 0 auto;
padding: 16px 16px;
font-size: 1.8em;
}
.userHover {
box-shadow: 0px 2px 6px 2px #FFFF00;
cursor: pointer;
}
.userClick {
box-shadow: 0px 2px 6px 2px #FFFF00;
transition: all 1s ease-in-out;
transform: scale(1.1);
}
.computerPick {
box-shadow: 0px 2px 6px 2px #FFFF00;
transition: all 1s ease-in-out;
transform: scale(1.1);
}
@media only screen and (min-width: 450px) {
#game-wrapper {
margin: 10px auto;
max-width: 400px;
}
/* #page-wrapper > * {
font-size: 1rem;
} */
}
@media only screen and (min-width: 600px) {
#game-wrapper {
display: flex;
flex-direction: row;
max-width: 800px;
flex-wrap: wrap;
}
}