-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
111 lines (95 loc) · 1.99 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
@import url('https://fonts.googleapis.com/css2?family=Playwrite+DE+Grund:[email protected]&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Baloo+Bhai+2:[email protected]&display=swap');
* {
padding: 0;
margin: 0;
}
nav ul {
list-style-type: none;
}
nav {
background-color: rgb(79, 3, 79);
color: white;
height: 65px;
font-size: 27px;
display: flex;
align-content: center;
padding: 0 12px;
font-family: "Playwrite DE Grund", cursive;
font-weight: bold;
}
.gameCont {
display: flex;
justify-content: center;
margin-top: 50px;
}
.cont {
display: grid;
grid-template-rows: repeat(3, 10vw);
grid-template-columns: repeat(3, 10vw);
font-family: "Playwrite DE Grund", cursive;
}
.box {
border: 2px solid black;
font-size: 8vw;
cursor: pointer;
display: flex;
justify-content: center;
align-items: center;
}
.box:hover {
background-color: rgb(211, 215, 215);
}
.gameInfo {
padding: 0 34px;
font-family: "Baloo Bhai 2", sans-serif;
font-size: 1.2rem;
}
.gameInfo h1 {
font-size: 2.5rem;
}
.imgBox img{
width: 0;
opacity: 0;
transition: width 1s ease-in-out, opacity 1s ease-in-out;
}
.bt-0 {
border-top: 0;
}
.bl-0 {
border-left: 0;
}
.br-0 {
border-right: 0;
}
.bb-0 {
border-bottom: 0;
}
#reset {
margin: 6px 20px;
padding: 4px 14px;
background-color: aliceblue;
border-radius: 6px;
cursor: pointer;
font-family: 'Playwrite DE Grund';
font-weight: 600;
}
@media screen and (max-width: 970px){
.gameCont{
flex-wrap: wrap;
}
.boxText {
font-weight: 600;
}
.gameInfo {
margin-top: 34px;
text-align: center;
}
.gameInfo h1 {
font-size: 1.5rem;
}
.cont {
grid-template-columns: repeat(3, 20vw);
grid-template-rows: repeat(3, 20vw);
}
}