-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
145 lines (117 loc) · 2.76 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
@import url("https://fonts.googleapis.com/css?family=Lato&display=swap");
html {
box-sizing: border-box;
}
body {
margin: 0;
min-height: 100vh;
font-family: Lato, sans-serif;
display: flex;
justify-content: center;
align-items: center;
background-color: #f3f3f3;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='152' height='152' viewBox='0 0 152 152'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='temple' fill='%232283e1' fill-opacity='0.74'%3E%3Cpath d='M152 150v2H0v-2h28v-8H8v-20H0v-2h8V80h42v20h20v42H30v8h90v-8H80v-42h20V80h42v40h8V30h-8v40h-42V50H80V8h40V0h2v8h20v20h8V0h2v150zm-2 0v-28h-8v20h-20v8h28zM82 30v18h18V30H82zm20 18h20v20h18V30h-20V10H82v18h20v20zm0 2v18h18V50h-18zm20-22h18V10h-18v18zm-54 92v-18H50v18h18zm-20-18H28V82H10v38h20v20h38v-18H48v-20zm0-2V82H30v18h18zm-20 22H10v18h18v-18zm54 0v18h38v-20h20V82h-18v20h-20v20H82zm18-20H82v18h18v-18zm2-2h18V82h-18v18zm20 40v-18h18v18h-18zM30 0h-2v8H8v20H0v2h8v40h42V50h20V8H30V0zm20 48h18V30H50v18zm18-20H48v20H28v20H10V30h20V10h38v18zM30 50h18v18H30V50zm-2-40H10v18h18V10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.game-container {
width: 530px;
height: 600px;
background: white;
border-radius: 5px;
box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.5);
}
.header {
background: #1e90ff;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
height: 100px;
display: flex;
justify-content: center;
align-items: center;
}
h1 {
color: white;
font-size: 30px;
}
.player-container {
margin: 50px;
}
h2 {
margin-bottom: 20px;
}
.far {
font-size: 50px;
margin-right: 40px;
User-select: none;
}
#player .far,
#player .choice {
color: dodgerblue;
cursor: pointer;
}
#computer .far,
#computer .choice {
color: rgb(199, 8, 8);
}
.selected {
color: black !important;
}
#player .far:last-of-type,
#computer .far:last-of-type {
margin-right: 0;
}
.reset-icon {
font-size: 30px;
cursor: pointer;
margin-left: 50px;
}
.result-container {
display: flex;
justify-content: center;
align-items: center;
}
.result-text {
font-size: 40px;
margin: unset;
margin-top: 20px;
}
/* Media Query: Large Smartphone (Vertical) */
@media screen and (max-width: 600px) {
.game-container {
width: 95%;
height: 580px;
}
h1 {
font-size: 24px;
}
.player-container {
margin: 50px 0 25px 25px;
}
.far {
margin-right: 20px;
}
.reset-icon {
margin-top: 25px;
margin-left: 25px;
}
}
/* Media Query: iPhone (Vertical) */
@media screen and (max-width: 376px) {
.game-container {
height: 550px;
}
h1 {
font-size: 22px;
}
.player-container {
margin: 43px 0 25px 20px;
}
.far {
font-size: 43px;
}
.reset-icon {
margin-top: 15px;
}
.result-container {
margin: 0 20px;
}
}