-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
120 lines (106 loc) · 2.07 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: #f9f7de;
background-image: linear-gradient(to right bottom, #526c2d, #1f5c3e, #004845, #0f333c, #191f25);
background-attachment: fixed;
font-family: 'Quicksand', sans-serif;
display: flex;
text-align: center;
justify-content: center;
align-items: center;
min-height: 100vh;
color: white;
}
h1 {
text-align: center;
font-size: 2.5rem;
margin: 1rem;
}
.game {
display: flex;
flex-wrap: wrap;
margin: 0 auto;
justify-content: space-between;
padding: 1rem 0;
}
.circle {
background-color: #191f25;
width: 120px;
height: 120px;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
margin: 1rem;
pointer-events: none;
}
.circle.active {
background-color: #325553;
background-image: url('assets/flag.svg');
background-size: cover;
}
button {
font-family: inherit;
color: inherit;
font-size: 1.5rem;
padding: 0.5rem 1.5rem;
margin: 1rem;
border: none;
border-radius: 5px;
background-color: #191f25;
cursor: pointer;
box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}
.hidden {
display: none;
}
/* overlay modal */
.overlay {
background-color: rgba(51, 51, 51, 0.8);
position:fixed;
top:0;
left:0;
z-index: 1000;
height: 100%;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
visibility: hidden;
}
.modal {
background-color: #004845;
color:white;
min-height: 30vh;
min-width: 20vw;
padding: 2rem;
border-radius: 15px;
position: relative;
}
.modal p {
margin: 1rem 0 0;
padding: 1rem 0;
font-size: 1.5rem;
}
.modal button {
position: absolute;
top: 0;
right: 0;
margin: 0;
box-shadow: none;
}
/* mobile support */
@media (max-width:600px) {
.game {
justify-content: center;
align-items: center;
}
.modal {
height: 40vh;
width: 80vw;
}
}