-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
123 lines (102 loc) · 1.87 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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
.container{
min-height: 100vh;
width: 100vw;
display: flex;
justify-content: center;
align-items: center;
background-color: rgb(151,62,224);
}
.main{
display: flex;
flex-direction: column;
align-content: center;
width: 50vw;
justify-content: center;
text-align: center;
margin: 20px auto;
}
.main h1{
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
font-size: 4vmax;
color: white;
}
.main h2{
display: inline-block;
font-size: 1.3vmax;
font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
background: rgb(255,181,251);
padding: 12px 5px;
margin: 6px;
border-radius: 15px;
}
button{
margin: 6px;
width: 12rem;
font-size: 1.2vmax;
font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
padding: 12px 5px;
border-radius: 15px;
border: none;
background-color: rgb(151,62,224);
color: white;
box-shadow: 1px 3px 5px white;
}
button:hover{
cursor: pointer;
background-color: rgb(157, 72, 247);
transition: 0.3s ease-in;
}
#pauseGame{
display: none;
}
.grid{
display: flex;
flex-wrap: wrap;
width: 50vw;
justify-content: center;
align-items: center;
}
.square{
width:12vmax ;
height:10vmax;
border-radius: 1.2rem;
border: 1px solid pink;
margin: 10px;
box-shadow: 1px 2px 3px white;
}
.mole{
background:url('./Assets/mole.png') ;
background-size: cover;
}
@media screen and (max-width:600px){
.container{
display: flex;
flex-direction: column;
}
.main{
width: 100vw;
height: 30vh;
}
.main h1{
font-size: 6vmax;
}
.main h2{
font-size: 2vmax;
}
button{
font-size: 2vmax;
}
.grid{
display: grid;
grid-template-columns: repeat(3, 1fr);
}
.square{
width: 13vmax;
height: 12vmax;
}
}