-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
106 lines (92 loc) · 1.7 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
body {
background: #B3DEE2 url('./img/watercolor.png');
font-family: Arial, Helvetica, sans-serif;
}
#players-block {
display: flex;
justify-content: center;
}
figure {
text-align: center;
}
figcaption {
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
}
#players-block figure img {
max-width: 50px;
}
#game-grid {
background-color: #E27396;
display: grid;
grid-template-rows: repeat(6,1fr);
grid-template-columns: repeat(6, 1fr);
grid-gap: 0.5rem;
height:60vh;
width: 60vw;
margin: 0 auto;
border-radius: 10px;
padding: 5px;
}
@media (max-width: 600px){
#game-grid {
width: 80vw;
height: auto;
}
}
.block {
background: #EFCFE3;
border-radius: 5px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
}
header h1 {
text-align: center;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
color: purple;
}
.player {
background: pink;
margin: 10px 10px;
text-align: center;
padding: 0px 0px 10px 0px;
border-radius: 50%;
}
footer {
text-align: center;
margin-top: 20px;
}
.block{
position: relative;
}
.block img {
width: auto;
max-width: 50px;
}
.overlay {
position: absolute;
top: 0px;
bottom: 0px;
left: 0px;
right: 0px;
width: 100%;
height: 100%;
/*transition: .5s ease;*/
background-color: blue;
background-image: url("./img/qmark.png");
background-repeat:no-repeat;
background-position: center;
border-radius: 5px;
}
#commentary {
width: 50vw;
min-width: 300px;
background: pink;
text-align: center;
margin: 0px auto 20px auto;
min-height: 80px;
padding-top: 10px;
border-radius: 5px
}